ByteTree API documentation

Latest Rates

Today’s exchange rate for every currency ByteTree tracks, quoted in US dollars — GBPUSD = 1.27 means one British pound buys 1.27 US dollars.

This endpoint carries the rates themselves (date, open, high, low, close). For trend scores, trend regimes and other computed metrics on currency pairs, see FX Metrics.

Request

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

Query Parameters

NameTypeRequiredDescription
formatstringNoResponse format: json (default), csv, or toon

Response

FieldTypeDescription
countnumberTotal number of pairs returned
dataarrayArray of rate objects

Each rate object:

FieldTypeDescription
pairstringCurrency pair code (e.g. GBPUSD)
datestringISO 8601 date of the rate
opennumber | nullOpening price
highnumber | nullDay high
lownumber | nullDay low
closenumberClosing price
sourcestringIngest provenance: feed (provider-sourced), synthetic (derived — e.g. the USDUSD identity row), or carry-forward (weekend/holiday fill)
{
  "count": 33,
  "data": [
    {
      "pair": "ARSUSD",
      "date": "2026-02-16T00:00:00.000Z",
      "open": 0.000891,
      "high": 0.000895,
      "low": 0.000889,
      "close": 0.000892,
      "source": "feed"
    },
    {
      "pair": "GBPUSD",
      "date": "2026-02-16T00:00:00.000Z",
      "open": 1.2710,
      "high": 1.2750,
      "low": 1.2700,
      "close": 1.2731,
      "source": "feed"
    },
    {
      "pair": "USDUSD",
      "date": "2026-02-16T00:00:00.000Z",
      "open": null,
      "high": null,
      "low": null,
      "close": 1.0,
      "source": "synthetic"
    }
  ]
}

Notes