FRED catalog search

$0.005 per call · USDC via x402 · GET /api/fred-search

Full-text search across FRED's ~800,000 economic time series. Send GET /api/fred-search with the required field q and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with query, count and results.

Returns series IDs (use with /api/fred-series), titles, frequency, units, and a popularity score. ?q=unemployment+rate&limit=10 This product uses the FRED(R) API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.

Category: Live public data · Tags: fred search catalog economic-data st-louis-fed macro time-series

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
qstringyesSearch text Also accepted as query, search, term, keyword.
limitnumbernoResults to return, 1-100 (default 10)

Example request

curl -i "https://agent402.tools/api/fred-search?q=consumer+price+index&limit=5"

Without payment this returns HTTP 402 Payment Required with the exact price for fred-search; any x402 v2 or MPP client pays it and retries.

Example response

{
  "query": "consumer price index",
  "count": 5,
  "results": [
    {
      "id": "CPIAUCSL",
      "title": "Consumer Price Index for All Urban Consumers: All Items",
      "frequency": "Monthly",
      "units": "Index 1982-1984=100",
      "popularity": 95
    }
  ]
}
FieldTypeAlways presentIn the example
querystringyesconsumer price index
countnumberyes5
resultsarray of objectsyes1 item in the example

From an MCP client

catalog.call {
  "slug": "fred-search",
  "params": {
    "q": "consumer price index",
    "limit": 5
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for fred-search; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

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-search?q=consumer+price+index&limit=5");

Related tools

FRED time series

$0.005 · GET /api/fred-series

Fetch any of FRED's ~800,000 economic time series by series ID - GDP (GDPC1), CPI (CPIAUCSL), unemployment (UNRATE), fed…

FRED series metadata

$0.005 · GET /api/fred-series-info

Metadata for a FRED series: title, frequency, units, seasonal adjustment, observation date range, and popularity. Use be…

Search World Bank indicators

$0.002 · GET /api/world-bank-search

Search the World Bank indicator catalog (1,400+ indicators across GDP, demographics, health, environment, education, etc…

FRED economic release calendar

$0.005 · GET /api/fred-release-calendar

Upcoming and very-recent US economic data release dates - CPI, employment, GDP, FOMC minutes, Treasury auctions, etc. Us…

FRED bulk release observations (v2)

$0.005 · GET /api/fred-release-observations

Bulk-fetch observations for every series in a FRED release in one call. Use it to grab an entire economic report (jobs r…

US CPI year-over-year inflation

$0.005 · GET /api/cpi-yoy

Latest US Consumer Price Index year-over-year inflation rate (headline CPI-U) plus the trailing 12 months of YoY reading…