Back to Insights

Best Bitcoin APIs for AI Agents (Q1 2026)

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 · Facts on each API last checked September 30, 2026

7 Bitcoin APIs for AI Agents - Q1 2026 Comparison Disclosure: PreReason is included in this comparison. This site is operated by PreReason. We've aimed to be factually accurate about all products listed and honest about our own limitations.

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

APIData ScopeAnalysis StyleMCPx402PricingFree Tier
Alpha VantageStocks + crypto + FX + commodities + economic indicatorsRaw JSON + technicalsYesNoFree - $249.99/mo25 calls/day
Codex.io80+ networks, 103M+ tokensRaw normalized dataDocs onlyNo (MPP)Free - from $350/mo10K requests/mo ($1 signup fee)
CoinGecko18,000+ coins, multi-chainRaw JSONYesYesFree - $999/mo100 calls/min, 10K/mo
Financial DatasetsUS stocks + macroRaw historical dataYesNo$20 credits - $2,000/moNone
GlassnodeBTC + ETH on-chainRaw on-chain metricsYes (beta)NoFrom $49/moNone listed
Nansen35+ chains, 500M+ addressesEnriched on-chainYesYesx402: from $0.01/query100 trial credits, 10 a day
PreReasonBTC + macro + cross-assetPre-reasoned briefingsYesYes$0-150/mo or $0.01-0.35/call100 calls a day, 6 briefings

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.

Neither approach is universally better. If you need granular control over how data is interpreted, raw feeds give you that. If you need fast, 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": 84521.00, "usd_24h_change": -2.34 } }
// 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": "2026-03-19", "value": "6823491" },
{ "date": "2026-03-12", "value": "6830102" },
...
]}
// 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": "2026-03-28", "value": "94312" }, ...] }
// 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": 1711584000, "y": 812.34 }, { "x": 1711670400, "y": 798.21 }, ...] }
// Raw numbers. Agent must compute 30d/60d SMAs to derive hash ribbon state.

Total: 4 API calls, ~15,000 tokens of raw data to parse, agent computes net liquidity, moving averages, and regime classification from scratch. Response time: 8-15 seconds.

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 is the default starting point for crypto data. 18,000+ coins, 900+ exchanges, and a free tier that actually works for prototyping. 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.

Here is what the free tier actually returns:

GET /api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true
// Actual free-tier response
{
"bitcoin": {
"usd": 68621,
"usd_24h_change": 3.9142
}
}

That is the entire response. Price and percentage change. No signal, no trend direction, no regime context, no confidence score. Your agent gets a number and has to figure out what it means. If BTC dropped 4% but the S&P also dropped 3%, that is a very different situation than BTC dropping 4% while equities rally. CoinGecko will not tell you the difference. Your agent needs to make multiple calls, pull in macro data from another source, and synthesize the context itself.

There is a deeper limitation worth flagging: CoinGecko returns point-in-time values with no trend direction, no momentum score, and no percentile ranking. If your agent needs to know whether Bitcoin's price is rising or falling over 7, 30, or 90 days, you will need to store historical responses, maintain a database, and compute the trends yourself. That adds infrastructure overhead, increases token cost on every decision cycle, and introduces a new failure mode if your storage layer goes down.

Strengths

+Broadest free crypto coverage: 18,000+ coins across 900+ exchanges +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 subscription +Well-documented, stable API with a large crypto developer community

Weaknesses

-All responses are raw JSON. Agent must compute signals, trends, and context itself -No macro data (Fed balance sheet, yield curve, M2 supply, net liquidity) -Paid tiers start at $35/mo for Basic. x402 covers only five endpoints (simple price, token price, token data, pool search and trending pools); the rest need a key Free Demo: 100 calls/min, 10K/month Basic: $35/mo Analyst: $129/mo Lite: $499/mo Pro: $999/mo

Best for: Multi-token portfolio tracking and broad crypto market data at low cost.

API Documentation

Nansen

