Statistics of the World Economic Data API

The Economic Data API from Statistics of the World — 1 operation(s) for economic data.

GitHub OpenAPI

Operations 1

GET /api/v1/economic-data Read qualified economic definitions, observations and source evidence #

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-economic-data-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-economic-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Statistics of the World Economic Data 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: Economic Data
paths:
  /api/v1/economic-data:
    get:
      operationId: getQualifiedEconomicData
      summary: Read qualified economic definitions, observations and source evidence
      description: GDP, inflation, employment, trade, production, energy and credit packs with original units and qualifiers. Select exact series with latest=1 (complete geography cohort) or geo (history). format=catalog is metadata-only; format=evidence requires immutable evidence ID. CSV/manifest preserve source fields and exact checksums; incomplete exports return 409. Native Canadian measures retain population scope, CPI 2002=100 and distinct GDP QoQ/annual-rate-level units; no currency identity or release UTC offset is inferred. Their series metadata includes source_terms_url and source_collection_clock; Canadian CSVs append licence_url and retain the prescribed adapted-product notice. IBGE Brazil has separate native seasonally adjusted QoQ and year-earlier-quarter GDP rates; original release times, finality and vintages are unknown. Its definition carries the reviewed statutory licence_url, narrow rights_scope and rights_legal_interpretation. IBGE CSVs append those three fields. Native Eurostat GDP QoQ SCA is nonannualized; industrial B-D YoY CA is not seasonally adjusted and retains the D353/E exclusion. These exact rates support reviewed country overlays with national-method and aggregate-composition caveats. EA changing composition, EA12/19/20/21 and EU27/28 stay distinct; historical aggregate endpoints remain older where applicable. Complete two-series publication coherence is required. Number tokens and observed precision, source flags and distinct sparse/null/restricted coordinates remain explicit; dataset update is not original release or exact availability. Their CSVs append rights_url, rights_scope and rights_legal_interpretation. Other providers retain their existing CSV columns. Native BLS uses ten complete same-generation US definitions. CPI and PPI stay index levels; payroll jobs, current-USD hourly earnings and last-business-day vacancies stay levels, while CPS unemployment and participation rates keep their distinct population denominators. Source footnotes, explicit missing tokens, original number precision and API retrieval dates are preserved. CPS uses the reference week containing the 12th; CES uses the pay period containing the 12th; exact observed reference dates remain unknown. Calendar month ends are coverage boundaries, not claimed survey dates. BLS CSVs append source identity/token/footnotes, original per-row API retrieval, reference concept/date, calendar boundary, rights/API terms and the mandatory BLS API disclaimer. Unsupported non-US history selections return 404. Current-history batches do not establish an atomic publisher snapshot or original release vintages. generation guards current publication coherence. recorded=1, as_of (timestamp with timezone, up to six fractional digits) or revision (positive bigint string) reconstruct complete SOTW recorded transactions from activation onward, using one statement snapshot of committed frames. Retain both returned asOf and revision for replay. Initial state is a baseline; original publisher release and actual commit availability are not established. Current and historical rights both apply.
      parameters:
      - name: format
        in: query
        schema:
          type: string
          enum:
          - json
          - catalog
          - evidence
          - csv
          - manifest
      - name: evidence
        in: query
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      - name: series
        in: query
        schema:
          type: string
      - name: latest
        in: query
        schema:
          type: string
          const: '1'
      - name: geo
        in: query
        schema:
          type: string
      - name: from
        in: query
        schema:
          type: string
          format: date
      - name: to
        in: query
        schema:
          type: string
          format: date
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 20000
          default: 2000
      - name: generation
        in: query
        schema:
          type: string
          format: uuid
      - name: recorded
        in: query
        schema:
          type: string
          const: '1'
      - name: as_of
        in: query
        schema:
          type: string
          format: date-time
      - name: revision
        in: query
        schema:
          type: string
          pattern: ^[1-9][0-9]{0,18}$
        description: Positive bigint string, at most 9223372036854775807. Preserve as text.
      responses:
        '200':
          description: Exact catalog, evidence, manifest or qualified observations. JSON history labels truncation; successful CSV/manifest selections are complete.
          headers:
            X-SOTW-CSV-SHA256:
              schema:
                type: string
              description: SHA256 of exact UTF-8 CSV bytes
            X-SOTW-Generation:
              schema:
                type: string
              description: CSV publication pin
          content:
            text/csv:
              schema:
                type: string
            application/json:
              schema:
                anyOf:
                - $ref: '#/components/schemas/EconomicExportManifest'
                - type: object
                  properties:
                    count:
                      type: integer
                    truncated:
                      type: boolean
                    series:
                      oneOf:
                      - type: object
                      - type: array
                        items:
                          type: object
                    recorded_state:
                      $ref: '#/components/schemas/RecordedEconomicState'
                    data:
                      type: array
                      items:
                        type: object
                        required:
                        - geo
                        - period
                        - period_start
                        - value
                        - raw_value
                        - complete_status
                        - source_attributes
                        - quality
                        - freshness
                        - reference_period_end
                        properties:
                          geo:
                            type: string
                          period:
                            type: string
                          period_start:
                            type: string
                            format: date
                          value:
                            type:
                            - number
                            - 'null'
                          raw_value:
                            type:
                            - number
                            - 'null'
                          complete_status:
                            type:
                            - string
                            - 'null'
                          source_attributes:
                            type:
                            - object
                            - 'null'
                          quality:
                            type: string
                          freshness:
                            type: string
                            enum:
                            - within-window
                            - older
                          reference_period_end:
                            type: string
                            format: date
                          recordedAt:
                            type: string
                            format: date-time
                          revision:
                            type: string
        '400':
          description: Invalid/repeated selectors, future cutoff or incomplete revision pin
        '403':
          description: format=csv or manifest for a series not cleared for resale. Its JSON readings remain available with attribution.
        '404':
          description: Unknown reviewed series, permitted recorded state or evidence
        '409':
          description: Before recorded coverage, publication pin changed, oversized complete cohort or truncated export
        '429':
          description: API request allowance exhausted
        '503':
          description: Required read failed or current publication changed during assembly; no-store
      tags:
      - Economic Data
