Genesis402 (x402 pay-per-call)
Genesis402: pay-per-call APIs for AI agents over x402. A signed receipt for every paid call.
Should I use this
Quality & Safety
Findings (4)
- LOWin genesis402_email_check
- LOWin genesis402_whois
- LOWin genesis402_extract_json
- LOWin genesis402_web_extract
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"genesis402-mcp": {
"command": "npx",
"args": [
"genesis402-mcp"
]
}
}
}Runnable packages
0.3.2stdioRemote endpoints
https://twin.unykorn.org/mcpstreamable-httpWhat it can do
Tool inventory
Tools (14)
🟢genesis402_catalog(filter)
Free. Every Genesis402 endpoint with price, title, path and parameters, from the live /.well-known/x402 manifest. Call first.
Input Schema
{
"type": "object",
"properties": {
"filter": {
"type": "string",
"maxLength": 60,
"description": "Optional keyword to filter by name, title or tag, e.g. defi, sec, xrpl, wallet."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"origin": {
"type": "string",
"description": "The rail's origin URL."
},
"total_endpoints": {
"type": "number",
"description": "Endpoints in the live manifest."
},
"matched": {
"type": "number",
"description": "Endpoints matching the filter."
},
"payer_mode": {
"type": "string",
"description": "QUOTE_ONLY, HOSTED, or LIVE with its cap."
},
"endpoints": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"price_usd": {
"type": [
"number",
"null"
]
},
"title": {
"type": "string"
},
"parameters": {}
},
"required": [
"name",
"path",
"price_usd"
],
"additionalProperties": true
},
"description": "Matching endpoints with price and parameters."
}
},
"required": [
"origin",
"total_endpoints",
"matched",
"payer_mode",
"endpoints"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_receipt(receipt_id)
Free. A paid-call receipt by id from the rail's public receipts feed.
Input Schema
{
"type": "object",
"properties": {
"receipt_id": {
"type": "string",
"minLength": 4,
"maxLength": 80,
"description": "Receipt id returned by a paid call."
}
},
"required": [
"receipt_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"result": {
"description": "The receipt record."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_call(endpoint, params, payment_signature)
Calls any of the 360 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. Without payment it returns the exact quote.
Input Schema
{
"type": "object",
"properties": {
"endpoint": {
"type": "string",
"minLength": 2,
"maxLength": 64,
"description": "Endpoint name from genesis402_catalog, e.g. defi-yields or price."
},
"params": {
"type": "object",
"additionalProperties": {},
"description": "The endpoint's parameters as an object; see its parameters in genesis402_catalog."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"endpoint"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_wallet_brief(address, chain, payment_signature)
Paid ($0.03 USDC). Wallet risk signals in ONE call: public sanctions-list check + 10-chain scan + activity + summary, with an evidence hash. Heuristic signals from public data: not KYC, not a compliance determination, not legal advice.
Input Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "EVM address, 0x followed by 40 hex characters."
},
"chain": {
"type": "string",
"maxLength": 24,
"description": "Optional chain name, e.g. ethereum, base, polygon, arbitrum. Defaults to ethereum."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"address"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_token_brief(contract, chain, payment_signature)
Paid ($0.03 USDC). Token pre-trade check in ONE call: metadata, price, holder concentration, verification, sanctions.
Input Schema
{
"type": "object",
"properties": {
"contract": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token contract address, 0x followed by 40 hex characters."
},
"chain": {
"type": "string",
"maxLength": 24,
"description": "Optional chain name, e.g. ethereum, base, polygon, arbitrum. Defaults to ethereum."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"contract"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_screen_sanctions(address, payment_signature)
Paid ($0.008 USDC). Public-data sanctions-list signal for one address: OFAC SDN digital-currency entries and community blocklists. Risk and sanctions results are automated heuristic signals from public data. They are not KYC, not a compliance determination, and not legal advice.
Input Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"minLength": 4,
"maxLength": 120,
"description": "Any chain's address (EVM, BTC, TRON, SOL, XRP and others)."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"address"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_multi_chain_scan(address, payment_signature)
Paid ($0.008 USDC). One call across 10 EVM chains for a single address: native balances and activity per chain.
Input Schema
{
"type": "object",
"properties": {
"address": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "EVM address, 0x followed by 40 hex characters."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"address"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_defi_yields(chain, token, project, stablecoin_only, min_tvl_usd, ...)
Paid ($0.01 USDC). Best DeFi yields from 15,000+ pools, filterable by chain, protocol, token, stablecoin-only and minimum TVL.
Input Schema
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"maxLength": 40,
"description": "Filter by chain, e.g. Ethereum, Base, Arbitrum, Solana."
},
"token": {
"type": "string",
"maxLength": 20,
"description": "Filter by token symbol, e.g. USDC, ETH."
},
"project": {
"type": "string",
"maxLength": 60,
"description": "Filter by protocol, e.g. aave-v3, compound-v3, morpho."
},
"stablecoin_only": {
"type": "boolean",
"description": "Only stablecoin pools when true."
},
"min_tvl_usd": {
"type": "number",
"description": "Minimum pool TVL in USD, e.g. 1000000."
},
"sort": {
"type": "string",
"enum": [
"apy",
"tvl"
],
"description": "Sort by APY (default) or TVL."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "Number of pools to return, 1-100."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_sec_financials(ticker, cik, payment_signature)
Paid ($0.01 USDC). As-reported fundamentals for a US public company from SEC XBRL (revenue, net income, assets, cash, EPS).
Input Schema
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"maxLength": 60,
"description": "Stock ticker, e.g. AAPL. Give ticker or cik."
},
"cik": {
"type": "string",
"maxLength": 10,
"description": "SEC CIK number, e.g. 320193. Give ticker or cik."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_email_check(email_or_domain, payment_signature)
Paid ($0.002 USDC). Email/domain deliverability: MX, provider, SPF, DMARC policy, disposable flag, trust score.
Input Schema
{
"type": "object",
"properties": {
"email_or_domain": {
"type": "string",
"maxLength": 320,
"description": "An email address or bare domain, e.g. [email protected] or acme.com."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"email_or_domain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_whois(domain, payment_signature)
Paid ($0.002 USDC). Domain registrar, age, expiry, status and nameservers via RDAP (young domains are a fraud signal).
Input Schema
{
"type": "object",
"properties": {
"domain": {
"type": "string",
"maxLength": 260,
"description": "Domain name, e.g. example.com."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"domain"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_extract_json(text, fields, payment_signature)
Paid ($0.006 USDC). Extract YOUR fields from any text as JSON; missing fields are null, never invented.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 16000,
"description": "The source text to extract from (up to 16,000 characters)."
},
"fields": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Map of field name to a short description, e.g. {\"invoice_total\": \"total amount due\"}."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"text",
"fields"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢genesis402_web_extract(url, max_chars, payment_signature)
Paid ($0.004 USDC). Any public web page as clean text, title, headings and links.
Input Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Public http(s) URL to fetch."
},
"max_chars": {
"type": "integer",
"minimum": 500,
"maximum": 60000,
"description": "Cap on returned text length, 500-60,000 characters."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪genesis402_prove(sha256, text, claim, payment_signature)
Paid ($0.25 USDC). A signed Ed25519 receipt binding your SHA-256 digest (or text) and optional claim to a settled payment. The receipt signature checks offline; the receipt chain is not externally anchored.
Input Schema
{
"type": "object",
"properties": {
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$",
"description": "Lowercase hex SHA-256 digest to bind. Give sha256 or text."
},
"text": {
"type": "string",
"maxLength": 16384,
"description": "Text to hash and bind, if you don't have a digest."
},
"claim": {
"type": "string",
"maxLength": 512,
"description": "Optional short statement to include in the receipt."
},
"payment_signature": {
"type": "string",
"maxLength": 8000,
"description": "Optional. An x402 v2 payment you signed for this call's quote (the PAYMENT-SIGNATURE header value). Omit to get the price quote first."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"description": "QUOTE_ONLY when no payment was made; the quote is in price."
},
"resource": {
"type": "string",
"description": "The endpoint URL that was quoted or called."
},
"price": {
"description": "Quote on Base USDC: atomic, usd, payTo, network."
},
"also_accepted_networks": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other payment networks this endpoint accepts."
},
"what_you_get": {
"description": "What the paid call returns."
},
"payment_required_b64": {
"type": [
"string",
"null"
],
"description": "The raw x402 PAYMENT-REQUIRED header, base64."
},
"how_to_pay": {
"type": "string",
"description": "How to pay for this call."
},
"paid": {
"description": "true or the paid quote when payment settled."
},
"settlement": {
"description": "Decoded x402 settlement (tx hash, network, payer)."
},
"result": {
"description": "The endpoint's response data."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence