Call a Mercury402 endpoint
get_endpoint_dataCall a Mercury402 endpoint on the live API. This hosted endpoint is discovery-only: endpoints return HTTP 402 and this tool returns the price and x402 payment instructions instead of data. Pay with your own x402 client, or run mercury402-mcp locally (npx -y mercury402-mcp) with your own wallet. 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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay | No | Paid mode only: set false to just get the price quote without paying. Default true. | |
| path | Yes | Endpoint path, e.g. "/v1/treasury/yield-curve/daily-snapshot" or "/v1/fred/UNRATE" | |
| params | No | Path, query (GET) or body (POST) parameters |