Skip to main content
GET
Vietnam CPI by component (NSO)

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

asOf
string<date>

Point-in-time date (YYYY-MM-DD): return only what was known by the end of that day (UTC), leaving out data and revisions published later. Omit for the latest data.

Example:

"2026-10-01"

Response

Quarterly CPI by component. The example shows 5 of the 19 components and the first and the last of the 47 quarters.

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

Vietnam CPI by component, one point per quarter.

meta
object

Response metadata for CPI by component. On top of timestamp, it says where the numbers came from, how they were produced, and how fresh the response is.