Essayez une observation USD/JPY sur 15 minutes
curl "https://api.exchangerate.dev/v1/timeseries?base=USD&symbols=JPY&interval=15m&from=2026-09-14T12:00:00Z&to=2026-09-14T12:00:00Z" -H "Authorization: Bearer YOUR_API_KEY"{ "result": "success", "base": "USD", "symbols": ["JPY"], "interval": "15m", "from": "2026-09-14T12:00:00Z", "to": "2026-09-14T12:00:00Z", "data": [{ "timestamp": "2026-09-14T12:00:00Z", "effective_at": { "JPY": "2026-09-14T12:14:58.972181Z" }, "rates": { "JPY": 154.582 }, "source": "live", "source_type": "market", "market_session": "open", "derived_symbols": [] }], "next_cursor": null, "has_more": false, "notice": "Indicative rates, not for settlement."}Cet exemple fixe a été observé le 2026-09-15 pour la tranche de 12:00 UTC du 2026-09-14. Le taux est indicatif. timestamp est le début de la tranche ; effective_at est l’heure d’observation.
Intervalles et historique disponible
The supported market intervals are 1m, 5m, 15m, 1h and 4h. The 1d interval reads daily reference history. Market collection began on 2026-09-14; 1m is retained for 30 days, while coarser intervals have no scheduled expiry. Retention does not mean that every pair already has that much history.
| interval | Unique pairs | Fenêtre maximale par requête |
|---|---|---|
1m | 221 | 7 d |
5m | 221 | 31 d |
15m | 221 | 93 d |
1h | 221 | 366 d |
4h | 209 | 1830 d |
1d | 10296 | 1830 d |
Observations manquantes et taux croisés
Intraday gaps remain gaps. Cross rates require real closing ticks from both USD legs in the same UTC interval, at most five seconds apart. effective_at is the older observation time. The current bucket can change; 1d remains daily reference history.
A supported window without observations returns HTTP 200 with data: [], has_more: false and next_cursor: null. An unknown interval returns unsupported_interval. A request containing an unsupported pair returns HTTP 400 unsupported_pair_interval with rejected_pairs; the whole request is rejected.
Authentification et usage commercial
Plus : 1h et 4h sur 30 jours. Pro : 1m sur les 30 derniers jours, puis de 5m à 4h avec tout l’historique. Les deux exigent une clé.
Plus: 1h and 4h for 30 days. Pro: 1m last 30 days; 5m to 4h, full depth. Both need a key. Anonymous latest and 30-day daily history: 10 requests per minute, 100 per hour per IP.
| Plan | Appels par mois | Usage commercial |
|---|---|---|
| Free | 5,000 | Affichage avec crédit visible et lié |
| Basic | 100,000 | Oui |
| Plus | 300,000 | Oui |
| Pro | 1,000,000 | Oui |