GET /market/macro
GET

/v1/market/macro

Latest US macro readings from FRED: effective fed funds rate, 10-year Treasury yield, CPI and M2 year over year, unemployment, jobless claims, broad dollar index. With id: every observation of that series over the last months

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/market/macro
Query parameterValueDescription
idDFF|DGS10|CPIAUCSL|UNRATE|ICSA|DTWEXBGS|M2SL (optional: one series' history instead)
monthsint 1-24 (default 12, with id)
curl 'https://api.xrpl.to/v1/market/macro'

Response

200Example response298 ms · just now · 1.7 KB · 67 lines
https://api.xrpl.to/v1/market/macro
{
  "success": true,
  "series": [
    {
      "id": "DFF",
      "name": "Effective federal funds rate",
      "units": "% (daily)",
      "url": "https://fred.stlouisfed.org/series/DFF",
      "value": 3.88,
      "date": "2026-10-08",
      "previous": {
        "value": 3.88,
        "date": "2026-10-07"
      }
    },
    {
      "id": "DGS10",
      "name": "10-year Treasury yield",
      "units": "% (daily)",
      "url": "https://fred.stlouisfed.org/series/DGS10",
      "value": 5.22,
      "date": "2026-10-08",
      "previous": {
        "value": 5.28,
        "date": "2026-10-07"
      }
    },
    {
      "id": "CPIAUCSL",
      "name": "CPI inflation, year over year",
      "units": "% change from a year earlier (monthly)",
      "url": "https://fred.stlouisfed.org/series/CPIAUCSL",
      "value": 3.35302,
      "date": "2026-08-01",
      "previous": {
        "value": 3.30386,
        "date": "2026-07-01"
      }
    },
    {
      "id": "UNRATE",
      "name": "Unemployment rate",
      "units": "% (monthly)",
      "url": "https://fred.stlouisfed.org/series/UNRATE",
      "value": 4.2,
      "date": "2026-09-01",
      "previous": {
        "value": 4.1,
        "date": "2026-08-01"
      }
    },
    {
      "id": "ICSA",
      "name": "Initial jobless claims",
      "units": "claims (weekly)",
      "url": "https://fred.stlouisfed.org/series/ICSA",
      "value": 197000,
      "date": "2026-10-03",
      "previous": {
        "value": 199000,
        "date": "2026-09-26"
      }
    }
  ],
  "source": "FRED, Federal Reserve Bank of St. Louis",
  "note": "Each value is the latest observation FRED has published, dated by the period it covers."
}

Long arrays and strings are shortened in the example; Send request for the full answer.

Shapeas documented
{
  success,
  series[] {
    id,
    name,
    units,
    value,
    date,
    previous { value, date },
    url
  },
  source,
  note
}; with id {
  success,
  id,
  name,
  units,
  url,
  months,
  from,
  observations[] { date, value },
  source,
  note
}

What it does

Latest US macro readings from FRED: effective fed funds rate, 10-year Treasury yield, CPI and M2 year over year, unemployment, jobless claims, broad dollar index. With id: every observation of that series over the last months

OpenAPI