List FX Pairs

Returns all tracked FX pairs with their latest computed metrics. The canonical zero-ambiguity surface for FX-only consumers — see the FX Namespace overview for how this relates to /api/rates and the polymorphic /api/assets?type=fx.

Request

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

# Search by pair (substring match on symbol or pretty form)
curl "https://api.bytetree.io/api/fx?q=EUR"

# Cherry-pick fields
curl "https://api.bytetree.io/api/fx?fields=byteTrendCapr200w,trendRegimeCapr200w,changeCapr200w"

# Paginate
curl "https://api.bytetree.io/api/fx?limit=20&offset=0"

Query Parameters

NameTypeRequiredDescription
qstringNoSubstring match on the concatenated symbol (EURUSD) or the slash-form pretty name (EUR/USD). Case-insensitive.
fieldsstringNoComma-separated list of metric keys to include. symbol, name, type, date, and close are always returned.
limitnumberNoMaximum number of pairs per page. Default 500, capped at 1000.
offsetnumberNoNumber of records to skip. Default 0.

Response

This endpoint uses the paginated list envelope:

FieldTypeDescription
countnumberLength of the returned data array (records on this page)
totalnumberFull match count for the same filter, ignoring limit and offset
limitnumberEchoed input limit
offsetnumberEchoed input offset
dataarrayArray of FX pair records

Each record in data:

FieldTypeDescription
symbolstringConcatenated pair code (e.g. EURUSD)
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
{
  "count": 34,
  "total": 34,
  "limit": 500,
  "offset": 0,
  "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
    }
  ]
}

Notes