Tollkit Finance API
The Finance API from Tollkit — 3 operation(s) for finance.
The Finance API from Tollkit — 3 operation(s) for finance.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/tollkit-dev:tollkit-dev-finance-api"
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.
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: 3.2.0
info:
title: Tollkit Data Finance 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: Finance
paths:
/sec/company:
post:
operationId: secCompany
summary: SEC company profile and filings
description: 'SEC company lookup: give a US stock ticker or CIK, get the company''s legal name, exchange, industry, state, fiscal year end and its latest SEC filings (10-K, 10-Q, 8-K, Form 4...) with direct links, optionally filtered by form. Straight from SEC EDGAR. $0.002 per call; an unknown ticker is not charged.'
tags:
- Finance
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
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 Central Index Key, e.g. 320193.
form:
type: string
description: Only this form type, e.g. 10-K, 10-Q, 8-K, 4.
limit:
type: integer
minimum: 1
maximum: 40
default: 10
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
- source
properties:
cik:
type: integer
name:
type: string
tickers:
type: array
items:
type: string
exchanges:
type: array
items:
type: string
industry:
type:
- string
- 'null'
state_of_incorporation:
type:
- string
- 'null'
fiscal_year_end:
type:
- string
- 'null'
description: MM-DD
business_address:
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
source:
type: string
edgar_url:
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
/sec/financials:
post:
operationId: secFinancials
summary: Company financials from SEC filings
description: 'Company financials from SEC filings: give a US stock ticker or CIK, get revenue, operating income, net income, diluted EPS, assets, liabilities, equity, cash, operating cash flow and shares outstanding for the last 4 fiscal years plus the latest quarter, exactly as filed in XBRL, each with its filing and accession number. From SEC EDGAR. $0.004 per call; a company with no financial data is not charged.'
tags:
- Finance
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.004000'
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
description: SEC Central Index Key.
responses:
'200':
description: Successful response
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
required:
- cik
- name
- metrics
- source
properties:
cik:
type: integer
name:
type: string
metrics:
type: object
description: 'Keys: revenue, operating_income, net_income, eps_diluted, total_assets, total_liabilities, stockholders_equity, cash, operating_cash_flow, shares_outstanding.'
additionalProperties:
type:
- object
- 'null'
properties:
concept:
type: string
unit:
type: string
annual:
type: array
items:
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
- 'null'
properties:
period_start:
type:
- string
- 'null'
period_end:
type: string
value:
type: number
form:
type: string
filed:
type: string
accession:
type: string
note:
type: string
source:
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
/fx:
post:
operationId: exchangeRate
summary: Currency exchange rate
description: 'Currency conversion at European Central Bank reference rates: give two currency codes (30 supported, e.g. USD, EUR, GBP, JPY) and an amount, get the rate and converted amount for the latest business day or any day in the last 90. NOTE: these ECB reference rates are published free of charge at ecb.europa.eu; they are for information only, not for transactions. $0.002 per call; an unsupported currency is not charged.'
tags:
- Finance
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.002000'
protocols:
- x402: {}
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- from
- to
properties:
from:
type: string
pattern: ^[A-Za-z]{3}$
to:
type: string
pattern: ^[A-Za-z]{3}$
amount:
type: number
minimum: 0
default: 1
date:
type: string
pattern: ^\d{4}-\d{2}-\d{2}$
description: YYYY-MM-DD within the last 90 days; weekends use the previous business day.
responses:
'200':
description: Successful response
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
required:
- from
- to
- rate
- converted
- rate_date
- notice
properties:
from:
type: string
to:
type: string
amount:
type: number
rate:
type: number
converted:
type: number
rate_date:
type: string
requested_date:
type:
- string
- 'null'
source:
type: string
notice:
type: string
description: 'Required by the ECB: these rates are free at ecb.europa.eu and are for information only.'
'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