Convertz API Documentation
Free REST API for live currency exchange rates, cryptocurrency prices, and precious metal prices. No API key required.
No API Key
Start making requests immediately. Zero setup required.
CORS Enabled
Use directly from browser JavaScript. All origins allowed.
Always Fresh
Rates update every 1-60 minutes depending on data type.
Base URL
Endpoints
/api/currencyReturns live exchange rates for 150+ currencies (USD base). Updated hourly.
Cached for 1 hour (stale-while-revalidate: 2 hours)
Example Response
{
"rates": {
"EUR": 0.8462,
"GBP": 0.7321,
"JPY": 149.52,
...
},
"base": "USD",
"timestamp": "2026-02-28T12:00:00Z"
}/api/currency/{from}-to-{to}/historyReturns historical exchange rate data for a currency pair. Supports 7, 30, and 90 day ranges.
Cached for 12 hours
Query Parameters
days(number)Number of days of history (7, 30, or 90). Default: 30Example Response
{
"rates": {
"2026-02-01": 0.8451,
"2026-02-02": 0.8467,
...
},
"from": "USD",
"to": "EUR"
}/api/cryptoReturns live prices for 100+ cryptocurrencies in USD. Updated every 5 minutes.
Cached for 5 minutes (stale-while-revalidate: 10 minutes)
Example Response
{
"bitcoin": {
"id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin",
"current_price": 63985.83,
"market_cap": 1297000000000,
"price_change_24h": -4.08,
...
},
...
}/api/crypto/{id}/historyReturns historical price data for a specific cryptocurrency.
Cached for 12 hours
Query Parameters
days(number)Number of days of history (7, 30, or 90). Default: 7Example Response
{
"prices": [
[1709164800000, 63500.12],
[1709251200000, 64200.45],
...
],
"id": "bitcoin"
}/api/metalsReturns live prices for 19 precious and industrial metals in USD per troy ounce. Updated every minute.
Cached for 1 minute (stale-while-revalidate: 2 minutes)
Example Response
{
"XAU": { "price": 5280.20, "name": "Gold", "unit": "troy ounce" },
"XAG": { "price": 32.15, "name": "Silver", "unit": "troy ounce" },
"XPT": { "price": 1045.30, "name": "Platinum", "unit": "troy ounce" },
...
}Quick Start
const response = await fetch('https://convertz.app/api/currency');
const data = await response.json();
console.log('EUR rate:', data.rates.EUR);curl https://convertz.app/api/currency curl https://convertz.app/api/crypto curl https://convertz.app/api/metals
import requests
data = requests.get('https://convertz.app/api/crypto').json()
btc = data['bitcoin']['current_price']
print(f'Bitcoin: $' + '{btc}')Embed Widget
Want to embed a live converter widget on your website? Use our free embeddable converter widgets — no coding required.
Get Embed CodeRate Limits & Fair Usage
- ✓No API key required — start using immediately
- ✓Responses are cached at the CDN level for optimal performance
- ✓Fair usage: please keep requests reasonable (under 100/min)
- ✓Attribution appreciated but not required