OECD time series for a specific country and indicator
Fetch OECD time series for a country and indicator.
country is an ISO 3-letter code (e.g. USA, DEU, GBR). indicator is a key from the OECD catalog (e.g. gdp_growth, cpi, unemployment).
Path parameters
Country code (ISO 3166-1 alpha-2/alpha-3) or slug.
Country code (ISO 3166-1 alpha-2/alpha-3) or slug.
Indicator code (e.g. NY.GDP.MKTP.CD for GDP).
Indicator code (e.g. NY.GDP.MKTP.CD for GDP).
Query parameters
Return last N observations per series (caps the count, most-recent first, even inside an explicit start/end window).
Return last N observations per series (caps the count, most-recent first, even inside an explicit start/end window).
SDMX startPeriod (inclusive). Use YYYY (safe for any frequency), or match the indicator's granularity: YYYY-MM for monthly, YYYY-Qn for quarterly. Overrides the last_n-derived window.
SDMX startPeriod (inclusive). Use YYYY (safe for any frequency), or match the indicator's granularity: YYYY-MM for monthly, YYYY-Qn for quarterly. Overrides the last_n-derived window.
SDMX endPeriod (inclusive upper bound), same format as start. Independent of start.
SDMX endPeriod (inclusive upper bound), same format as start. Independent of start.
Response
OECD time series for the country and indicator pair with period and value.
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
Changed in 3 of the 22 revisions of this API.23
- ○
added the optional property
meta/data_age_daysto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/notesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/periodto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
data/countto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/countryto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/datato the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/descriptionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/frequencyto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/indicatorto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/sourceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/unitto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
codeto the response with the401statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the429statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the503statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the401statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the429statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the503statusresponse-optional-property-added
- ○
added the optional property
planto the response with the401statusresponse-optional-property-added
- ○
added the optional property
planto the response with the429statusresponse-optional-property-added
- ○
added the optional property
planto the response with the503statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the401statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the503statusresponse-optional-property-added
- ○