Crypto Price Widget and Open API
Add a free, live cryptocurrency price box to your website, or read prices as JSON. No sign-up or API key needed.
Create a widget
Preview
Code to add to your site
The widget refreshes itself every 5 minutes. Please keep the altlar.com link below the box; it is the only condition for free use. The widget itself is shown in Turkish.
Open JSON API
Read-only, no key required, and callable directly from the browser (CORS enabled). Responses are cached for 60 seconds; polling more often will not return newer data.
| Endpoint | Returns |
|---|---|
GET /api/v1/tickers | All tracked assets: price (USD, TRY), 24h / 7d / 30d change, market cap, 24h volume. |
GET /api/v1/coin/{slug} | A single asset, plus supply, all-time high and number of exchanges. The slug is in the coin page address: /en/c/bitcoin. |
Example
curl https://www.altlar.com/api/v1/coin/bitcoin
{
"updated_at": "2026-10-17T05:30:01+00:00",
"usd_try": 49.37,
"data": {
"slug": "bitcoin", "symbol": "BTC", "name": "Bitcoin",
"price_usd": …, "price_try": …, "price_source": "markets",
"change_24h": …, "market_cap_usd": …, "volume_24h_usd": …,
"url": "https://www.altlar.com/c/bitcoin"
}
}
Rules
- Credit the source: link to altlar.com wherever you show the data.
- A
nullvalue means “unknown”, not zero. - If
price_sourceis notmarkets, the price is not live (daily_close: last daily close). change_24his set only for assets with a live price; 7- and 30-day changes are calculated from daily closes.- The data is for information only; do not use it as the sole source for trading or automated transactions.