Mercury402: Treasury/FRED financial data over x402
v0.1.4Treasury/FRED financial data over x402: pay-per-call US yields, macro and forex in USDC on Base
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_endpoints List Mercury402 endpoints
List Mercury402 financial data endpoints (78 total) with path, method, category, description, price in USD (paid per call in USDC on Base via x402) and accepted parameters. Free; makes no network calls.
| Parameter | Type | Description |
|---|---|---|
category | string | Only return this category |
search | string | Case-insensitive substring match on path or description |
get_endpoint_data Call a Mercury402 endpoint
Call a Mercury402 endpoint on the live API. Without paid mode, endpoints return HTTP 402 and this tool returns the price and x402 payment instructions instead of data. With paid mode enabled (MERCURY402_PAYER_PRIVATE_KEY), it pays in USDC on Base (capped by MERCURY402_MAX_PRICE_USD) and returns the data. Use list_endpoints first to find paths and parameters. Path params can be inline ("/v1/fred/UNRATE") or passed in params ("/v1/fred/{series_id}" + {"series_id":"UNRATE"}). Other params go to the query string (GET) or JSON body (POST).
| Parameter | Type | Description |
|---|---|---|
path * | string | Endpoint path, e.g. "/v1/treasury/yield-curve/daily-snapshot" or "/v1/fred/UNRATE" |
params | object | Path, query (GET) or body (POST) parameters |
pay | boolean | Paid mode only: set false to just get the price quote without paying. Default true. |