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",
    "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_days to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/notes to the response with the 200 status

      response-optional-property-added

    • added the optional property meta/period to the response with the 200 status

      response-optional-property-added

    • added the optional property data/count to the response with the 200 status

      response-optional-property-added

    • added the optional property data/country to the response with the 200 status

      response-optional-property-added

    • added the optional property data/data to the response with the 200 status

      response-optional-property-added

    • added the optional property data/description to the response with the 200 status

      response-optional-property-added

    • added the optional property data/frequency to the response with the 200 status

      response-optional-property-added

    • added the optional property data/indicator to the response with the 200 status

      response-optional-property-added

    • added the optional property data/source to the response with the 200 status

      response-optional-property-added

    • added the optional property data/unit to the response with the 200 status

      response-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 code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 429 status

      response-optional-property-added

    • added the optional property code to the response with the 503 status

      response-optional-property-added

    • added the optional property hint to the response with the 401 status

      response-optional-property-added

    • added the optional property hint to the response with the 429 status

      response-optional-property-added

    • added the optional property hint to the response with the 503 status

      response-optional-property-added

    • added the optional property plan to the response with the 401 status

      response-optional-property-added

    • added the optional property plan to the response with the 429 status

      response-optional-property-added

    • added the optional property plan to the response with the 503 status

      response-optional-property-added

    • added the optional property reason to the response with the 401 status

      response-optional-property-added

    • added the optional property reason to the response with the 429 status

      response-optional-property-added

    • added the optional property reason to the response with the 503 status

      response-optional-property-added