Nansen is the strongest option for on-chain wallet intelligence. Over 500 million labeled addresses across 35+ blockchains. Where CoinGecko tells you the price moved, Nansen can tell you which wallets caused the move. The labeling system identifies exchanges, funds, whales, and smart money addresses, so your agent can see what institutions are doing before it shows up in price action.

The agent integration story is strong. A REST API and an MCP server cover the main connection patterns. x402 micropayments let your agent pay per query in USDC on Base or Solana - no subscription, no API key, no signup required. Pricing starts at $0.01 per query, and the free plan gives 100 trial credits plus 10 more each day.

Three endpoints matter most for agents. Smart Money tracks labeled wallets, Token God Mode surfaces the same deep analytics available in the web dashboard, and Profiler provides wallet-level breakdowns. All three expose the same data views Nansen users rely on, accessible as API endpoints.

// Example response structure (based on docs.nansen.ai)
// Nansen x402 - pay per query, no API key needed
// Agent sends USDC on Base with the HTTP request
// Starting at $0.01 per query
// Response: labeled wallet activity for a token
{
"smart_money_inflow_24h": 4200000,
"smart_money_outflow_24h": 1800000,
"net_smart_money_flow": 2400000,
"top_buyers": [
{ "label": "Fund", "entity": "Jump Trading", "amount_usd": 890000 }
]
}

The main limitation is scope - Nansen is on-chain only, with no macro indicators, no Fed balance sheet, and no traditional finance data. If your agent needs to understand whether a whale accumulation event is happening during a liquidity expansion or contraction, it will need to combine Nansen with a macro data source. Without that macro overlay, on-chain signals can mislead: whale buying during a liquidity contraction reads differently from whale buying during an expansion.

Strengths

+500M+ labeled addresses across 35+ chains +x402 micropayments (from $0.01 per query) via USDC on Base +MCP server + REST API. Multiple ways to connect an agent +Smart money flow tracking identifies institutional moves before they hit price

Weaknesses

-On-chain only. No macro, no traditional finance, no cross-asset context -Wallet labels are proprietary. Limited transparency on how addresses are classified -Returns raw on-chain data. Agent still needs to interpret what the flows mean x402: from $0.01/query Free: 100 trial credits, 10 a day Enterprise: custom

Best for: On-chain wallet forensics, whale tracking, and smart money flow analysis across 35+ chains.

API Documentation

Glassnode

Glassnode has the deepest on-chain analytics for Bitcoin and Ethereum. Metrics like MVRV ratio, SOPR, spent output age bands, exchange net flows, and miner revenue breakdowns are not available at this level of granularity anywhere else. If your agent needs to know whether short-term holders are underwater (STH-MVRV below 1.0) or whether coins are moving from long-term to short-term holders, Glassnode is the source.

Its pricing page lists no free plan (read September 30, 2026). Metrics like aSOPR, exchange whale ratio, or the full set of supply age bands require at least the Advanced tier (from $49/mo). Advanced includes the Light API, capped at 50 calls a day, daily resolution and 14 days of history. Full metric access with 10 minute resolution requires Professional, which is priced by configuration, and the full API is an optional extra on that plan.

One detail that catches people: standard API requests default to 600 per minute (metadata endpoints have a separate 1,200), and requests made through Studio on the same account count against the same limit. If you have the Studio tab open while your agent is making API calls, they compete for the same quota. Close the dashboard when running agents.

GET /v1/metrics/market/mvrv?a=BTC&api_key=YOUR_KEY
// Example response structure (based on docs.glassnode.com)
// Light API response (Advanced plan: daily resolution, 14 days of history):
{
"data": [
{ "t": 1711929600, "v": 2.14 },
{ "t": 1712016000, "v": 2.18 }
]
}
// That's raw MVRV ratio. No signal interpretation.
// Is 2.18 overheated? Historically yes, but Glassnode won't tell you.
// STH-MVRV, aSOPR, exchange flows? Paywalled at $49+/mo.

On the integration side, Glassnode runs an MCP server, still labeled beta in its docs, with a public mode that needs no key and a keyed mode. Each fetch returns at most 30 days of history. It makes it substantially easier for agents using MCP-compatible frameworks to query on-chain data without writing a custom REST client. There is no x402 support though, so your agent still needs API key management and a paid subscription for full metric access.

