DocumentationCurrencies
Currencies
Exchange rates, rate history and currency conversion. Every successful request counts against your plan. See the currencies data page for what is covered.
Latest rates against a base currency
GET/v1/fx/rates/{base}
- basepath, required
- Three-letter base currency code, for example USD.
- currenciesquery, optional
- Comma-separated three-letter currency codes. Left out means every currency.
curl "https://api.dino.markets/v1/fx/rates/USD" \ -H "Authorization: Bearer $DINO_API_KEY"
Daily rate history
GET/v1/fx/rates/{base}/observations
- basepath, required
- Three-letter base currency code, for example USD.
- currenciesquery, required
- Comma-separated three-letter currency codes. Left out means every currency.
- start_datequery, required
- First date of the range, inclusive (YYYY-MM-DD).
- end_datequery, required
- Last date of the range, inclusive (YYYY-MM-DD).
- limitquery, optional
- Number of results per page. Default 100. 1 to 366.
- cursorquery, optional
- The next_cursor of the previous page, with the same other parameters.
curl "https://api.dino.markets/v1/fx/rates/USD/observations?currencies=EUR,IDR&start_date=2026-01-01&end_date=2026-06-30" \ -H "Authorization: Bearer $DINO_API_KEY"
Rate history as bars
GET/v1/fx/rates/{base}/bars
- basepath, required
- Three-letter base currency code, for example USD.
- currencyquery, required
- Three-letter currency code, for example USD.
- startquery, required
- First date or time of the range, inclusive.
- endquery, required
- Last date or time of the range.
- intervalquery, optional
- Bar size. One of 1m, 5m, 15m, 1h, 4h, 1d. Default 1d.
- limitquery, optional
- Number of results per page. Default 100. 1 to 500.
- cursorquery, optional
- The next_cursor of the previous page, with the same other parameters.
curl "https://api.dino.markets/v1/fx/rates/USD/bars?currency=IDR&interval=1d&start=2026-01-01T00:00:00Z&end=2026-01-31T00:00:00Z" \ -H "Authorization: Bearer $DINO_API_KEY"
Convert an amount between two currencies
GET/v1/fx/convert
- fromquery, required
- Three-letter code of the currency to convert from.
- toquery, required
- Three-letter code of the currency to convert to.
- amountquery, required
- Amount to convert, as a decimal string.
curl "https://api.dino.markets/v1/fx/convert?from=USD&to=IDR&amount=100" \ -H "Authorization: Bearer $DINO_API_KEY"
Start with a free key
3,000 requests a month, no card needed.