Global Economy & Trade

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).

get/api/v1/oecd/{country}/{indicator}

Path parameters

countrystring required

Country code (ISO 3166-1 alpha-2/alpha-3) or slug.

Country code (ISO 3166-1 alpha-2/alpha-3) or slug.

indicatorstring required

Indicator code (e.g. NY.GDP.MKTP.CD for GDP).

Indicator code (e.g. NY.GDP.MKTP.CD for GDP).

Query parameters

last_ninteger

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).

startstring nullable

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.

Example:2015

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.

endstring nullable

SDMX endPeriod (inclusive upper bound), same format as start. Independent of start.

Example:2024

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",
    "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"
    ]
  }
}