Financial Data APIs for AI Agents, Compared
Seven APIs compared on data scope, analysis depth, MCP support, x402 (an HTTP-native micropayment protocol) micropayments, pricing, and practical token efficiency for LLM consumption.
Published April 1, 2026. Refreshed October 22, 2026: each company's facts as read on its own pages that day, with the page named. Financial Datasets' x402 and France facts as read on its docs index on November 9, 2026.
The right API depends on what the agent needs. A multi-chain portfolio tracker needs broad token coverage. A macro-aware allocation agent needs pre-analyzed context that fits within token budgets. An on-chain forensics agent needs labeled wallet addresses. These are different problems solved by different tools.
This comparison evaluates 7 APIs across the dimensions that matter for AI agent integration. No single API wins everywhere. The goal is to help you match the right data source to the right job.
01 Comparison Table
| API | Data Scope | Analysis Style | MCP | x402 | Pricing | Free plan |
|---|---|---|---|---|---|---|
| Alpha Vantage | Stocks + crypto + FX + commodities + economic indicators | Raw JSON + technicals | Yes | $49.99 to $249.99 a month | 25 requests a day | |
| Codex.io | Multi-chain token data | Raw normalized data | Docs only | No (pays by MPP, $0.001 a request) | Growth from 1M requests a month | 10,000 requests a month |
| CoinGecko | 22,442 coins on 2,000+ exchanges (its API page, as read) | Raw JSON | Yes | Yes, $0.01 a request on its experimental x402 endpoints | Basic $35 to Pro $999 a month | Demo: 10k call credits a month, 100 a minute |
| Financial Datasets | Company financials for the USA, the UK and France, plus macro series | Raw historical data | Yes | Its docs list an x402 page | $20 credits, then $200 or $2,000 a month | None |
| Glassnode | On-chain | Raw on-chain metrics | Yes | Its docs list an x402 page | ||
| Nansen | Labeled wallet activity across many chains | Enriched on-chain | Yes | Yes, $0.01 to $0.05 a call | Pro $49 a month billed yearly, $69 monthly | 100 trial credits, then 10 a day |
| PreReason | Macro, rates, bonds, FX, commodities, listed companies, Bitcoin and Ether | Briefings reasoned in advance | Yes | Yes | $50 to $150 a month, or $0.01 to $0.35 a call |
Each company's facts as read on its own pages on October 22, 2026, and Financial Datasets' x402 and France facts on its docs index on November 9, 2026. PreReason's prices are as /pricing shows them today.
02 Raw Data vs. Pre-Analyzed Context
This is the core difference. A raw data feed returns numbers. The agent must parse them, pull in additional context, compute derived signals, and reason about what it all means. That costs tokens and time.
A pre-analyzed response delivers the interpretation directly. Trend direction, confidence, regime classification, causal factors. The agent skips the analysis step and moves straight to decision-making.
If you need granular control over how data is interpreted, raw feeds give you that. If you need token-efficient decisions, pre-analyzed output reduces overhead per call.
Scenario: "What's the current macro environment for BTC?"
An agent needs to assess whether macro conditions favor Bitcoin. Here's what that looks like with raw APIs vs. a pre-analyzed briefing.
With raw data APIs: 4+ calls, agent-side computation
Call 1: CoinGecko, BTC price
GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true
{ "bitcoin": { "usd": ..., "usd_24h_change": ... } }
// Agent knows the price. Doesn't know if it's above/below key MAs.
Call 2: FRED, Fed balance sheet (raw CSV)
GET https://api.stlouisfed.org/fred/series/observations?series_id=WALCL&limit=5&sort_order=desc&api_key=...
{ "observations": [
{ "date": "...", "value": "..." },
...
]}
// Millions? Billions? No trend label. Agent must compute direction.
Call 3: FRED, RRP balance
GET https://api.stlouisfed.org/fred/series/observations?series_id=RRPONTSYD&limit=5...
{ "observations": [{ "date": "...", "value": "..." }, ...] }
// Agent must subtract RRP + TGA from Fed balance to get net liquidity.
Call 4: Blockchain.com, hash rate
GET https://api.blockchain.info/charts/hash-rate?timespan=60days&format=json
{ "values": [{ "x": ..., "y": ... }, ...] }
// Raw numbers. Agent must compute 30d/60d SMAs to derive hash ribbon state.
Total: 4 API calls, agent computes net liquidity, moving averages, and regime classification from scratch.
With PreReason: 1 call, pre-computed
Single call: btc.quick-check briefing
get_context btc.quick-check (MCP), as served on October 12, 2026 # Quick Check *Generated: Oct 12, 2026 08:52 UTC* ... > **Signal:** BTC down 3.4% 7d, liquidity expanding over 30d: divergence: price falling despite improving liquidity, weak correlation (-0.06) ## Bitcoin Metrics ... BTC at $83,496.83; 7d -3.4% (falling), 30d +8.2%, 90d +34.2%. Accelerating downward: recent losses exceeding the longer term pace *Data as of: Oct 12, 2026 08:52 UTC* ## Macro Environment ### Net Liquidity [At-Trend] Net liquidity at $5.87T: Fed total assets (Wednesday level, 2026-10-07) less the Treasury General Account (week average to 2026-10-07) and overnight reverse repo (daily, 2026-10-09); 7d +1.3% (flat, within ±2%), 30d +1.7%, 90d -1.6%. *Data as of: Oct 9, 2026 00:00 UTC* ## Cross-Asset Correlations - **Bitcoin Price vs Net Liquidity:** no meaningful correlation, -0.06 (n=23d) *Window 30 days; 23 daily returns.* --- *Sources: Coinbase | PreReason (calculated)* *btc.quick-check | free | Terms: /api/context/glossary*
Total: 1 API call. The response is structured prose an LLM reads directly. No parsing, no computation, no token waste on raw data.
03 Individual Reviews
CoinGecko
CoinGecko's API page lists 22,442 coins and 2,000+ exchanges across 360+ networks (as read on October 22, 2026). Its pay per request route takes $0.01 in USDC a request, with no API key or account, on endpoints its docs mark as experimental. The public API (no key required) is rate limited by IP address, and everyone on that address shares the limit. Sign up for a free Demo API key and you get 100 calls/min with a 10,000 calls/month cap. For most agent development, that is enough to build and test without spending anything.
The /simple/price endpoint is where most agents start. One call gets you price, 24h change, market cap, and volume for any token. The /coins/markets endpoint returns top tokens ranked by market cap with sparkline data. For historical analysis, /coins/{id}/market_chart returns price and volume over configurable time ranges. There is an MCP server available, so agents using Claude or other MCP-compatible frameworks can call CoinGecko directly without writing HTTP client code. CoinGecko also supports x402 micropayments, letting agents pay per request in USDC without committing to a monthly subscription.
Strengths
+Free Demo key: 100 calls/min, 10K calls/month. Keyless access limited by IP address +MCP server available for native agent framework integration +x402 micropayments for per-request USDC access without a subscriptionWeaknesses
-All responses are raw JSON. Agent must compute signals, trends, and context itself -Paid tiers start at $35/mo for Basic Free Demo: 100 calls/min, 10K/month Basic: $35/mo Analyst: $129/mo Lite: $499/mo Pro: $999/moSuits: Broad token coverage and price data across many networks.
Nansen
Nansen's free plan gives 100 trial credits, then tops the balance up to 10 credits a day; its Pro plan is $49 a month billed yearly or $69 billed monthly (its credits and pricing guide, as read on October 22, 2026). Its docs group the API under Smart Money, Profiler and Token Screener, among others.
The agent integration story is strong. A REST API and an MCP server cover the main connection patterns. Its x402 route needs no subscription or API key and takes USDC on Base, Solana or Monad, at $0.01 a call for basic endpoints and $0.05 for premium and Smart Money endpoints (its x402 page, as read on October 22, 2026).
Strengths
+x402 from $0.01 a call, with no subscription or API key +USDC on Base, Solana or Monad +MCP server + REST API. Multiple ways to connect an agentWeaknesses
-Returns raw on-chain data. Agent still needs to interpret what the flows mean x402: from $0.01/query Free: 100 trial credits, then 10 a day Pro: $49/mo yearly, $69 monthlySuits: Labeled wallet and smart money activity on chain.
Glassnode
Glassnode's docs index lists an x402 page and an MCP server page (as read on October 22, 2026). Its prices are not shown here; its own pricing page has them.
Suits: On-chain metrics for Bitcoin and other assets.
Alpha Vantage
Alpha Vantage puts stocks, forex, crypto, commodities, and economic indicators behind a single endpoint. The real differentiator is server-side technical indicators. Ask for RSI on AAPL and you get the computed values back. No local pandas, no ta-lib dependency, no rolling window calculations in your agent code. The server does the math.
Alpha Vantage's free use is 25 API requests a day; its monthly plans run from $49.99 for 75 requests a minute to $249.99 for 1,200 (its premium page, as read on October 22, 2026). Its digital currency list holds 575 entries, and its documentation names an official MCP server.
If your agent only cares about BTC/USD alongside traditional equities, that is fine. If it needs long tail tokens, look elsewhere.
GET /query?function=RSI&symbol=AAPL&interval=daily&time_period=14&series_type=close&apikey=demo
// Example response structure (based on alphavantage.co/documentation)
{
"Technical Analysis: RSI": {
"...": { "RSI": "..." }
}
}
// Server-computed RSI. No local calculation needed.
// Same pattern works for MACD, Bollinger Bands, SMA and EMA.
Strengths
+Stocks, crypto, forex, commodities, and economic indicators in one API +Server-side technical indicators (RSI, MACD, Bollinger, SMA all computed for you) +MCP server available for agent framework integration +Premium tiers up to 1,200 req/min for production workloadsWeaknesses
-Free tier is 25 requests/day -Its digital currency list holds 575 entries Free: 25 calls/day Premium: $49.99/mo Up to $249.99/mo (1,200/min)Suits: Stocks, FX, crypto and economic data in one API, with indicators computed on its servers.
Codex.io
Codex's docs describe a GraphQL API with subscriptions over WebSockets and webhooks. Its free plan includes 10,000 requests a month at 5 a second, and Growth starts at 1 million a month at 300 a second (its rate limits page, as read on October 22, 2026). Agents can pay per request without a key through the Machine Payments Protocol, $0.001 in USDC on Tempo (its MPP page, same day). It offers a docs MCP server and "Codex Skills" for coding agents.
Strengths
+GraphQL, with subscriptions over WebSockets and webhooks +Up to 300 req/sec on Growth tier +Docs MCP server, Codex Skills, and MPP payments at $0.001/requestWeaknesses
-Its free plan allows 5 requests a second -Raw normalized data only. No analysis, no signals, no interpretation layer Free: 10K requests/mo Growth: from 1M requests/moSuits: Multi-chain token data, with streaming over WebSockets.
Financial Datasets
Financial Datasets covers public company financials for 27,000+ tickers over 30+ years: every SEC filer in the USA, active and delisted, and companies filing tagged annual reports in the UK (its market coverage page, as read on October 22, 2026). Its plans are Credits ($20 once, 1,000 requests), Personal ($200 a month, 100,000 requests) and Professional (from $2,000 a month, 2,000,000 requests, with redistribution rights), and Enterprise (its pricing page, same day). Its macro series cover US inflation, US labor, the US yield curve, ten central banks' policy rates and GPU rental prices; its company data includes KPIs, guidance and non GAAP metrics. On its account route, every data call answers 402 until the account owner pays a Stripe link the agent creates. Its docs index, as read on November 9, 2026, adds annual statements for companies listed in France and a page on paying per request with x402, with no API key.
The MCP server uses OAuth (no API key needed for interactive clients) and exposes tools like get_stock_prices, get_income_statement, and get_filings.
// Example response structure (based on docs.financialdatasets.ai)
// MCP tool call via Financial Datasets server (OAuth, no API key)
// Tool: get_stock_price
{
"ticker": "...",
"price": ...,
"change": ...,
"change_percent": ...,
"volume": ...,
"market_cap": ...,
"pe_ratio": ...,
"52_week_high": ...,
"52_week_low": ...
}
// No free plan: every call is paid, by credits,
// a subscription or x402.Its docs index lists no crypto endpoint (as read on October 22, 2026). If your agent needs both stock fundamentals and BTC data, you will need to pair Financial Datasets with a crypto-specific API. The strength is depth on equities: SEC filing data parsed into structured JSON, and company KPIs. For backtesting equity strategies or building fundamental analysis agents, that depth of structured financial data eliminates the need to scrape or parse SEC filings yourself.
The MCP integration is clean. Interactive clients use OAuth with no API key to manage, while programmatic access uses a key in the X-API-KEY header. One caveat: all data is raw historical. Price history and financial statements arrive as arrays of numbers without computed signals, trend labels, or momentum scores. For backtesting that is fine since you process the full history anyway, but real-time decision-making would need a separate analysis layer on top.
Strengths
+MCP server with OAuth. No API key needed for interactive agent clients +SEC filings, financial statements +Pay as you go credits from $20, no subscription needed +A signup flow an agent can start itselfWeaknesses
-No crypto data in its docs -Every call is paid: credits, a subscription or x402. No free plan -Raw data only. No computed signals, trend labels, or analysis layer Free: none Credits: $20 once Personal: $200/mo Professional: from $2,000/moSuits: Company fundamentals, filings and KPIs for the USA and the UK, through MCP, and annual fundamentals for France.
PreReason
PreReason gives AI agents financial market context across asset classes and regions: briefings reasoned in advance, over MCP and REST, as Markdown or JSON. A Bitcoin briefing returns a one line reading, trend direction over several windows and correlations, and every figure carries its date and names its source. It covers macro, rates, bonds, FX, commodities, listed companies, Bitcoin and Ether, which here includes how Bitcoin moves with stocks, volatility, the dollar and liquidity.
The API serves 33 briefings across macro, cross-asset and Bitcoin categories. The MCP server exposes 7 tools:get_context, get_metric, get_changes, get_news, list_briefings, list_metrics and get_health. An agent using Claude Code or another MCP-compatible framework can call PreReason directly. x402 micropayments ($0.01 to $0.35 a call in USDC on Base) let your agent pay per request with no subscription and no API key.
Here is an example response for a quick BTC check:
An excerpt of get_context btc.quick-check, format json (MCP), as served on October 12, 2026
{
...
"briefing_used": "btc.quick-check",
"briefing_metadata": {
"name": "Quick Check",
"description": "Quick directional read on Bitcoin price and net liquidity with their 30-day correlation",
"tier": "free",
"metrics_count": 2,
"correlations_count": 1,
"correlations_window_days": 30,
"data_access": "All available data",
"glossary": {
"uri": "/api/context/glossary",
"version": "1da025e4f760"
},
"earliest_usable_date": "2003-03-19"
},
"date": "2026-10-12",
"metrics": {
"bitcoin-price": {
"name": "bitcoin-price",
"value_formatted": "$83,496.83",
"timestamp": "2026-10-12T08:52:39.111016+00:00",
"source": "Coinbase",
"display": "no",
...
"regulatory_mode": "signal",
"confidence": 65,
"confidence_label": "Medium",
"confidence_factors": {
"signal_strength": 56,
"trend_consistency": 60,
"percentile_score": 73,
"data_quality": 100
},
"context": "BTC at $83,496.83; 7d -3.4% (falling), 30d +8.2%, 90d +34.2%. Accelerating downward: recent losses exceeding the longer term pace",
"trend": {
"direction": "falling",
"change_1d": 0.7,
"change_1d_available": true,
"change_7d": -3.43,
"change_7d_available": true,
"change_30d": 8.18,
"change_30d_available": true,
"change_90d": 34.17,
"change_90d_available": true,
"change_unit": "percent",
"direction_horizon": "7d",
"momentum": "accelerating",
"percentile": 82,
"percentile_label": "high",
"percentile_history_days": 5899
}
},
...
}The same call with format=markdown returns structured prose an LLM reads directly:
get_context btc.quick-check (MCP), as served on October 12, 2026 # Quick Check *Generated: Oct 12, 2026 08:52 UTC* ... > **Signal:** BTC down 3.4% 7d, liquidity expanding over 30d: divergence: price falling despite improving liquidity, weak correlation (-0.06) ## Bitcoin Metrics ... BTC at $83,496.83; 7d -3.4% (falling), 30d +8.2%, 90d +34.2%. Accelerating downward: recent losses exceeding the longer term pace *Data as of: Oct 12, 2026 08:52 UTC* ## Macro Environment ### Net Liquidity [At-Trend] Net liquidity at $5.87T: Fed total assets (Wednesday level, 2026-10-07) less the Treasury General Account (week average to 2026-10-07) and overnight reverse repo (daily, 2026-10-09); 7d +1.3% (flat, within ±2%), 30d +1.7%, 90d -1.6%. *Data as of: Oct 9, 2026 00:00 UTC* ## Cross-Asset Correlations - **Bitcoin Price vs Net Liquidity:** no meaningful correlation, -0.06 (n=23d) *Window 30 days; 23 daily returns.* --- *Sources: Coinbase | PreReason (calculated)* *btc.quick-check | free | Terms: /api/context/glossary*
PreReason tells your agent the trend direction, whether macro conditions support the move, and what the cross-asset picture looks like. JSON for structured parsing, markdown for direct LLM consumption. The agent can act on either format directly instead of making 5 additional API calls and spending tokens on analysis.
Beyond Bitcoin and Ether, it does not cover other tokens, DeFi or on chain wallet data. An agent that tracks many tokens needs a token data API beside it.
Strengths
+Pre-analyzed briefings with signals, confidence, regime, and causal narratives +MCP server with 7 tools. x402 micropayments at $0.01 to $0.35 a call. No subscription needed +Briefings across macro, rates, bonds, FX, commodities, listed companies, Bitcoin and EtherWeaknesses
-No tokens beyond Bitcoin and Ether, no DeFi or wallet data -Smaller company, newer than CoinGecko or Glassnode Basic: $50/mo Pro: $150/mo x402: $0.01 to $0.35/callSuits: Agents that need market context with the interpretation already done, every figure dated and sourced.
04 Choosing the Right Stack
No single API covers everything.
The selection comes down to three questions:
-Raw vs. interpreted? If the agent needs to control its own analysis pipeline, raw feeds from CoinGecko or Alpha Vantage give full flexibility. If the agent needs to act on market context, pre-analyzed briefings reduce token spend per decision. -Token budget per call? A raw price response might be 200 tokens. A full briefing with causal narratives measured 2,400 to 4,600 tokens in September 2026. But the briefing replaces 3 to 4 raw calls plus the reasoning step. Total token cost often favors pre-analyzed output. -MCP support? If the agent framework uses MCP for tool discovery, APIs with MCP servers (PreReason, CoinGecko, Nansen, Alpha Vantage, Financial Datasets, and Glassnode) integrate natively; Codex.io offers an MCP server for its docs. All 7 APIs in this comparison now have some form of MCP support.Test the integration, measure token costs per decision, and upgrade when you hit limits.
Clarity, delivered.
One call. The full picture. Ready when you are.
Start Free View docsFree tier. No credit card.
Related Insights
Context Engineering for Crypto Agents
Why pre-analyzed context outperforms raw API data for LLM decision-making
Bitcoin Regime Classification
How automated systems classify market conditions using multiple data sources
Continue reading
Docs API Documentation Briefing All 33 Briefings Metric All MetricsSources: CoinGecko API / Nansen / Alpha Vantage / Glassnode / Codex.io / Financial Datasets