Get FX Pair

Returns the latest computed metrics for a single FX pair. The canonical zero-ambiguity surface for single-pair lookups — see the FX Namespace overview for the polymorphic alternatives on /api/assets/:id and /api/metrics/:symbol/latest.

Request

curl https://api.bytetree.io/api/fx/EURUSD

# Lower case is fine — symbols are normalised
curl https://api.bytetree.io/api/fx/gbpjpy

Path Parameters

NameTypeRequiredDescription
symbolstringYesConcatenated FX pair code (e.g. EURUSD, GBPJPY). Case-insensitive.

Response

FieldTypeDescription
dataobjectThe synthesised FX record with metrics merged at the top level

The data object:

FieldTypeDescription
symbolstringThe normalised (uppercase) symbol
namestringPretty slash form (e.g. EUR/USD)
typestringAlways "fx"
datestringISO 8601 date of the latest record
closenumberLatest close rate
metric fieldsvariousComputed metric fields merged at the top level — see Latest Metrics for the full set and definitions
{
  "data": {
    "symbol": "EURUSD",
    "name": "EUR/USD",
    "type": "fx",
    "date": "2026-05-05T00:00:00.000Z",
    "close": 1.16838,
    "byteTrendCapr200w": 4,
    "trendRegimeCapr200w": "Emerging Trend",
    "changeCapr200w": 1
  }
}

Errors

StatusDescription
404No rate data exists for the given symbol

Notes