What it returns
Official statistics from Eurostat, the statistical office of the European Union, as clean rows: one row per country, indicator and period, with the change from the previous period and from a year earlier.
`flag` carries Eurostat's status code where set (p = provisional, e = estimated, b = break in series).
Request
POST https://api.pushbuild.com/eurostat-indicators/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
indicators | list of strings | Ready-made headline series: gdp, gdpGrowth, gdpGrowthYoY, inflation, inflationMoM, unemployment, youthUnemployment, govDebt, govDeficit, industrialProduction, retailTrade, housePrices, economicSentiment, population. Default: gdpGrowth, inflation, unemployment (when no dataset is given). |
countries | list of strings | Eurostat geo codes: two-letter country codes (EL = Greece), EU27_2020 for the EU, EA for the euro area (resolved to EA21 or EA20, whichever the dataset publishes). Default: EU, euro area and the 10 largest EU economies. |
allCountries | boolean | Return every country and aggregate Eurostat publishes for the series, ignoring Countries. Default: false. |
lastPeriods | integer | Number of most recent periods (months, quarters or years) per series. Default 13. Default: 13. |
sinceTimePeriod | string | Instead of Last periods: everything from this period on, e.g. 2020-01, 2019-Q1 or 2015. |
dataset | string | Any Eurostat dataset code, e.g. nama_10_gdp or ei_lmhr_m. Combine with Filters to pick dimension values. |
filters | string | Dimension filters for the dataset code, e.g. {"unit": "CP_MEUR", "na_item": ["B1GQ", "P3"]}. Without them every value of every dimension is returned. |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/eurostat-indicators/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"indicators": ["gdpGrowth", "inflation", "unemployment"], "countries": ["EU27_2020", "DE", "FR", "IT", "ES"], "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.
Related APIs
Bank of England API: Bank Rate, SONIA, Gilts & Mortgages API
Bank of England statistics from its official database: Bank Rate, SONIA, gilt yields, implied inflation, mortgage rates and approvals, M4 money, lending and sterling FX.
BLS Data API: Any Bureau of Labor Statistics Series API
Any US Bureau of Labor Statistics time series by id (CPI, payrolls by industry, unemployment, wages, PPI, JOLTS, import prices) plus state unemployment and labor force from plain state codes, with month-over-month and year-over-year changes..
Cboe Put/Call Ratios & VIX Futures Term Structure API
Daily Cboe options statistics: total, equity, index, SPX and VIX put/call ratios with call and put volume and open interest by product, plus the VIX futures curve with settlements, open interest and contango versus spot VIX..
CFPB Consumer Complaints: Banks, Lenders, Fintech API
Search 18 million+ official CFPB consumer complaints against banks, lenders, card issuers, debt collectors, credit bureaus and fintechs.
CFTC Commitments of Traders (COT) Reports API
Weekly CFTC Commitments of Traders positioning for every futures market: legacy, disaggregated (managed money, producers, swap dealers) and financial (leveraged funds, asset managers).
ClinicalTrials.gov API
Search 500,000+ clinical studies from ClinicalTrials.gov by condition, drug, sponsor, location, phase and status.
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