Global Economy & Trade

OECD time series for a specific country and indicator

Changed on

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}

Request

  • Base URL: https://sugra.ai
  • URL: https://sugra.ai/api/v1/oecd/{country}/{indicator}
  • Auth: API key in header x-api-key

Path parameters

countrystring required

ISO 3166-1 alpha-3 code of an OECD member (e.g. USA, DEU, GBR); alpha-2 codes and slugs are not accepted. List: /api/v1/oecd/catalog.

indicatorstring required

OECD catalog indicator key (e.g. gdp_growth, cpi, unemployment). List: /api/v1/oecd/catalog.

Query parameters

last_ninteger

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
endstring nullable

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

Example:2024

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"
    ],
    "stale_since": "2026-09-08T12:00:00Z",
    "period": "2026-Q1",
    "notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
  }
}

Changes