macro.series.get
1 crread-onlyGet recent observations for a macro/economic time series from FRED (e.g. GDP, CPIAUCSL, DGS10, UNRATE).
Parameters#
| Parameter | Type | Description |
|---|---|---|
series_idreq | string | FRED series ID, e.g. 'DGS10' (10y Treasury), 'CPIAUCSL' (CPI) |
limitopt | number | How many recent observations (default 24) |
Example call#
bash
curl -X POST https://arkolith.com/api/mcp \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "macro.series.get",
"arguments": {
"series_id": "DGS10",
"limit": 24
}
}
}'Example response#
json
{
"series_id": "DGS10",
"observations": [
{ "date": "2026-06-05", "value": 4.31 },
{ "date": "2026-06-04", "value": 4.34 }
],
"provenance": { "source": "FRED (Federal Reserve Bank of St. Louis)", "series_id": "DGS10" }
}