Call any endpoint
genesis402_callCall any Genesis402 endpoint by name for DeFi, SEC, research, web, AI, or multi-chain data; validate params and get a USDC quote before paying on Base.
Instructions
Calls any of the 366 Genesis402 endpoints by name (DeFi, SEC filings, research, web/domain intel, AI text tools, multi-chain reads). Prices $0.001-$0.25 USDC on Base. Use for any endpoint without a dedicated tool; look up the name and parameters with genesis402_catalog first. Parameters are validated for free before any quote. Without payment_signature (or a local payer) it returns the exact price quote and signs nothing; with payment it returns the result plus the settlement details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Parameters for that endpoint as an object, matching the parameter schema shown in genesis402_catalog. Omit if the endpoint takes none. | |
| endpoint | Yes | Endpoint name exactly as listed by genesis402_catalog, e.g. "defi-yields" or "wallet-brief" (a leading slash is ignored). | |
| payment_signature | No | Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first; nothing is charged without it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | QUOTE_ONLY: price quote only, nothing signed or charged. PAID: the call was paid and result holds the data. FREE: the endpoint answered without payment. | |
| paid | Yes | true only when a payment was settled for this call. | |
| price | No | The Base USDC quote. Present on QUOTE_ONLY and on PAID calls made by a local payer; null when the rail offered no Base USDC lane or the caller signed the payment. | |
| result | No | PAID or FREE: the endpoint's JSON result. | |
| resource | No | QUOTE_ONLY: the full URL of the paid resource. | |
| how_to_pay | No | QUOTE_ONLY: how to sign and resend the call. | |
| settlement | No | PAID: decoded PAYMENT-RESPONSE settlement (transaction hash, network, payer), or null if the rail sent none. | |
| what_you_get | No | QUOTE_ONLY: the rail's description of what the payment buys. | |
| payment_required_b64 | No | QUOTE_ONLY: the raw base64 PAYMENT-REQUIRED header, to sign with any x402 v2 client. | |
| also_accepted_networks | No | QUOTE_ONLY: every network the 402 challenge accepts. |