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 response330 ms · just now · 0.7 KB · 32 lines
https://api.xrpl.to/v1/market/macro
{
  "success": true,
  "series": [
    {
      "id": "DFF",
      "name": "Effective federal funds rate",
      "error": "unavailable"
    },
    {
      "id": "DGS10",
      "name": "10-year Treasury yield",
      "error": "unavailable"
    },
    {
      "id": "CPIAUCSL",
      "name": "CPI inflation, year over year",
      "error": "unavailable"
    },
    {
      "id": "UNRATE",
      "name": "Unemployment rate",
      "error": "unavailable"
    },
    {
      "id": "ICSA",
      "name": "Initial jobless claims",
      "error": "unavailable"
    }
  ],
  "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