CoinCap API
Overview
CoinCap delivers real-time cryptocurrency prices and market data for thousands of assets through a straightforward REST API. No API key is required for most endpoints, making it one of the easiest crypto APIs to start with. It also offers a WebSocket feed for live price streaming without polling.
Beginner Tip
Fetch the current Bitcoin price with no signup at all: curl https://api.coincap.io/v2/assets/bitcoin — the id field in the URL matches the asset slug, not the ticker symbol.
Available Data
Example Response
{
"id": "bitcoin",
"symbol": "btc",
"current_price": 65432.1,
"market_cap": 1280000000000,
"price_change_24h": 1250.5,
"price_change_percentage_24h": 1.95,
"total_volume": 28500000000
} Field Reference
data.id Unique slug identifier for the asset (e.g., bitcoin). data.symbol Short ticker symbol (e.g., BTC). data.priceUsd Current price in USD as a high-precision decimal string. data.marketCapUsd Total market capitalization in USD. data.changePercent24Hr Percentage price change over the last 24 hours (can be negative). data.volumeUsd24Hr Total trading volume in USD across all exchanges in the past 24 hours. Implementation Example
const url = "https://docs.coincap.io/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →0x
0x provides programmatic access to api for querying token and pool stats across various liquidity pools via REST API.
1inch
⭐ Beginner's Pick1inch is a decentralized exchange (DEX) aggregator that finds the best swap routes across protocols like Uniswap, SushiSwap, and Curve.
Bitcambio
⭐ Beginner's PickBitcambio is a Brazilian cryptocurrency exchange that exposes a public REST API to retrieve all currently traded asset pairs and their market data.
BitcoinCharts
⭐ Beginner's PickBitcoinCharts provides financial and technical data about the Bitcoin network, including historical market data from dozens of exchanges worldwide.
CoinDesk
CoinDesk provides programmatic access to coindesk's bitcoin price index (bpi) in multiple currencies via REST API.