{"openapi":"3.1.0","info":{"title":"Estonia Statistics API","version":"1.0.0","description":"Official Estonian statistics from Statistics Estonia (Statistikaamet) as a clean, keyless JSON API. Get the latest Estonian consumer price index and inflation — the monthly index (base 1997 = 100) with the year-on-year change computed for you — pull any table in the Statistics Estonia PxWeb catalogue as a tidy time-series (economy, prices, population, social life, environment and more), inspect a table's variables and value codes, and browse the subject tree. A thin gateway over the Statistics Estonia PxWeb API: you supply a table code (e.g. IA02) with optional dimension selection, we return tidy period/value observations. Ideal for inflation trackers, Baltic and Eurozone macro research and economic dashboards.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/estonia-stats-api","description":"oanor gateway"}],"tags":[{"name":"Inflation"},{"name":"Data"},{"name":"Catalog"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/cpi":{"get":{"operationId":"get_v1_cpi","tags":["Inflation"],"summary":"Latest Estonian CPI and inflation","description":"","parameters":[{"name":"periods","in":"query","required":false,"description":"Number of recent months (1-120)","schema":{"type":"string"},"example":"12"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"base":"1997 = 100","table":"IA02","latest":{"year":2025,"month":12,"month_name":"December","index_value":315.36,"change_annual_pct":4.1},"series":[{"year":2025,"month":12,"month_name":"December","index_value":315.36,"change_annual_pct":4.1},{"year":2025,"month":11,"month_name":"November","index_value":317.26,"change_annual_pct":4.9},{"year":2025,"month":10,"month_name":"October","index_value":317.76,"change_annual_pct":4.6},{"year":2025,"month":9,"month_name":"September","index_value":317.8,"change_annual_pct":5.2},{"year":2025,"month":8,"month_name":"August","index_value":321.41,"change_annual_pct":6.1},{"year":2025,"month":7,"month_name":"July","index_value":318.12,"change_annual_pct":5.4},{"year":2025,"month":6,"month_name":"June","index_value":316.09,"change_annual_pct":5},{"year":2025,"month":5,"month_name":"May","index_value":313.37,"change_annual_pct":4.5},{"year":2025,"month":4,"month_name":"April","index_value":313.17,"change_annual_pct":4.5},{"year":2025,"month":3,"month_name":"March","index_value":310.02,"change_annual_pct":4.4},{"year":2025,"month":2,"month_name":"February","index_value":311.5,"change_annual_pct":5.3},{"year":2025,"month":1,"month_name":"January","index_value":307.2,"change_annual_pct":3.9}],"source":"Statistics Estonia","measure":"Consumer price index","commodity_group":"Total"},"meta":{"timestamp":"2026-06-15T20:41:20.463Z","request_id":"7954a3d9-f553-4d5b-87e4-eb1a9f452eb7"},"status":"ok","message":"CPI retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/series":{"get":{"operationId":"get_v1_series","tags":["Data"],"summary":"Any Statistics Estonia table as a time-series","description":"","parameters":[{"name":"table","in":"query","required":true,"description":"Table code","schema":{"type":"string"},"example":"IA02"},{"name":"select","in":"query","required":false,"description":"Dimension constraints \"Code:Value;Code:Value\"","schema":{"type":"string"},"example":"Kaubagrupp:1;Kuu:12"},{"name":"periods","in":"query","required":false,"description":"Recent periods (1-240)","schema":{"type":"string"},"example":"12"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":12,"table":"IA02","title":"IA02: CONSUMER PRICE INDEX, 1997 = 100 by Year, Commodity group and Month","series":[{"value":315.36,"period":"2025","period_label":"2025"},{"value":303.01,"period":"2024","period_label":"2024"},{"value":291.59,"period":"2023","period_label":"2023"},{"value":280.28,"period":"2022","period_label":"2022"},{"value":238.35,"period":"2021","period_label":"2021"},{"value":212.5,"period":"2020","period_label":"2020"},{"value":214.22,"period":"2019","period_label":"2019"},{"value":210.5,"period":"2018","period_label":"2018"},{"value":203.54,"period":"2017","period_label":"2017"},{"value":196.76,"period":"2016","period_label":"2016"},{"value":192.49,"period":"2015","period_label":"2015"},{"value":194.2,"period":"2014","period_label":"2014"}],"constrained":{"Kuu":{"pos":0,"code":"12","label":"December"},"Kaubagrupp":{"pos":0,"code":"1","label":"Total"}},"time_dimension":"Aasta"},"meta":{"timestamp":"2026-06-15T20:41:20.912Z","request_id":"00c73803-f720-4b37-8540-e78116ac7139"},"status":"ok","message":"Series retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/catalog":{"get":{"operationId":"get_v1_catalog","tags":["Catalog"],"summary":"Browse the subject tree","description":"","parameters":[{"name":"path","in":"query","required":false,"description":"Sub-path to list (omit for root)","schema":{"type":"string"},"example":"majandus"},{"name":"limit","in":"query","required":false,"description":"Max items (1-400)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"path":"majandus","count":19,"items":[{"id":"pellumajandus","text":"Agriculture","type":"folder"},{"id":"ehitus","text":"Construction","type":"folder"},{"id":"majandusuksused","text":"Economic units","type":"folder"},{"id":"energeetika","text":"Energy","type":"folder"},{"id":"rahandus","text":"Finance","type":"folder"},{"id":"ettevetete-majandusnaitajad","text":"Financial statistics of enterprises","type":"folder"},{"id":"kalandus","text":"Fishing","type":"folder"},{"id":"valiskaubandus","text":"Foreign trade","type":"folder"},{"id":"metsamajandus","text":"Forestry","type":"folder"},{"id":"toostus","text":"Industry","type":"folder"},{"id":"infotehnoloogia","text":"Information technology and communications","type":"folder"},{"id":"sisekaubandus","text":"Internal trade","type":"folder"},{"id":"rahvamajanduse-arvepidamine","text":"National accounts","type":"folder"},{"id":"hinnad","text":"Prices","type":"folder"},{"id":"teadus-tehnoloogia-innovatsioon","text":"Science. Technology. Innovation","type":"folder"},{"id":"teenindus","text":"Service activities","type":"folder"},{"id":"turism-ja-majutus","text":"Tourism, accommodation and catering","type":"folder"},{"id":"transport","text":"Transport","type":"folder"},{"id":"palk-ja-toojeukulu","text":"Wages and salaries and labour costs","type":"folder"}]},"meta":{"timestamp":"2026-06-15T20:41:21.222Z","request_id":"bad2beb2-d0f1-490c-a99f-07b8aa7dcc40"},"status":"ok","message":"Catalog retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/table":{"get":{"operationId":"get_v1_table","tags":["Catalog"],"summary":"Table metadata (variables and value codes)","description":"","parameters":[{"name":"table","in":"query","required":true,"description":"Table code","schema":{"type":"string"},"example":"IA02"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"table":"IA02","title":"IA02: CONSUMER PRICE INDEX, 1997 = 100 (1998–2025, MONTHS)","variables":[{"code":"Aasta","text":"Year","n_values":28,"sample_values":[{"code":"1998","text":"1998"},{"code":"1999","text":"1999"},{"code":"2000","text":"2000"},{"code":"2001","text":"2001"},{"code":"2002","text":"2002"},{"code":"2003","text":"2003"}]},{"code":"Kaubagrupp","text":"Commodity group","n_values":13,"sample_values":[{"code":"1","text":"Total"},{"code":"2","text":"Food and non-alcoholic beverages"},{"code":"3","text":"Alcohol and tobacco"},{"code":"4","text":"Clothing and footwear"},{"code":"5","text":"Housing"},{"code":"6","text":"Household goods"}]},{"code":"Kuu","text":"Month","n_values":12,"sample_values":[{"code":"1","text":"January"},{"code":"2","text":"February"},{"code":"3","text":"March"},{"code":"4","text":"April"},{"code":"5","text":"May"},{"code":"6","text":"June"}]}]},"meta":{"timestamp":"2026-06-15T20:41:21.345Z","request_id":"f7431310-0121-4fb1-beb5-ad76c5a0412a"},"status":"ok","message":"Table metadata retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"table takes a Statistics Estonia table code, e.g. IA02 (consumer prices).","source":"Statistics Estonia (Statistikaamet)","upstream":"https://andmed.stat.ee/api/v1/en/stat","cpi_table":"IA02","endpoints":["/v1/cpi","/v1/series","/v1/table","/v1/catalog","/v1/meta"],"description":"Keyless gateway over Statistics Estonia's PxWeb API. /v1/cpi gives the latest Estonian consumer price index (1997 = 100) with computed year-on-year inflation; /v1/series pulls any table as a clean time-series; /v1/table inspects a table's variables; /v1/catalog lists/searches the tables.","documentation":"https://estonia-stats-api.oanor.dev"},"meta":{"timestamp":"2026-06-15T20:41:21.415Z","request_id":"26f826a6-9238-42e5-b467-df96593be576"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":2500,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1130,"monthly_call_quota":48000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2840,"monthly_call_quota":193000,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":6490,"monthly_call_quota":818000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/estonia-stats-api"}