blockrun_price
Fetch realtime quotes and OHLC history for crypto, FX and commodities, get on-chain US stock prices, and list available tickers across 12 stock markets.
Instructions
Prices for crypto, FX and commodities (free daily closes and OHLC history), on-chain US stock prices, and the ticker catalog for 12 stock markets.
action="price" — realtime quote for a symbol
action="history" — OHLC bars between from/to (unix seconds)
action="list" — discovery: list available symbols (free)
Pricing:
crypto / fx / commodity: FREE across price, history and list
stocks / usstock, market "us", action "price": $0.005 — ON-CHAIN price from tokenized-stock DEX pools on your ACTIVE chain (Base: Coinbase Tokenized Stocks; Solana: xStocks). Returns the price, every pool with its liquidity, the dividend multiplier, the US session and SEC company facts. It is the token's price on that chain, not an exchange quote. A ticker with no on-chain market on your chain is refused before payment; the other chain may have it (see otherChains).
stocks / usstock: list (ticker catalog) FREE; US history and every non-US price/history NOT SERVED — 501 before payment, nothing charged, do not retry
Stocks markets: us, hk, jp, kr, gb, de, fr, nl, ie, lu, cn, ca (required when category="stocks").
Examples:
{ action: "price", category: "crypto", symbol: "BTC-USD" }
{ action: "price", category: "fx", symbol: "EUR-USD" }
{ action: "history", category: "crypto", symbol: "ETH-USD", resolution: "D", from: 1700000000, to: 1710000000 }
{ action: "list", category: "crypto", query: "sol" }
{ action: "price", category: "stocks", market: "us", symbol: "NVDA" } ($0.005, on-chain)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"category": "<category>"
},
"name": "blockrun_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | History window end (unix seconds). | |
| from | No | History window start (unix seconds). | |
| limit | No | Max items for list (default 100, max 2000). | |
| query | No | Free-text filter for list. | |
| action | Yes | Which endpoint to hit: price, history, or list. | |
| market | No | Stock market code — required when category='stocks'. | |
| symbol | No | Ticker (required for price+history). e.g. BTC-USD, EUR-USD, XAU-USD. | |
| session | No | Equity session hint (pre/post/on); ignored for non-equity. | |
| agent_id | No | Agent identifier for budget tracking and enforcement. | |
| category | Yes | Market category. | |
| resolution | No | Bar resolution for history (default D). |