Strengths

+Deepest on-chain metrics: MVRV, SOPR, exchange flows, spent output age bands +10-minute resolution at Professional tier for real-time on-chain analysis +Historical data back to Bitcoin genesis. Ideal for backtesting on-chain signals +600 req/min by default on the full API, generous if you are not also browsing Studio +MCP server (beta) with a public mode that needs no key

Weaknesses

-No x402 micropayments. Full API access requires the Professional plan -The full API is an optional extra on Professional (priced by configuration). Advanced gets only the Light API: 50 calls a day -No free plan listed. Most useful metrics are paywalled -Rate limit shared with Studio dashboard browsing Light API: 50 calls/day on Advanced Advanced: from $49/mo Professional: priced by configuration

Best for: Deep on-chain research requiring metrics like MVRV, SOPR, and exchange flows at sub-daily resolution.

API Documentation

Alpha Vantage

Alpha Vantage is the only API on this list that puts stocks, forex, crypto, commodities, and economic indicators behind a single endpoint. The real differentiator is 50+ 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.

The free tier used to be 500 calls per day. It is now 25 requests per day. That is not a typo. Twenty-five. You can test a handful of endpoints and that is it. Real development work requires the $49.99/mo Premium tier (75 requests per minute) or the $249.99/mo tier for 1,200 req/min. An MCP server is available, which makes the cross-asset coverage especially useful for agents that need to check both stock prices and BTC in the same workflow.

Crypto coverage is narrow compared to CoinGecko: its digital currency list holds about 575 coins, against the 21,000+ CoinGecko tracks. No DeFi, no exchange-level data. 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": {
"2026-03-28": { "RSI": "58.4231" },
"2026-03-27": { "RSI": "55.1089" },
"2026-03-26": { "RSI": "52.7744" }
}
}
// Server-computed RSI. No local calculation needed.
// Same pattern works for MACD, Bollinger Bands, SMA, EMA, and 50+ other indicators.
// But remember: 25 free calls/day. This one request just cost you 4% of your daily quota.

The 25 calls/day free limit is the biggest practical issue. An agent that checks BTC price, SPY, the 10-year yield, and runs RSI on each has already burned 4 calls. Add MACD and Bollinger Bands for each symbol and you are at 12 calls - half your daily budget gone in one decision cycle. For production agents, the paid tier is effectively mandatory. Even then, the server-computed indicators arrive as raw numbers without interpretation. An RSI of 72 comes back as just "72" with no "overbought" label or trend direction, so your agent still needs to decide what the number means in context.

Strengths

+Stocks, crypto, forex, commodities, and economic indicators in one API +50+ 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 workloads

Weaknesses

-Free tier is only 25 requests/day. Barely enough for testing, unusable for production -Crypto coverage limited to about 575 digital currencies, far fewer than CoinGecko -No on-chain data, no DeFi analytics, no wallet tracking -No x402 micropayments. Must commit to a monthly subscription for real usage Free: 25 calls/day Premium: $49.99/mo Premium+: $249.99/mo

Best for: Cross-asset agents that need stocks, forex, and crypto with server-side technical indicators.

API Documentation

Codex.io

Codex.io indexes over 103 million tokens across 80+ networks with sub-second event processing. TradingView uses Codex as its on-chain token data source, which is about as strong an endorsement of data reliability as you will find in this space.

The API uses GraphQL with websocket and webhook support, so you can subscribe to real-time token events rather than polling. The query model is flexible. You can ask for specific token pairs, filter by network, pull historical OHLCV, or stream live trades. Paid plans support up to 300 requests per second (Enterprise tiers go higher with custom limits), so you are unlikely to hit infrastructure limits during high-volatility events when other APIs slow down.

