Statsnet Export API

The Export API from Statsnet — 1 operation(s) for export.

GitHub OpenAPI

Operations 1

POST /export Bulk export #

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/statsnet-co:statsnet-co-export-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

statsnet-co-export-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Statsnet Export API
  version: 1.0.0
  description: 'Public REST API of statsnet.co: company registry, KYB and counterparty data. Authenticate with an API key (`x-api-key: sk_live_...` or `Authorization: Bearer sk_live_...`) created at https://statsnet.co/me. Paid endpoints charge one report per company (repeat views within 2 weeks are free) or are metered per call on API plans. Human-readable docs: https://statsnet.co/docs'
  contact:
    name: Statsnet
    url: https://statsnet.co/contact
servers:
- url: https://statsnet.co/api/v1
security:
- ApiKeyHeader: []
- BearerAuth: []
tags:
- name: Export
paths:
  /export:
    post:
      operationId: createExport
      summary: Bulk export
      description: Builds an Excel or CSV file of companies matching the filters and returns it in the response body. Requires a plan with export rows; rows are charged against the plan's export allowance.
      tags:
      - Export
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportRequest'
            example:
              type: companies
              file_type: excel
              filters:
                jurisdiction:
                - kz
                main_industry_code:
                - '62010'
      responses:
        '200':
          description: Export file
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
            text/csv:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/QuotaExhausted'
components:
  responses:
    NotFound:
      description: Company or record not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid or revoked API key / session.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The plan does not include this data (or anonymous call to a paid endpoint).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    QuotaExhausted:
      description: Period quota (reports, API calls or searches) is exhausted. See Retry-After / X-API-Calls-* headers.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    PaymentRequired:
      description: Subscription is canceled, expired or past due.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        status:
          type: integer
        message:
          type: string
      required:
      - status
      - message
    ExportRequest:
      type: object
      required:
      - type
      - file_type
      properties:
        type:
          type: string
          enum:
          - companies
        file_type:
          type: string
          enum:
          - excel
          - csv
        with_contacts:
          type: boolean
        filters:
          type: object
          properties:
            query:
              type: string
            jurisdiction:
              type: array
              items:
                type: string
            legal_form:
              type: array
              items:
                type: string
            main_industry_code:
              type: array
              items:
                type: string
            state:
              type: array
              items:
                type: string
            company_size:
              type: array
              items:
                type: string
            inactive:
              type: array
              items:
                type: boolean
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API key `sk_live_...`
    BearerAuth:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer sk_live_...`'