Skip to content
onelayer.
All tools

Tool detail

crypto

Returns live crypto prices plus 24h change, market cap, and volume for one or more tokens via CoinGecko.

Categories: Market prices

Use when

  • get the current price of BTC, ETH, SOL, or other tokens
  • batch-fetch prices for multiple crypto tickers at once
  • convert a token's price into a non-USD quote currency

Not for

  • not historical price charts; current snapshot only

Inputs

GET query params: symbol, id (schema marks both required though description implies either suffices); vs (optional, default usd)

Admitted input schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "CoinGecko id(s), e.g. bitcoin or bitcoin,ethereum. Use this for coins not covered by ticker mapping. Alias: ids."
    },
    "symbol": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Token ticker(s), e.g. BTC or BTC,ETH,SOL (batch). Common tickers are auto-mapped. Alias: symbols."
    },
    "vs": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Quote currency, default usd. e.g. usd, eur, jpy. Comma-separated allowed."
    }
  },
  "required": [
    "symbol",
    "id"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://api.x402node.dev/finance/crypto

Payment

Protocol
x402
Listed price
0.004 USDC per call on Base (also accepts Solana).
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://api.x402node.dev/finance/crypto
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z