components:
  schemas:
    EconomicExportManifest:
      type: object
      required:
      - schema_version
      - export_version
      - generated_at
      - series
      - selection
      - count
      - truncated
      - columns
      - csv
      - data_sha256
      - evidence
      properties:
        schema_version:
          const: 1
        export_version:
          type: string
        generated_at:
          type: string
          format: date-time
        series:
          type: object
        selection:
          type: object
        count:
          type: integer
        truncated:
          const: false
        columns:
          type: array
          items:
            type: string
        csv:
          type: object
          required:
          - url
          - sha256
          - byte_count
          properties:
            url:
              type: string
            sha256:
              type: string
              pattern: ^[a-f0-9]{64}$
            byte_count:
              type: integer
        data_sha256:
          type: string
          pattern: ^[a-f0-9]{64}$
        data_hash_basis:
          type: string
        evidence:
          type: array
          items:
            type: object
        recorded_state:
          type: object
          required:
          - schemaVersion
          - processingVersion
          - coverageStart
          - asOf
          - revision
          - readSemantics
          - readSnapshot
          - sourceAvailability
          - commitAvailability
          - publicationGeneration
          - baselinePerSeries
          - coverage
          - currentRights
          properties:
            schemaVersion:
              const: 1
            processingVersion:
              const: macro-journal-v1
            coverageStart:
              type: string
              format: date-time
            asOf:
              type: string
              format: date-time
              description: Canonical UTC timestamp with exactly six fractional digits; preserve all six.
            revision:
              type: string
              pattern: ^[1-9][0-9]{0,18}$
            readSemantics:
              const: transaction_final_recording_time
            readSnapshot:
              const: statement_start_committed_frames
            sourceAvailability:
              const: not_established
            commitAvailability:
              const: not_established
            publicationGeneration:
              type: string
              format: uuid
            baselinePerSeries:
              type: object
              properties:
                origin:
                  type: string
                  enum:
                  - activation_baseline
                  - first_qualified_publication
                revision:
                  type: string
                coverageStart:
                  type: string
                  format: date-time
            coverage:
              type: object
            currentRights:
              type: object
              properties:
                licence:
                  type: string
                redistributionPermitted:
                  const: true
                resalePermitted:
                  type: boolean
                attributionText:
                  type: string
    RecordedEconomicState:
      type: object
      required:
      - schemaVersion
      - processingVersion
      - coverageStart
      - asOf
      - revision
      - readSemantics
      - readSnapshot
      - sourceAvailability
      - commitAvailability
      - publicationGeneration
      - baselinePerSeries
      - coverage
      - currentRights
      properties:
        schemaVersion:
          const: 1
        processingVersion:
          const: macro-journal-v1
        coverageStart:
          type: string
          format: date-time
        asOf:
          type: string
          format: date-time
          description: Canonical UTC timestamp with exactly six fractional digits; preserve all six.
        revision:
          type: string
          pattern: ^[1-9][0-9]{0,18}$
        readSemantics:
          const: transaction_final_recording_time
        readSnapshot:
          const: statement_start_committed_frames
        sourceAvailability:
          const: not_established
        commitAvailability:
          const: not_established
        publicationGeneration:
          type: string
          format: uuid
        baselinePerSeries:
          type: object
          properties:
            origin:
              type: string
              enum:
              - activation_baseline
              - first_qualified_publication
            revision:
              type: string
            coverageStart:
              type: string
              format: date-time
        coverage:
          type: object
        currentRights:
          type: object
          properties:
            licence:
              type: string
            redistributionPermitted:
              const: true
            resalePermitted:
              type: boolean
            attributionText:
              type: string
  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.