Pushbuild

OECD API: Leading Indicators, CPI, Unemployment, Rates & GDP

OECD statistics from the official Data Explorer API: composite leading indicators, business and consumer confidence, CPI inflation, unemployment, short and long-term interest rates and real GDP growth for 38 countries plus G7, G20 and euro area. Presets or any dataflow.

$0.16 per 1,000 observations

Get an API key

What it returns

Economic indicators for OECD member countries, partner economies and aggregates (G7, G20, OECD, euro area) from the OECD's official Data Explorer SDMX API, one row per country, series and period, with the change from the previous period.

| field | meaning |. |---|---|. | `preset`, `dataflow`, `country`, `countryName` | what was asked for and the reference area |. | `measure`, `unit`, `adjustment`, `transformation` | the OECD's labels for the series |. | `period`, `value`, `change` | observation and change from the previous period |. | `status`, `source` | OECD observation status and the API query |.

Request

POST https://api.pushbuild.com/oecd-economic-indicators/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
presetslist of stringsHeadline indicators. Default when nothing is chosen: composite leading indicator, CPI inflation and unemployment rate.
countrieslist of stringsISO 3-letter country codes or OECD aggregates such as G7, G20, OECD or EA20. Use ALL for every area the indicator covers. Default: the G7 countries.
lastNintegerMost recent observations per country and series. Ignored when startPeriod is set. Default: 12.
startPeriodstringFirst period to include, for example 2020, 2020-01 or 2020-Q1. Optional.
endPeriodstringLast period to include. Optional.
dataflowstringAdvanced: any OECD Data Explorer dataflow id, for example OECD.SDD.STES,DSD_STES@DF_CLI, (agency,id,version). Used with key.
keystringAdvanced: the SDMX key for the custom dataflow, for example USA.M.LI...AA...H. Write {countries} where the country codes go.
changesbooleanAdd the change from the previous period in the same series. Default: true.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/oecd-economic-indicators/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"presets": ["leading-indicator", "cpi-inflation", "unemployment-rate"], "countries": ["USA", "JPN", "DEU", "GBR", "FRA", "ITA", "CAN"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 observations. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.