AI tools / Crypto Market Data API

Read crypto, FX and commodity prices per request, free

Daily-close crypto, FX and commodity prices and OHLC history on one free endpoint, no key. On-chain US stock prices per call; equity ticker catalogs per market.

Crypto price API: daily-close quotes and OHLC history, plus FX and metals, free on one endpoint

One symbol, one call: the latest daily close for a crypto pair, an FX cross or a metal, and OHLC history for the same symbol. The symbol is a path segment and the resolution a required query param, so a malformed request is refused with a clear error. Every response states its source, its timestamp and that it is a close rather than a tick.

Each asset class carries a list endpoint that enumerates what it can actually quote, which is the honest way to discover coverage: ask the list rather than guess a ticker. Equity markets list their tickers the same way. US tickers that trade as tokens also have a paid on-chain price route, priced from their DEX pools on Base or Solana; equity history and non-US prices are not served. Nothing free here needs a subscription, an exchange account or a payment header.

How to call the crypto price API — symbol, resolution, history

One endpoint, no API key and no account — and no payment header: every request on this card is free for callers.

GET /api/v1/crypto/price/BTC-USD
Host: blockrun.ai

Request parameters

FieldType
symbol *string

* required

What it covers

crypto3 endpoints
crypto/price/BTC-USD · crypto/history/BTC-USD · crypto/list
fx3 endpoints
fx/price/EUR-USD · fx/history/EUR-USD · fx/list
commodity3 endpoints
commodity/price/XAU-USD · commodity/history/XAU-USD · commodity/list
equity1 endpoint
usstock/list

Crypto prices for AI agents: from an MCP host, ClawRouter or the SDK

In Claude Code, Claude Desktop, Cursor, Windsurf, Cline and any other MCP host, this is the blockrun_price tool of the BlockRun MCP server — the agent calls it like any other tool and the result comes back in the conversation. In OpenClaw, Codex and Hermes, ClawRouter exposes the same catalog. In your own code, the Python and TypeScript SDKs wrap the endpoint above with types; any HTTP client works too. Every harness, with its setup →

No account, no API key and no payment header stand between an agent and the first call: every request on this card is free for callers.

Crypto price API vs CoinGecko, CoinMarketCap and exchange APIs

CoinGecko and CoinMarketCap are the reference price APIs, sold as monthly plans with a call quota and a key; the exchanges — Binance, Coinbase — publish live public feeds for the pairs they list. All of them are the right tool for a tick. This endpoint is the right tool for the other question an agent asks far more often: what did this close at, across crypto, FX and metals, with one request shape and no key.

It is free and it is a daily close, and it says both in every response. There is no quota, no key and no payment header; an agent that wants a live US stock price uses the paid on-chain route, which says which chain it priced and when, rather than being sold a close dressed as a tick.

It is REST, and it is a close. A streaming feed is not offered, and the on-chain stock price is a separate paid route; this page does not pretend to be either of them.

Crypto price API questions: pairs, history, FX, latency, pricing

What does the crypto price API return?

The latest daily close for a crypto pair, an FX cross or a metal, and OHLC history for the same symbol — from one endpoint shape across every asset class. Each response carries its source, its timestamp and realtime: false.

Which crypto pairs does the price API support?

Every pair the crypto list endpoint enumerates — ask the list rather than guess a ticker. Each asset class has its own list endpoint that says what it can quote.

Can I get historical crypto prices and OHLC candles?

Yes. The history endpoint returns daily-close OHLC bars for any supported symbol over the window you request; the docs carry the resolution and range parameters.

How much does the crypto price API cost?

Nothing. Crypto, FX and commodity price, history and the catalog endpoints take no payment header and no key. Only on-chain US stock prices are paid, per call.

Does the price API cover FX and commodities as well as crypto?

Yes. FX crosses and metals are served through the same endpoint shape, each with a list endpoint for coverage, at the same daily-close cadence.

Is the crypto price data realtime?

No. The free feeds are daily closes, and every response says so with realtime set to false and the timestamp of the close. Realtime coverage is available on request, which is the note the endpoint returns.

Are stock prices available through the price API?

For US tickers that trade as tokens, yes: the on-chain price route reads their DEX pools on Base or Solana and charges per call; a ticker with no on-chain market answers 404 and is not charged. Equity history and non-US prices are not served; every market's ticker catalog is free.

Crypto price API vs CoinGecko, CoinMarketCap or an exchange API?

CoinGecko and CoinMarketCap sell live prices on monthly plans with a call quota and a key; an exchange feed is live for one venue. This serves a free daily close across crypto, FX and metals with no plan and no key — the right tool when an agent needs the close, not the tick.

Can an AI agent read crypto prices without an API key?

Yes. Nothing on this endpoint needs a key or a payment, so an agent reads a close or a history with nothing to sign up for.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base, Solana or Arc. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Call Crypto Price API

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    GET /api/v1/crypto/price/BTC-USD
    Host: blockrun.ai

How this is paid: it is not — every request on this card is free for callers, with no payment header. The mechanism →