{ } Developer API
Free Crypto Data API
Live cryptocurrency prices, market caps, 24h changes and search — free for developers. No API key required for basic access. JSON, simple REST endpoints.
✓ Free to use · No sign-up required · JSON · CORS enabled
Free
Basic Tier
60/min
Rate Limit
JSON
Response Format
<2min
Data Freshness
REST
Protocol
HTTPS
Transport
⚡ Live API Tester — try it right now
// Response will appear here…
📡 Endpoints
GET
/api/prices.php
Live prices, 24h/7d/30d change, market cap, volume
| Parameter | Type | Required | Description |
|---|---|---|---|
| ids | string | Required | Comma-separated coin IDs (e.g. bitcoin,ethereum,solana). Max 100. |
Request
GET https://www.blokaro.com/api/prices.php?ids=bitcoin,ethereum
Response
{
"bitcoin": {
"price_usd": 67420.52,
"price_gbp": 53180.44,
"price_eur": 62310.88,
"change_24h": 2.41,
"change_7d": -1.82,
"change_30d": 14.55,
"market_cap_usd": 1327000000000,
"volume_24h_usd": 28400000000
}
}
GET
/api/search.php
Search coins by name or symbol
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | Required | Search term — coin name, symbol or ID. Min 1 char. |
Request
GET https://www.blokaro.com/api/search.php?q=eth
Response
[
{
"coin_id": "ethereum",
"slug": "ethereum",
"name": "Ethereum",
"symbol": "ETH",
"logo_url": "https://...",
"rank": 2,
"price_usd": 3240.18,
"change_24h": 1.55
}
]
GET
/api/sparkline.php
7-day price sparkline data
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Required | Coin ID (e.g. bitcoin) |
Request
GET https://www.blokaro.com/api/sparkline.php?id=bitcoin
Response
{
"id": "bitcoin",
"prices": [65100, 66420, ...],
// 168 hourly price points (7 days)
}
📊 Rate Limits & Plans
| Feature | Free | Pro (coming soon) |
|---|---|---|
| Price endpoint calls | 60 / minute | 600 / minute |
| Search calls | 60 / minute | 300 / minute |
| Coins per request | 100 | 500 |
| API key required | ✓ No | ✓ Yes (simple) |
| Historical price data | ✗ | ✓ |
| OHLCV candle data | ✗ | ✓ |
| Commercial use | ✓ Permitted | ✓ Permitted |
| Attribution required | Appreciated | Appreciated |
Fair use: The free tier is genuinely free — no hidden limits or forced sign-ups. Please don't abuse it with automated scraping at high frequency. If you're building something that needs more throughput, get in touch and we'll work something out.
💻 Code Examples
JavaScript (fetch)
const res = await fetch(
'https://www.blokaro.com/api/prices.php?ids=bitcoin'
);
const data = await res.json();
console.log(data.bitcoin.price_usd);
// → 67420.52
Python (requests)
import requests
r = requests.get(
'https://www.blokaro.com/api/prices.php',
params={'ids': 'bitcoin,ethereum'}
)
data = r.json()
print(data['bitcoin']['price_usd'])
# → 67420.52
PHP (curl)
$url = 'https://www.blokaro.com/api/prices.php'
. '?ids=bitcoin';
$json = file_get_contents($url);
$data = json_decode($json, true);
echo $data['bitcoin']['price_usd'];
// → 67420.52
cURL (terminal)
curl -s \
"https://www.blokaro.com/api/prices.php\
?ids=bitcoin,ethereum,solana" \
| python3 -m json.tool