blockrun_price
Fetch realtime prices and OHLC history for crypto, FX, commodities, and global stocks, or discover available symbols.
Instructions
Realtime quotes and OHLC history for crypto, FX, commodities and 12 global stock markets (Pyth-backed).
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: $0.001 per price or history call (list free)
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: "stocks", symbol: "AAPL", market: "us" }
{ action: "history", category: "crypto", symbol: "ETH-USD", resolution: "D", from: 1700000000, to: 1710000000 }
{ action: "list", category: "crypto", query: "sol" }
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, AAPL, EUR-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). |