Signup costs a one time $1, and the free plan then gives 10,000 requests a month. Paid plans start at $350/month for 1 million requests, with overages billed at the same $350 per million. Enterprise plans get custom pricing per million requests. Codex has invested in AI agent tooling: the "Codex Docs MCP" server lets coding agents search its documentation, and "Codex Skills" teaches an agent to write Codex API queries. Codex takes pay per request payments through the Machine Payments Protocol (MPP), not x402: $0.001 per request in USDC on Tempo, so agents can pay per call without a subscription commitment.

// Example response structure (based on docs.codex.io)
// Codex.io GraphQL query example
query {
token(input: { address: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", networkId: 1 }) {
name
symbol
price
volume24h
liquidity
priceChange24h
}
}
// Returns normalized token data.
// Same schema whether you query Ethereum, Base, Arbitrum, or Solana.
// No interpretation, no signals. Raw normalized data at scale.

If you need fast, reliable, normalized multi-chain token data, Codex is the infrastructure layer that production trading platforms trust. The $350/month entry point for 1 million requests puts it in professional territory. For hobby projects or agents that just need BTC price, the free tier works for exploration, but the paid plans are sized for production workloads. Keep in mind that like CoinGecko, all responses are raw snapshots - token prices, volumes, and holder counts arrive without trend labels or signal interpretation. Computing whether liquidity is growing or volume exceeds its 30-day average requires storing historical data and running the calculations yourself, adding infrastructure cost and latency to every decision cycle.

Strengths

+103M+ tokens, 80+ networks. Sub-second on-chain event indexing +Production-proven at TradingView and Coinbase scale. Up to 300 req/sec on Growth tier +GraphQL with websockets and webhooks for real-time streaming +Consistent normalized schema across all networks +Docs MCP server, Codex Skills, and MPP payments at $0.001/request

Weaknesses

-Paid plans start at $350/mo. Custom pricing only on Enterprise -Raw normalized data only. No analysis, no signals, no interpretation layer Free: 10K requests/mo ($1 signup) Paid: from $350/mo (1M requests)

Best for: Production applications needing fast, reliable, normalized multi-chain token data at TradingView scale.

API Documentation

Financial Datasets

Financial Datasets is a focused API for US equity data: 27,000+ active and delisted tickers with 30+ years of history, SEC filings, income statements, balance sheets, and cash flow statements. What sets it apart from general-purpose stock APIs is that it was built specifically for AI agent consumption. The MCP server uses OAuth 2.1 (no API key needed for interactive clients like Claude Code) and exposes tools like get_stock_prices, get_income_statement, and get_filings.

There is a catch on pricing. There is no free plan (read September 30, 2026): access starts with $20 of one time credits for 1,000 requests, then Build at $200/mo and Scale at $2,000/mo. The MCP remote server draws on the same credits. If your agent needs to scan hundreds of stocks, you will need a paid plan.

// Example response structure (based on docs.financialdatasets.ai)
// MCP tool call via Financial Datasets server (OAuth, no API key)
// Tool: get_stock_price
{
"ticker": "AAPL",
"price": 178.52,
"change": 2.34,
"change_percent": 1.33,
"volume": 54200000,
"market_cap": 2780000000000,
"pe_ratio": 28.4,
"52_week_high": 199.62,
"52_week_low": 164.08
}
// No free plan: every call draws on paid credits
// or a subscription.

Its docs list no crypto data (read September 30, 2026). This is a US equities tool, with a set of macro series (US inflation, labor and the yield curve, central bank rates, GPU rental prices). 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: 30+ years of financial statements, SEC filing data parsed into structured JSON, and company KPIs and guidance. 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 like Claude Code use OAuth 2.1 with no API key to manage, while programmatic access uses a key in the X-API-KEY header. It does not take x402 or MPP payments: an agent that signs up gets a key that answers 402 until its owner pays a Stripe checkout link ($20 minimum). That combination of OAuth and MCP tools makes it one of the easiest APIs to wire up for agent frameworks. 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 2.1. No API key needed for interactive agent clients +27,000+ tickers, 30+ years of history, SEC filings, financial statements +Pay as you go credits from $20, no subscription needed +Built for AI agent consumption, with a signup flow an agent can start itself

Weaknesses

-US equities focus. No crypto data in its docs -Every call needs paid credits or a subscription. No free plan -Raw data only. No computed signals, trend labels, or analysis layer Free: none Credits: $20 one time Build: $200/mo Scale: $2,000/mo

Best for: Equity-focused agents that need SEC filings, financial statements, and company KPIs via MCP.

API Documentation

PreReason

Every other API on this list returns raw data. PreReason returns analyzed context. The difference is practical: instead of getting a number and asking your agent to figure out what it means, you get a briefing with trend direction, momentum, confidence scores, regime classification, and a causal narrative explaining why the data looks the way it does.

The API serves 33 briefings across Bitcoin, macro, and cross-asset categories. On the free tier you get 6 briefings (btc.quick-check, btc.context, btc.pulse, btc.grid-stress, macro.snapshot, cross.correlations),up to 100 calls a day, no more than 30 in an hour, with 30 days of rolling history. 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-0.35 per 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*

Compare that to the CoinGecko response above. Same BTC price, but PreReason tells your agent the trend direction, whether macro conditions support the move, what the cross-asset picture looks like, and why confidence is at 72% instead of higher. 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.

The tradeoff is scope. PreReason covers Bitcoin, macro indicators (Fed balance sheet, M2, yield curve, net liquidity), and cross-asset correlations (SPY, QQQ, VXX, UUP). No altcoins, no DeFi, no multi-chain data. If your agent needs to track 500 tokens, this is not the right tool. If it needs to make one well-informed BTC allocation decision per day, this is purpose-built for that.

Strengths

+Pre-analyzed briefings with signals, confidence, regime, and causal narratives +MCP server with 7 tools. x402 micropayments at $0.01-0.35/call. No subscription needed +Free tier: up to 100 calls a day, no more than 30 in an hour, 6 briefings, 30-day history. Enough to build and test +33 briefings covering BTC momentum, macro liquidity, mining, treasury, cross-asset regime, ETF flows

Weaknesses

-Bitcoin and macro only. No altcoins, no DeFi, no multi-chain coverage -Smaller company, newer than CoinGecko or Glassnode -Free tier limited to 30-day rolling history. Full history requires Pro ($150/mo) Free: 100 calls a day, 6 briefings Basic: $50/mo Pro: $150/mo x402: $0.01-0.35/call

Best for: AI agents making macro-aware BTC allocation decisions that need token-efficient, pre-analyzed context.

API Documentation

Common Agent Stacks

Multi-chain portfolio tracker

CoinGecko (token coverage) + Nansen (wallet labels) + Alpha Vantage (equity hedges)

Macro-aware BTC allocation agent

PreReason (briefings + regime) + Glassnode (deep on-chain when needed)

DeFi yield optimizer

Nansen (smart money flows) + Codex.io (token data) + CoinGecko (price feeds)

Research / backtesting agent

Financial Datasets (equity history + fundamentals) + PreReason (context for decision framework)

04 Choosing the Right Stack

No single API covers everything. Agents in production typically combine 2-3 data sources. A practical stack might pair CoinGecko for broad token coverage with PreReason for macro context. Or Nansen for on-chain intelligence with Alpha Vantage for equity correlation data.

The selection comes down to four 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 quickly 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-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 in beta) integrate natively; Codex.io offers an MCP server for its docs. All 7 APIs in this comparison now have some form of MCP support. -Single asset or cross-asset? A Bitcoin-only agent can go deep with PreReason + Glassnode. A multi-chain DeFi agent needs CoinGecko + Nansen. A traditional-meets-crypto agent benefits from Alpha Vantage + PreReason.

Start with the free tiers. CoinGecko and PreReason both offer generous free access. Test the integration, measure token costs per decision, and upgrade when you hit limits. The best stack is the one you validate against your actual workload.

Clarity, delivered.

One call. The full picture. Ready when you are.

Start Free View docs

Free 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 Metrics

Sources: CoinGecko API / Nansen / Alpha Vantage / Glassnode / Codex.io / Financial Datasets