FRED bulk release observations (v2)
GET /api/fred-release-observationsBulk-fetch observations for every series in a FRED release in one call. Send GET /api/fred-release-observations with the required field releaseId and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with releaseId, releaseName, count, series, cursor and 1 more.
Use it to grab an entire economic report (jobs report, CPI report, GDP release) without enumerating constituent series IDs first. Returns paginated; pass lastSeriesId + lastObservationDate back to fetch the next page. ?releaseId=18 for H.15 (Selected Interest Rates), 10 for CPI, 50 for Employment Situation, 53 for GDP. Source: FRED API v2 /release/observations endpoint. This product uses the FRED(R) API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
releaseId | number | yes | FRED release ID (e.g. 18 for H.15, 10 for CPI, 50 for jobs, 53 for GDP) |
startDate | string | no | ISO start date (YYYY-MM-DD), optional |
endDate | string | no | ISO end date (YYYY-MM-DD), optional |
lastSeriesId | string | no | Pagination cursor: lastSeriesId from previous response (optional) |
lastObservationDate | string | no | Pagination cursor: lastObservationDate from previous response (optional) |
Example request
curl -i "https://agent402.tools/api/fred-release-observations?releaseId=18&startDate=2026-05-01&endDate=2026-06-01"
Without payment this returns HTTP 402 Payment Required with the exact price for fred-release-observations; any x402 v2 or MPP client pays it and retries.
Example response
{
"releaseId": 18,
"releaseName": "H.15 Selected Interest Rates",
"count": 16,
"series": [
{
"seriesId": "DGS10",
"title": "10-Year Treasury Constant Maturity Rate",
"units": "Percent",
"observations": [
{
"date": "2026-06-17",
"value": 4.49
}
]
}
],
"cursor": {
"hasMore": false
},
"source": "FRED API v2"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
releaseId | number | yes | 18 |
releaseName | string | yes | H.15 Selected Interest Rates |
count | number | yes | 16 |
series | array of objects | yes | 1 item in the example |
cursor | object | yes | 1 field: hasMore |
source | string | yes | FRED API v2 |
From an MCP client
catalog.call {
"slug": "fred-release-observations",
"params": {
"releaseId": 18,
"startDate": "2026-05-01",
"endDate": "2026-06-01"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for fred-release-observations; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
releaseIdis required. An input the tool rejects returns an HTTP 4xx whose body carrieserror,tool,expected,requiredandexample, so the caller can correct it.- A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/fred-release-observations is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
Paid call (JavaScript agent)
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/fred-release-observations?releaseId=18&startDate=2026-05-01&endDate=2026-06-01");
Related tools
FRED economic release calendar
GET /api/fred-release-calendarUpcoming and very-recent US economic data release dates - CPI, employment, GDP, FOMC minutes, Treasury auctions, etc. Us…
FRED time series
GET /api/fred-seriesFetch any of FRED's ~800,000 economic time series by series ID - GDP (GDPC1), CPI (CPIAUCSL), unemployment (UNRATE), fed…
US CPI year-over-year inflation
GET /api/cpi-yoyLatest US Consumer Price Index year-over-year inflation rate (headline CPI-U) plus the trailing 12 months of YoY reading…
Effective federal funds rate
GET /api/fed-fundsCurrent effective federal funds rate (current, as of date, in percent) plus a trailing N-day history of {date, value}. S…
FRED catalog search
GET /api/fred-searchFull-text search across FRED's ~800,000 economic time series. Returns series IDs (use with /api/fred-series), titles, fr…
FRED series metadata
GET /api/fred-series-infoMetadata for a FRED series: title, frequency, units, seasonal adjustment, observation date range, and popularity. Use be…