Retrieve the latest forex price

Return the latest available exchange rate for one currency pair, as a daily open, high, low, and close quote. This route doesn't accept date, sorting, or pagination parameters. Use it to convert an amount from the base currency to the quote currency: multiply by close.

GET/v3.0.0/forex-prices/latest/{identifier}

Plan Access

Free

(Your plan)

Individual

$29/mo

Professional

$89/mo

Parameters

Path parameters

identifierstringrequired

A pair code as BASEQUOTE or BASE/QUOTE, or a qualified pair symbol. The symbol of every List forex pairs result is accepted here.

Examples: EURUSDEUR/USDFX:EURUSD

Response

Response fields

symbolstring

Qualified pair symbol of the quoted pair, e.g. FX:EURUSD.

datestring

The quote day the prices refer to, in YYYY-MM-DD format.

opennumber

First exchange rate of the quote day, in quote-currency units per one base-currency unit. null when the source provides no opening rate.

highnumber

Highest exchange rate of the quote day. null when the source provides no high.

lownumber

Lowest exchange rate of the quote day. null when the source provides no low.

closenumber

Last exchange rate of the quote day. This is the field to use for a single daily rate, and it is always present.

Data timing

The resource is the latest daily record available to the API, not an intraday tick. While the current quote day is still open, its values can still change. Inspect date rather than assuming the response is a live streaming rate.

Use historical prices when you need more than one quote date.

Request
curl "https://api.roic.ai/v3.0.0/forex-prices/latest/EURUSD?apikey=YOUR_API_KEY"
Response
200 OK
{
  "symbol": "FX:EURUSD",
  "date": "2026-07-27",
  "open": 1.1386,
  "high": 1.14183,
  "low": 1.1367,
  "close": 1.1369
}