Statistics of the World Series API

The Series API from Statistics of the World — 2 operation(s) for series.

GitHub OpenAPI

Operations 2

GET /api/v1/series List high-frequency series (daily/monthly rates, yields, labour, energy) with… #
GET /api/v1/series/{id} Observations for one high-frequency series #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/statisticsoftheworld-com:statisticsoftheworld-com-series-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

statisticsoftheworld-com-series-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Statistics of the World Series 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: Series
paths:
  /api/v1/series:
    get:
      operationId: listSeries
      summary: List high-frequency series (daily/monthly rates, yields, labour, energy) with…
      responses:
        '200':
          description: Series catalog. Each entry carries frequency, unit, source, licence, and whether the series is licensed for paid-tier resale.
        '503':
          description: 'Catalog unavailable; Cache-Control: no-store. Failure is distinct from a successful empty catalog.'
      tags:
      - Series
  /api/v1/series/{id}:
    get:
      operationId: getSeries
      summary: Observations for one high-frequency series
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Series ID (e.g., UST.YC.10Y, NYFED.SOFR, OECD.IRLT.10Y, ILO.UNEMP.RT.M)
      - name: geo
        in: query
        required: false
        schema:
          type: string
        description: ISO3 country code (e.g., USA)
      - name: latest
        in: query
        required: false
        schema:
          type: string
          enum:
          - '1'
        description: Newest stored observation for every geography; periods can differ. Cannot be combined with geo, from, to, limit or as_of.
      - name: from
        in: query
        required: false
        schema:
          type: string
        description: Start date YYYY-MM-DD
      - name: to
        in: query
        required: false
        schema:
          type: string
        description: End date YYYY-MM-DD
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
        description: 'Max observations, newest first (default 5000, maximum 20000; larger values are clamped). The response reports the applied `limit` and `truncated: true` when more observations match the selection.'
      - name: as_of
        in: query
        required: false
        schema:
          type: string
        description: 'YYYY-MM-DD (UTC midnight) or ISO timestamp with an explicit timezone, on or after 2026-07-18 UTC. Partial recorded-value rollback only: insertions, deletions, status-only changes and historical metadata are not reconstructed. vintage.complete is false.'
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - json
          - csv
        description: 'json (default) or csv: the same selection as a file, with the bulk export columns plus series_label, unit, source_name, source_url, attribution_text and exported_at. Files only for series cleared for resale; without limit a file asks for the maximum window (20000) and is refused rather than cut; not with as_of.'
      responses:
        '200':
          description: Observations with source attribution and licence (JSON), or the selection as text/csv
        '400':
          description: Incompatible latest parameters, invalid/pre-archive as_of cutoff, an invalid format, or as_of with format=csv
        '403':
          description: SOTW is not permitted to serve this series through the public API, or (format=csv) not cleared to serve it as a file
        '404':
          description: Series not found
        '409':
          description: 'format=csv: the selection is larger than its limit; no incomplete file is published'
        '503':
          description: 'Data unavailable; Cache-Control: no-store. No partial history is returned as success.'
      tags:
      - Series
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.