fred_macro_series
Get the latest cleaned observations for any FRED macro series by ID, such as yields or balance sheet data, with paid access via x402 authorization.
Instructions
Fetch a Federal Reserve Economic Data (FRED) series by ID — e.g. 'DGS10' (10Y yield), 'WALCL' (Fed balance sheet), 'T10Y2Y' (yield curve). Returns cleaned latest observations. Priced at $0.005 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"series_id": "<series_id>"
},
"name": "fred_macro_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _payment | No | Optional. Signed x402 v2 X-PAYMENT header value (base64-encoded EIP-3009 authorization). If present, forwarded upstream; if absent, tool returns the 402 accept-list. | |
| series_id | Yes | FRED series ID (e.g. 'DGS10', 'WALCL', 'T10Y2Y', 'DFF'). |