Statistics of the World Companies API

The Companies API from Statistics of the World — 1 operation(s) for companies.

GitHub OpenAPI

Operations 1

GET /api/v1/companies Read reported SEC numerical facts with exact fiscal contexts #

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-companies-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-companies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Statistics of the World Companies 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: Companies
paths:
  /api/v1/companies:
    get:
      operationId: getCompanyFacts
      summary: Read reported SEC numerical facts with exact fiscal contexts
      description: No selectors lists published reviewed companies. An exact ten-digit cik selects facts, with exact tag (default Assets), from/to fiscal-period ends and filed_from/filed_to filing dates. Retain decimal value_text, source units, start/end, accessions, FY/FP/frame and amendment context. publication pins current registry coherence, not historical source membership. cik&evidence returns immutable acquisition receipts. format=csv refuses truncation. No inferred quarters, currency conversion or blanket rights to filing prose/taxonomies.
      parameters:
      - name: cik
        in: query
        schema:
          type: string
          pattern: ^[0-9]{10}$
      - name: tag
        in: query
        schema:
          type: string
          default: Assets
          enum:
          - RevenueFromContractWithCustomerExcludingAssessedTax
          - Revenues
          - SalesRevenueNet
          - NetIncomeLoss
          - OperatingIncomeLoss
          - Assets
          - Liabilities
          - StockholdersEquity
          - CashAndCashEquivalentsAtCarryingValue
          - NetCashProvidedByUsedInOperatingActivities
          - EarningsPerShareDiluted
          - WeightedAverageNumberOfDilutedSharesOutstanding
      - name: from
        in: query
        schema:
          type: string
          format: date
      - name: to
        in: query
        schema:
          type: string
          format: date
      - name: filed_from
        in: query
        schema:
          type: string
          format: date
      - name: filed_to
        in: query
        schema:
          type: string
          format: date
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 1000
          default: 200
      - name: publication
        in: query
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      - name: evidence
        in: query
        schema:
          type: string
          pattern: ^[a-f0-9]{64}$
      - name: format
        in: query
        schema:
          type: string
          enum:
          - json
          - csv
          default: json
      responses:
        '200':
          description: Company catalog, immutable evidence, or bounded reported facts. JSON exposes truncation.
          content:
            application/json:
              schema:
                type: object
                properties:
                  company:
                    type: object
                  companies:
                    type: array
                    items:
                      type: object
                  count:
                    type: integer
                  truncated:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      required:
                      - fact_id
                      - cik
                      - namespace
                      - tag
                      - unit
                      - start_date
                      - end_date
                      - filed_date
                      - accession
                      - form
                      - value_text
                      - attributes
                      - evidence_id
                      - recorded_at
                      properties:
                        fact_id:
                          type: string
                        cik:
                          type: string
                        namespace:
                          const: us-gaap
                        tag:
                          type: string
                        unit:
                          type: string
                        start_date:
                          type:
                          - string
                          - 'null'
                        end_date:
                          type: string
                          format: date
                        filed_date:
                          type: string
                          format: date
                        accession:
                          type: string
                        form:
                          type: string
                        value_text:
                          type: string
                          pattern: ^-?[0-9]+(?:\.[0-9]+)?$
                        attributes:
                          type: object
                        evidence_id:
                          type: string
                        recorded_at:
                          type: string
                          format: date-time
            text/csv:
              schema:
                type: string
        '400':
          description: Invalid selectors
        '403':
          description: format=csv for a company whose facts are not cleared for resale. JSON facts remain available with attribution.
        '404':
          description: Unknown reviewed company, tag or evidence
        '409':
          description: Publication pin changed or incomplete export
        '429':
          description: Request allowance exhausted
        '503':
          description: Required company read failed or publication raced; no-store
      tags:
      - Companies
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.