Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Statistics of the World Open API
description: REST API for global statistics. Every tier retains the 335-indicator public read catalog for 218 countries. Paid keys add higher request limits; bulk redistribution remains limited to source-cleared datasets, including the 281-indicator reviewed World Bank bundle. See https://statisticsoftheworld.com/pricing.
version: 2.9.0
contact:
name: Statistics of the World
url: https://statisticsoftheworld.com
email: api@statisticsoftheworld.com
servers:
- url: https://statisticsoftheworld.com
description: Production
security:
- {}
- ApiKeyAuth: []
tags:
- name: Open
paths:
/api/v1/open/observations.csv:
get:
operationId: getOpenObservations
summary: Every reading of the high-frequency series whose source licences are open, as…
description: The bulk export columns, for the series on the open-licence allowlist only. The work of Statistics of the World on the file is released under CC BY 4.0, and each row keeps its source licence in the licence column. Described by /api/v1/open/datapackage.json; licence statement at https://statisticsoftheworld.com/open-data.
responses:
'200':
description: CSV stream. A read failure after streaming starts aborts the download rather than skipping a series.
content:
text/csv:
schema:
type: string
'429':
description: Request allowance exhausted
'503':
description: 'Catalog unavailable; Cache-Control: no-store'
tags:
- Open
/api/v1/open/datapackage.json:
get:
operationId: getOpenDataPackage
summary: 'Frictionless Data Package for the open file: columns, types, licences, sources…'
responses:
'200':
description: Tabular Data Package descriptor. The readings resource path is relative to this URL; the series list is inline.
'429':
description: Request allowance exhausted
'503':
description: 'Catalog unavailable; Cache-Control: no-store'
tags:
- Open
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: Optional. Without a key, requests are limited to 1,000/day per IP. A free key adds a usage dashboard. Paid keys increase throughput without removing public sources. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-RateLimit-Tier headers.