Coin Price API

Historical Cryptocurrency Price Data with X402 Micropayments

💰 X402 Payments

Blockchain micropayments via Polygon. Pay only for what you use with automatic payment handling. $0.001 USDC per query.

📊 Comprehensive Data

Get price, market cap, volume, and cross-rates (BTC/ETH) for thousands of cryptocurrencies.

Quick Start

GET /api/price/{coinId}/{date}

Retrieve historical price data for any cryptocurrency:

curl https://coinapi.dev/api/price/bitcoin/2024-01-01

Response:

{
  "source": "database",
  "coin_id": "bitcoin",
  "timestamp": 1704067200,
  "price": 42000.50,
  "market_cap": 825000000000,
  "volume_24h": 28500000000,
  "price_btc": 1.0,
  "price_eth": 18.5
}

X402 Payment Integration

This API supports X402 micropayments powered by the Polygon network. X402 ENABLED Current price: $0.001 USDC per query.

Use the Autopay browser extension for seamless automatic payments. The extension detects payment challenges and handles authorization automatically.

Try It Now

Launch Demo →