Api Endpoint

Crypto Price and Token Price

Crypto price and token price lookup: live spot price and 24h change for BTC, ETH, SOL and other coins by ticker, or for any DEX-traded token by chain:address, in USD and other currencies. Data from DefiLlama. Three modes: (1) coins as CoinGecko-style IDs or tickers (up to 50) for live price and 24h change, converted to the requested currencies; (2) tokens as chain:address (e.g.

Open interactive test console

Offering

Provider
agentsvc.io
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://agentsvc.io/api/v1/proxy/crypto-prices
MIME type
application/json
First seen
2026-10-16T01:50:32.458Z
Last seen
Tags
crypto price, token price, Crypto, Price, market data

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.002 USDC
Atomic price: 2000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 4
0.002 USDC
Atomic price: 2000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "2000",
    "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
  }
]

Observed health

Status
Healthy
Latest latency
309 ms
Average latency
775 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "tokens": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Tokens as chain:address, e.g. base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
        },
        "at": {
          "type": "string",
          "description": "Past ISO date or unix seconds for historical USD prices"
        },
        "coins": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of coin IDs or ticker symbols. Accepts CoinGecko IDs (e.g. 'bitcoin', 'ethereum') or common tickers (e.g. 'BTC', 'ETH', 'SOL'). Max 25 coins per call.",
          "examples": [
            [
              "bitcoin",
              "ethereum"
            ],
            [
              "BTC",
              "ETH",
              "SOL"
            ],
            [
              "bitcoin",
              "BNB",
              "cardano"
            ]
          ]
        },
        "currencies": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [
            "usd"
          ],
          "description": "Target currencies. Default: ['usd']. Supported: usd, btc, eth and every ECB currency (eur, gbp, jpy, chf, aud, cad, ...)."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "at": {
              "description": "Past ISO date or unix seconds for historical USD prices",
              "type": "string"
            },
            "coins": {
              "description": "List of coin IDs or ticker symbols. Accepts CoinGecko IDs (e.g. 'bitcoin', 'ethereum') or common tickers (e.g. 'BTC', 'ETH', 'SOL'). Max 25 coins per call.",
              "examples": [
                [
                  "bitcoin",
                  "ethereum"
                ],
                [
                  "BTC",
                  "ETH",
                  "SOL"
                ],
                [
                  "bitcoin",
                  "BNB",
                  "cardano"
                ]
              ],
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "currencies": {
              "default": [
                "usd"
              ],
              "description": "Target currencies. Default: ['usd']. Supported: usd, btc, eth and every ECB currency (eur, gbp, jpy, chf, aud, cad, ...).",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "tokens": {
              "description": "Tokens as chain:address, e.g. base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": []
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "fetched_at": {
                  "description": "ISO 8601 timestamp of the data",
                  "format": "date-time",
                  "type": "string"
                },
                "not_found": {
                  "description": "Coin IDs or tickers that could not be resolved",
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "prices": {
                  "additionalProperties": {
                    "properties": {
                      "price_time": {
                        "description": "Time of the price",
                        "format": "date-time",
                        "type": "string"
                      },
                      "symbol": {
                        "description": "Ticker symbol (e.g. 'BTC')",
                        "type": "string"
                      },
                      "usd": {
                        "description": "Price in USD",
                        "type": "number"
                      },
                      "usd_24h_change": {
                        "description": "24-hour price change in percent (e.g. 2.35 means +2.35%)",
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "description": "Map of coin_id to price data: price(s) in the requested currencies, 24h change in USD terms and price time.",
                  "type": "object"
                },
                "source": {
                  "description": "'DefiLlama coins API', plus 'ECB reference rates' when fiat conversion was needed",
                  "type": "string"
                }
              },
              "required": [
                "prices",
                "fetched_at",
                "source"
              ],
              "type": "object"
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "data"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}