BlockRun
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. Equity ticker catalogs per market; realtime feeds on request.

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, but their price and history routes are not served today — the endpoint says so and names the contact for realtime and equity coverage. Nothing here needs a subscription, an exchange account or a payment header.

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

One endpoint, priced in dollars before it runs and settled in USDC. No API key and no account — the request pays for itself.

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 and no API key stand between an agent and the first call: the request is quoted in dollars and the agent's client pays it. A team that prefers keys gets one and pays by card or invoice.

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 tick or an equity quote asks for the on-request coverage the endpoint names, rather than being sold a number that is not what it looks like.

It is REST, and it is a close. A streaming feed and an equity quote are the on-request products the endpoint names in its own note, and 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. Price, history and the catalog endpoints take no payment header and no key. Realtime feeds and equity quotes are arranged on request rather than sold 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?

Not today. Equity markets list their tickers on a free catalog endpoint, but the equity price and history routes answer that they are not available and name the contact for realtime and global equity coverage.

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 or Solana. 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 a call is paid: the request is answered with its exact dollar price (HTTP 402), the client pays that amount from its balance and resends, the call runs. No invoice afterwards on this door; an API key, paid by card or invoice, on the other. The mechanism →