Tollkit Public data API

The Public data API from Tollkit — 2 operation(s) for public data.

GitHub OpenAPI

Operations 2

POST /data/company Company snapshot #
POST /data/diligence Company due diligence #

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/tollkit-dev:tollkit-dev-public-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

tollkit-dev-public-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tollkit Data Public data API
  version: 0.39.0
  description: 'SEC filings and financials, IP lookup, weather, airport delays, address geocoding, exchange rates, and x402 market data. Other Tollkit tools are described at: https://extract.tollkit.dev/openapi.json, https://attest.tollkit.dev/openapi.json, https://web.tollkit.dev/openapi.json, https://chain.tollkit.dev/openapi.json.'
  x-guidance: Call any operation with POST and the JSON body its schema shows. Without payment you get HTTP 402 with the exact price in USDC on Base or Solana; pay with any x402 client and repeat the request. Failed calls (any 4xx or 5xx) are never charged. Each operation's description says what it returns and which inputs are refused for free.
  contact:
    email: hello@tollkit.dev
servers:
- url: https://data.tollkit.dev
tags:
- name: Public data
paths:
  /data/company:
    post:
      operationId: companySnapshot
      summary: Company snapshot
      description: 'Company snapshot from SEC EDGAR in one call: give a US stock ticker or CIK, get the company profile, its most recent filings (10-K, 10-Q, 8-K) with links, and key financials (revenue, net income, EPS, assets, cash, cash flow) for the last two fiscal years and latest quarter. For research, due diligence and investing agents. $0.006 per call; an unknown company is not charged.'
      tags:
      - Public data
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.006000'
        protocols:
        - x402: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticker:
                  type: string
                  description: US stock ticker, e.g. "AAPL". Give this or cik.
                cik:
                  type: integer
                  description: SEC CIK number.
                filings:
                  type: integer
                  minimum: 1
                  maximum: 40
                  default: 8
                  description: How many recent filings to list.
                form:
                  type: string
                  description: Only this form type, e.g. "10-K".
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                required:
                - cik
                - name
                - recent_filings
                - financials
                properties:
                  cik:
                    type: integer
                  name:
                    type: string
                  tickers:
                    type: array
                    items:
                      type: string
                  industry:
                    type:
                    - string
                    - 'null'
                  fiscal_year_end:
                    type:
                    - string
                    - 'null'
                  recent_filings:
                    type: array
                    items:
                      type: object
                      properties:
                        form:
                          type: string
                        filed:
                          type: string
                        report_date:
                          type:
                          - string
                          - 'null'
                        accession:
                          type: string
                        url:
                          type: string
                  financials:
                    type:
                    - object
                    - 'null'
                    description: 'Keys: revenue, operating_income, net_income, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, operating_cash_flow, shares_outstanding. Each: unit, latest_annual, prior_annual, latest_quarter.'
                    additionalProperties:
                      type:
                      - object
                      - 'null'
                      properties:
                        unit:
                          type: string
                        latest_annual:
                          type: object
                          properties:
                            period_start:
                              type:
                              - string
                              - 'null'
                            period_end:
                              type: string
                            value:
                              type: number
                            form:
                              type: string
                            filed:
                              type: string
                            accession:
                              type: string
                        prior_annual:
                          type: object
                          properties:
                            period_start:
                              type:
                              - string
                              - 'null'
                            period_end:
                              type: string
                            value:
                              type: number
                            form:
                              type: string
                            filed:
                              type: string
                            accession:
                              type: string
                        latest_quarter:
                          type: object
                          properties:
                            period_start:
                              type:
                              - string
                              - 'null'
                            period_end:
                              type: string
                            value:
                              type: number
                            form:
                              type: string
                            filed:
                              type: string
                            accession:
                              type: string
                  financials_note:
                    type: string
        '400':
          description: 'Bad input: a missing or malformed field, or a URL that is not public. Not charged.'
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '402':
          description: Payment Required. The PAYMENT-REQUIRED header carries the x402 v2 quote (price, asset, network, payTo) for each network accepted. Pay and retry with PAYMENT-SIGNATURE.
        '422':
          description: Valid input the tool could not answer, e.g. an empty page, a token with no pool, an unknown ticker. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '429':
          description: Too many requests from this caller; retry after a short wait. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '502':
          description: An upstream source (the page, a chain RPC, a public data API) failed or timed out. Not charged; safe to retry.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '503':
          description: The tool is temporarily unavailable on this deployment. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
  /data/diligence:
    post:
      operationId: companyDueDiligence
      summary: Company due diligence
      description: 'Company due diligence in one call, from SEC EDGAR: give a US stock ticker, get the company profile, revenue and profit growth, margins, leverage and cash ratios, key financials, its key filings with links, and plain-English summaries of its latest 8-K material-event filings. For research, investing and screening agents. $0.03 per call; an unknown company is not charged.'
      tags:
      - Public data
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.030000'
        protocols:
        - x402: {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ticker:
                  type: string
                  description: US stock ticker. Give this or cik.
                cik:
                  type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $schema: https://json-schema.org/draft/2020-12/schema
                type: object
                required:
                - cik
                - name
                - ratios
                - recent_material_events
                properties:
                  cik:
                    type: integer
                  name:
                    type: string
                  industry:
                    type:
                    - string
                    - 'null'
                  ratios:
                    type:
                    - object
                    - 'null'
                    description: revenue_growth_pct, net_income_growth_pct, operating_margin_pct, net_margin_pct, liabilities_to_assets_pct, cash_to_liabilities_pct, operating_cash_flow_to_net_income
                  financials:
                    type:
                    - object
                    - 'null'
                  recent_material_events:
                    type: array
                    items:
                      type: object
                      properties:
                        form:
                          type: string
                        filed:
                          type: string
                        url:
                          type: string
                        summary:
                          type:
                          - string
                          - 'null'
                  key_filings:
                    type: array
                  source:
                    type: string
                  prepared_at:
                    type: string
        '400':
          description: 'Bad input: a missing or malformed field, or a URL that is not public. Not charged.'
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '402':
          description: Payment Required. The PAYMENT-REQUIRED header carries the x402 v2 quote (price, asset, network, payTo) for each network accepted. Pay and retry with PAYMENT-SIGNATURE.
        '422':
          description: Valid input the tool could not answer, e.g. an empty page, a token with no pool, an unknown ticker. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '429':
          description: Too many requests from this caller; retry after a short wait. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '502':
          description: An upstream source (the page, a chain RPC, a public data API) failed or timed out. Not charged; safe to retry.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false
        '503':
          description: The tool is temporarily unavailable on this deployment. Not charged.
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                - charged
                properties:
                  error:
                    type: string
                    description: Machine-readable code, e.g. invalid_url, no_pool, page_fetch_failed.
                  message:
                    type: string
                    description: Plain-English reason, ending in "Nothing was charged."
                  charged:
                    type: boolean
                    const: false