Skip to content
onelayer.
All tools

Tool detail

BlockRun.AI

Returns current token price(s) for one or more coin identifiers (e.g. coingecko:bitcoin, ethereum:0xC02a...), comma-separated for batch lookups.

Categories: Market prices

Use when

  • get the current USD price for a token by CoinGecko id
  • look up a token's price by its chain and contract address
  • batch-price several tokens in one call

Not for

  • not historical price series — current price only
  • not a trading quote — reference price only, no execution

Inputs

GET path parameter: {coins} appended to /v1/defillama/prices/ — one or more comma-separated coin ids (e.g. coingecko:bitcoin)

Admitted input schema

{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://blockrun.ai/api/v1/defillama/prices/coingecko:bitcoin

Payment

Protocol
x402
Listed price
0.002 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://blockrun.ai/api/v1/defillama/prices/coingecko:bitcoin
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z