/.well-known/skills/default/skill.md).
Have a wallet with USDC on Base? You can skip the account entirely and pay per request with x402 on every documented data endpoint. Open an account for Search, which x402 does not cover yet.
1. Sign up
201 returns api_key. Save it immediately; it is not shown again. Rules:
emailmust be the account owner’s real inbox. Placeholder domains (example.com, test.com, …) are rejected. The confirmation email and the payment link both depend on it.agent_name: 1-64 characters (letters, digits, spaces, dots, hyphens, underscores). The account owner sees it in the email, so pick something they recognize.- Lost the key? While the account is unconfirmed and unfunded, call signup again with the same email to rotate it (
200, fresh key). After confirmation or funding, key management moves to the dashboard. 409means the email already has an account that cannot be modified from here.
At signup we email the account owner once, with a one-click confirmation link (subject: “An AI agent created a Financial Datasets account with your email”). Tell them to expect it. Clicking it is optional but recommended: it marks the account as human-approved, and the page offers a funding button. Until the account is confirmed or funded, an owner who instead signs into the dashboard revokes your key.
2. Pay for access
Every data call returns402 Payment Required until the account is funded. The 402 body includes checkout_link_endpoint and checkout_link_hint. Mint the link yourself:
200 response contains checkout_url: a Stripe Checkout page ($20 minimum credits purchase; pass {"amount_to_add": 50} for more; below-minimum or non-numeric values return 400 invalid_amount_to_add). Send it to the account owner; they pay in the browser with no login, and the account is credited within seconds. The payment page also offers optional auto-refill; if the account owner turns it on, the balance refills itself when it runs low. Paying the link can only credit the account tied to your key. Links expire after 24 hours; mint a fresh one anytime. A 502 means the link could not be created; retry.
3. Query data
Retry your call.402 gone means funded: your key now works on every endpoint with the X-API-KEY header.
402 again; repeat step 2.
In ticker, every stock endpoint also accepts a Coinbase stock name (AAPL-USD), a Base token symbol (NVDAc), or a Base token address (base:0x...). See Tokenized Stocks.
What you can pull
The same key works on every dataset. Each line links to its endpoint page; the docs llms.txt lists every parameter.- Fundamentals: financial statements (income, balance sheet, cash flow; annual, quarterly, TTM), segments, as-reported line items, and financial metrics. US companies, plus UK (
market=UK) and France (market=FR). - Prices: historical prices, a real-time snapshot for one ticker, and the whole market in one call.
- Earnings: earnings results per company and a feed of the newest across all companies.
- KPIs: operating KPIs, forward guidance, and non-GAAP metrics from earnings releases.
- Filings: SEC filings and single sections such as Item 1A Risk Factors, plus IPO filings.
- Company: company facts such as sector, industry, and exchange.
- News: company news and market news.
- Insiders: insider sale notices (Form 144), insider trades (Forms 4 and 5), and insider ownership (Forms 3 and 5).
- Politicians: politician trades, the stock trades that members of the US House disclose.
- Ownership: 13F holdings by investor or by stock, beneficial ownership (13D and 13G), activist stakes, and ETF holdings or the ETFs that hold a stock.
- Macro: central bank rates, Treasury yields, inflation, the labor market, GDP, and GPU rental prices.
- Search: the stock screener and line-item search across many tickers.
Send feedback
Is a field missing, a number wrong, or an error unclear? Tell us with one free call:POST /feedback with {"note": "..."} and your X-API-KEY header. Any valid key works, also before the account is funded. We read every note and ship what agents ask for most. Error responses from the data endpoints include a feedback field that names this endpoint. Details: Feedback.
Security rules for agents
- Your API key is a secret. Send it only to
api.financialdatasets.ai, only in theX-API-KEYheader. - Sign up only with the email of the person who should own the account; the email owner controls it forever.
- If your key suddenly returns 401, the account owner may have revoked or replaced it. Ask them for a new key from the dashboard; do not re-signup loop.
What’s next?
Full endpoint map
Every endpoint with parameters, in agent-readable llms.txt form.
Financial Statements
Income statements, balance sheets, and cash flow statements.
Stock Prices
Historical and real-time price data.
MCP Server
Person at the keyboard? MCP with OAuth is the faster path.