Skip to main content
GET
Vietnam GDP by sector — available periods

Authorizations

X-API-Key
string
header
required

Your HayInsights API key (prefixed apk_). Create and manage keys in the HayInsights dashboard (Account → API keys).

Send it in the X-API-Key header on every request to /openapi/v1/*. Which data domains you may access and your request quota are both governed by the subscription plan attached to the key — see the Plans & features and Rate limits guides.

Query Parameters

type
enum<string>
default:quarter

Period type. Case-insensitive.

Quarterly and year-to-date data start in 2021, the first year NSO reported on its revised GDP scale; earlier quarterly reports used the old scale (about 27% lower) and are not comparable. annual covers 2010 onward on the revised scale.

Available options:
quarter,
ytd,
annual
Example:

"quarter"

Response

Periods with data, newest first.

Standard success envelope shared by every endpoint. Each operation's response wrapper extends this (via allOf) and adds a typed data property.

success
boolean
required

Always true for a successful response.

Example:

true

statusCode
integer
required

Mirrors the HTTP status code.

Example:

200

data
object
required

Periods that have data for type, newest first.

meta
object

Response metadata for Vietnam GDP by sector: where the numbers come from, their units, which fields HayInsights computes, and how fresh the response is.