x402_discover
Browse the facilitator's Bazaar catalogue of x402-gated APIs, showing each resource's price and accepted payment terms. Use it to find a paid endpoint before paying with x402_pay.
Instructions
Discover x402-gated APIs you can pay for — browse the facilitator's Bazaar catalogue of registered x402 resources, each with the price and payment terms it accepts. Use this BEFORE x402_pay whenever you need to FIND a paid endpoint rather than call one you were already given: the pay tool only fetches a URL you hand it, so this is the only way to locate a monetized API on your own. Returns { resources: [{ resource, type, x402Version, accepts: [{ scheme, network, amount, asset, payTo }], lastUpdated, metadata? }], pagination: { limit, offset, total } } — amount is in ATOMIC units (USDC 6-decimals: "10000" = $0.01), so convert before quoting a price to the user. PUBLIC: needs no API key, no wallet and spends nothing, so it is always safe to call. Filter with type (e.g. "http") and page with limit/offset. Then pass a chosen resource URL to x402_pay to actually buy it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by resource type, e.g. "http". Omit to list every type. | |
| limit | No | Max results to return, 1-100 (default 20). The facilitator clamps out-of-range values rather than erroring. | |
| offset | No | How many results to skip, for paging (default 0). Use with `pagination.total` from a previous call. | |
| facilitatorBaseUrl | No | Override the facilitator base URL (default https://ai.cryptoapis.io/x402/merchant). Useful against QA/local. |