InícioAPI de cotação intraday

API de cotação intraday

Obtenha por REST observações de mercado com data e hora para pares compatíveis. Use uma chave de API Pro para esta solicitação USD/JPY de 15 minutos.

API de cotações de câmbio · Atualizada em 15 de set. de 2026

Experimente uma observação USD/JPY de 15 minutos

Experimente uma observação USD/JPY de 15 minutos · Pro
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"
JSON · resposta registrada, 2026-09-15
{  "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."}

Este exemplo fixo foi observado em 2026-09-15 para o intervalo das 12:00 UTC de 2026-09-14. A cotação é indicativa. timestamp é o início do intervalo; effective_at é o horário da observação.

Intervalos e histórico disponível

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.

intervalUnique pairsJanela máxima por solicitação
1m2217 d
5m22131 d
15m22193 d
1h221366 d
4h2091830 d
1d102961830 d

Check pair-specific coverage and limits

Observações ausentes e pares cruzados

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.

Read the historical docsAPI de cotação via WebSocket

Autenticação e uso comercial

Plus: 1h e 4h por 30 dias. Pro: 1m nos últimos 30 dias, e de 5m a 4h com histórico completo. Ambos exigem uma chave.

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.

PlanoChamadas por mêsUso comercial
Free5,000Exibir com crédito visível e com link
Basic100,000Sim
Plus300,000Sim
Pro1,000,000Sim

Ver preçosCriar uma chave gratuita