{"openapi":"3.1.0","info":{"title":"AsterPay Data API","version":"3.1.0","description":"Trust, discovery, and fiat settlement layer for AI agent commerce. Dual-protocol: accepts both x402 and MPP payments in USDC on Base, Ethereum, Polygon, Arbitrum, Optimism and SKALE. Live EUR settlement via SEPA Instant (under 10 seconds); GBP (Faster Payments) settlement is on the roadmap.","contact":{"name":"AsterPay","url":"https://asterpay.io","email":"petteri@asterpay.io"},"x-guidance":"AsterPay is an API for AI agents: Know Your Agent trust scoring, crypto market data, AI text tools, and USDC to EUR settlement (SEPA Instant).\n\nHOW TO PAY: call any endpoint; an unpaid call returns 402 with an `accepts` array. Pay in USDC on any listed chain (Base, Ethereum, Polygon, Arbitrum, Optimism, SKALE) via x402 (resend with a PAYMENT-SIGNATURE header, SDK @x402/fetch) or MPP (Authorization: Payment, SDK mppx). No API key, no signup.\nFIRST CALL FREE: a wallet that has never paid AsterPay gets its first sub-$0.03 paid call for $0. Send a normally signed payment; it is verified but never settled. Your wallet must still hold the price so your client will sign.\n\nFREE (no payment): GET /v1/agent/discovery (full catalog), GET /v2/x402/market/rates, POST /v1/ai/fact-check (claim vs supplied source text).\n\nFREE DAILY QUOTA, then $0.0075 (25 unpaid calls per IP per UTC day; response headers X-Free-Quota-Limit / X-Free-Quota-Remaining):\n- GET /v1/agent/trust-score/{address}: agent trust score 0-100 with breakdown\n- GET /v1/agent/verify/{address}: ERC-8004 identity check\n- GET /v1/agent/tier/{address}: trust tier\n- GET /v1/settlement/estimate?amount={usdc} and GET /v2/x402/offramp/estimate?amount={usdc}: EUR settlement quote\n\nPAID:\n- GET /v1/agent/deep-analysis/{address} $0.015: behavioral analysis of an agent wallet; POST /v1/agent/trust-score/batch $0.03\n- GET /v1/crypto/token-analysis/{address} $0.15, GET /v1/crypto/wallet-score/{address} $0.075, GET /v1/crypto/whale-alerts $0.03\n- GET /v1/market/price/{symbol} $0.0075, GET /v1/market/ohlcv/{symbol} $0.015, GET /v1/market/trending $0.0075, GET /v2/x402/crypto/prices $0.0075\n- POST /v1/ai/summarize $0.006, POST /v1/ai/sentiment $0.006, POST /v1/ai/translate $0.03, POST /v1/ai/code-review $0.075\n- GET /v2/x402/agent-readiness?url={site} $0.03: agent-readiness scan of any website\n\n- DATA DOORS (GET /v1/data, free catalog): EU merchant verification GET /v1/data/company/verify/{vatId} $0.05 (VIES + register + LEI, one verdict), company profile $0.015 and change signals $0.03, EU tenders GET /v1/data/tenders/eu/{country}/{cpv} $0.02, plus FX, energy, macro, stablecoins, security and risk feeds from $0.0015.\nWATCHLIST LOOP: tenders and company/signals take ?since=YYYY-MM-DD and return next_since. Poll once a day with the previous next_since and you pay only for new notices or events (e.g. 100 country/CPV keys = $2/day). Recipe: https://x402.asterpay.io/llms.txt#watchlist\n\nWHEN TO CALL: run company/verify before paying an EU merchant and trust-score before paying an unknown agent; use settlement/estimate to price USDC to EUR before an off-ramp; use market and AI endpoints as pay-per-call utilities.\nFull reference: https://x402.asterpay.io/llms.txt","guidance":"AsterPay is an API for AI agents: Know Your Agent trust scoring, crypto market data, AI text tools, and USDC to EUR settlement (SEPA Instant).\n\nHOW TO PAY: call any endpoint; an unpaid call returns 402 with an `accepts` array. Pay in USDC on any listed chain (Base, Ethereum, Polygon, Arbitrum, Optimism, SKALE) via x402 (resend with a PAYMENT-SIGNATURE header, SDK @x402/fetch) or MPP (Authorization: Payment, SDK mppx). No API key, no signup.\nFIRST CALL FREE: a wallet that has never paid AsterPay gets its first sub-$0.03 paid call for $0. Send a normally signed payment; it is verified but never settled. Your wallet must still hold the price so your client will sign.\n\nFREE (no payment): GET /v1/agent/discovery (full catalog), GET /v2/x402/market/rates, POST /v1/ai/fact-check (claim vs supplied source text).\n\nFREE DAILY QUOTA, then $0.0075 (25 unpaid calls per IP per UTC day; response headers X-Free-Quota-Limit / X-Free-Quota-Remaining):\n- GET /v1/agent/trust-score/{address}: agent trust score 0-100 with breakdown\n- GET /v1/agent/verify/{address}: ERC-8004 identity check\n- GET /v1/agent/tier/{address}: trust tier\n- GET /v1/settlement/estimate?amount={usdc} and GET /v2/x402/offramp/estimate?amount={usdc}: EUR settlement quote\n\nPAID:\n- GET /v1/agent/deep-analysis/{address} $0.015: behavioral analysis of an agent wallet; POST /v1/agent/trust-score/batch $0.03\n- GET /v1/crypto/token-analysis/{address} $0.15, GET /v1/crypto/wallet-score/{address} $0.075, GET /v1/crypto/whale-alerts $0.03\n- GET /v1/market/price/{symbol} $0.0075, GET /v1/market/ohlcv/{symbol} $0.015, GET /v1/market/trending $0.0075, GET /v2/x402/crypto/prices $0.0075\n- POST /v1/ai/summarize $0.006, POST /v1/ai/sentiment $0.006, POST /v1/ai/translate $0.03, POST /v1/ai/code-review $0.075\n- GET /v2/x402/agent-readiness?url={site} $0.03: agent-readiness scan of any website\n\n- DATA DOORS (GET /v1/data, free catalog): EU merchant verification GET /v1/data/company/verify/{vatId} $0.05 (VIES + register + LEI, one verdict), company profile $0.015 and change signals $0.03, EU tenders GET /v1/data/tenders/eu/{country}/{cpv} $0.02, plus FX, energy, macro, stablecoins, security and risk feeds from $0.0015.\nWATCHLIST LOOP: tenders and company/signals take ?since=YYYY-MM-DD and return next_since. Poll once a day with the previous next_since and you pay only for new notices or events (e.g. 100 country/CPV keys = $2/day). Recipe: https://x402.asterpay.io/llms.txt#watchlist\n\nWHEN TO CALL: run company/verify before paying an EU merchant and trust-score before paying an unknown agent; use settlement/estimate to price USDC to EUR before an off-ramp; use market and AI endpoints as pay-per-call utilities.\nFull reference: https://x402.asterpay.io/llms.txt"},"x-service-info":{"categories":["finance","ai","data","crypto","compliance"],"docs":{"homepage":"https://asterpay.io","apiReference":"https://x402.asterpay.io/docs","llms":"https://x402.asterpay.io/llms.txt"}},"x-discovery":{"ownershipProofs":["https://x402.asterpay.io/.well-known/mpp-methods.json"]},"components":{"securitySchemes":{"x402":{"type":"apiKey","in":"header","name":"PAYMENT-SIGNATURE","description":"x402 (Coinbase CDP) payment. NOT an API key — no credential is issued or registered, and there is nothing to sign up for. On the first request the server returns 402 with a Payment-Required challenge; resend with a PAYMENT-SIGNATURE header carrying the signed USDC (Base) payment payload. SDK: npm i @x402/fetch.","x-payment":{"apiKeyRequired":false,"credential":"per-request wallet signature","protocol":"x402"}},"mpp":{"type":"http","scheme":"Payment","description":"MPP (Machine Payments Protocol) payment. NOT an API key — no credential is issued or registered. On 402 the server returns WWW-Authenticate: Payment; resend with Authorization: Payment <proof> carrying the USDC (Base) transaction proof. SDK: npm i mppx.","x-payment":{"protocol":"mpp","apiKeyRequired":false,"credential":"per-request on-chain payment proof"}}}},"x-payment":{"mode":"paid","protocols":["x402","mpp"],"apiKeyRequired":false,"registrationRequired":false,"currency":"USDC","networks":["base","ethereum","polygon","arbitrum","optimism","skale-base"],"note":"No API key exists, none is issued, and no account is needed — each paid call carries its own wallet signature or on-chain proof. The x402 scheme is typed apiKey only to declare its custom PAYMENT-SIGNATURE header, which is the header the server actually reads; OpenAPI has no payment type."},"servers":[{"url":"https://x402.asterpay.io"}],"paths":{"/v1/agent/deep-analysis/{address}":{"get":{"operationId":"getDeepAnalysis","summary":"Deep Agent Analysis — $0.015","description":"Comprehensive behavioral analysis with velocity scoring, risk signals, and pattern detection.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x1234567890123456789012345678901234567890"},"description":"Agent wallet address (0x-prefixed, 40 hex chars) or ENS name"}],"responses":{"200":{"description":"Deep analysis result","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"trust_score":{"type":"integer"},"risk_level":{"type":"string"},"behavioral_signals":{"type":"object"},"velocity":{"type":"object"}},"required":["address","trust_score","risk_level"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json"},"description":"Deep Agent Analysis","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/{address}","description":"Deep Agent Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/agent/trust-score/{address}":{"get":{"operationId":"getAgentTrustScore","summary":"Agent Trust Score (KYA) — $0.0075 after free daily quota","description":"Score any AI agent 0-100. Identity, wallet history, sanctions, attestations. Free for the first 25 unpaid calls per client IP per UTC day (see X-Free-Quota-Remaining), then 402 at $0.0075 via x402 or MPP. First paid call is free for a wallet that has never paid AsterPay.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}],"description":"Charged only after the per-IP daily free quota is used"},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"},"description":"Wallet address or ENS name"}],"responses":{"200":{"description":"Trust score result","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"score":{"type":"integer","minimum":0,"maximum":100},"tier":{"type":"string","enum":["Open","Verified","Trusted","Enterprise"]},"breakdown":{"type":"object"}},"required":["address","score","tier"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json"},"description":"Agent Trust Score (KYA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/trust-score/{address}","description":"Agent Trust Score (KYA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/agent/verify/{address}":{"get":{"operationId":"verifyAgent","summary":"Agent Identity Verification — $0.0075 after free daily quota","description":"Quick identity check against ERC-8004 registry. Free for the first 25 unpaid calls per client IP per UTC day, then 402 at $0.0075 via x402 or MPP.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}],"description":"Charged only after the per-IP daily free quota is used"},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Verification result","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"verified":{"type":"boolean"},"erc8004":{"type":"object"}},"required":["address","verified"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json"},"description":"Agent Identity Verification","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/verify/{address}","description":"Agent Identity Verification","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/agent/tier/{address}":{"get":{"operationId":"getAgentTier","summary":"Agent Trust Tier — $0.0075 after free daily quota","description":"Trust tier classification (Open/Verified/Trusted/Enterprise). Free for the first 25 unpaid calls per client IP per UTC day, then 402 at $0.0075 via x402 or MPP.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}],"description":"Charged only after the per-IP daily free quota is used"},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Tier result","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"tier":{"type":"string"}},"required":["address","tier"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json"},"description":"Agent Trust Tier","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/agent/tier/{address}","description":"Agent Trust Tier","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/settlement/estimate":{"get":{"operationId":"getSettlementEstimate","summary":"Fiat Settlement Estimate — $0.0075 after free daily quota","description":"Calculate EUR settlement amount with fees, FX rate, and estimated time. Free for the first 25 unpaid calls per client IP per UTC day, then 402 at $0.0075 via x402 or MPP.","tags":["settlement"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}],"description":"Charged only after the per-IP daily free quota is used"},"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"number"},"description":"USDC amount to settle"}],"responses":{"200":{"description":"Settlement estimate","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"usdcAmount":{"type":"string","description":"Input amount in USDC base units (6 decimals)","example":"100000000"},"usdcAmountFormatted":{"type":"string","example":"100.000000"},"eurRate":{"type":"number","description":"USDC→EUR rate applied","example":0.92},"asterpayFeeBps":{"type":"integer","description":"AsterPay fee in basis points","example":50},"asterpayFixedFeeEur":{"type":"string","example":"0.10"},"asterpayFeeUsdc":{"type":"string","example":"0.608696"},"asterpayFeeEur":{"type":"string","example":"0.56"},"netEurAmount":{"type":"string","description":"EUR the beneficiary receives","example":"91.44"},"estimatedSepaTime":{"type":"string","example":"Instant (SEPA Instant)"},"rateLockValidUntil":{"type":"string","format":"date-time"},"simulated":{"type":"boolean","description":"true when no live FX/partner quote backed the figures"}},"required":["usdcAmountFormatted","eurRate","netEurAmount"]},"timestamp":{"type":"string","format":"date-time"}},"required":["success","data","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json"},"description":"Fiat Settlement Estimate","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/settlement/estimate","description":"Fiat Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/agent/discovery":{"get":{"operationId":"getAgentDiscovery","summary":"Agent Discovery — Free","description":"Complete API discovery with dual-protocol payment info.","tags":["discovery"],"responses":{"200":{"description":"Discovery payload","content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string"},"protocols":{"type":"array","items":{"type":"string"}},"endpoints":{"type":"object"}},"required":["provider","protocols"]}}}}},"security":[]}},"/v2/x402/market/rates":{"get":{"operationId":"getMarketRates","summary":"Market Rates — Free","description":"Real-time crypto market rates and FX data.","tags":["market"],"responses":{"200":{"description":"Market rates","content":{"application/json":{"schema":{"type":"object","properties":{"rates":{"type":"object"},"timestamp":{"type":"string"}},"required":["rates"]}}}}},"security":[]}},"/v1/agent/deep-analysis/batch":{"post":{"operationId":"batchDeepAnalysis","summary":"Batch Deep Analysis — $0.075","description":"Deep analysis for up to 10 agents in one call.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.075000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"},"maxItems":10,"description":"Array of wallet addresses"}},"required":["addresses"]}}}},"responses":{"200":{"description":"Batch results","content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object"}}},"required":["results"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json"},"description":"Batch Deep Analysis","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/agent/deep-analysis/batch","description":"Batch Deep Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/market/price/{symbol}":{"get":{"operationId":"getMarketPrice","summary":"Real-time Crypto Price — $0.0075","description":"Current price for any supported cryptocurrency.","tags":["market"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"},"description":"Token symbol (BTC, ETH, SOL, etc.)"}],"responses":{"200":{"description":"Price data","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"symbol":{"type":"string"},"price":{"type":"number"},"priceChange24h":{"type":"number"},"marketCap":{"type":"number"},"volume24h":{"type":"number"},"lastUpdated":{"type":"string"}},"required":["symbol","price"]},"timestamp":{"type":"string"}},"required":["success","data"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json"},"description":"Real-time Crypto Price","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/price/{symbol}","description":"Real-time Crypto Price","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/market/ohlcv/{symbol}":{"get":{"operationId":"getOhlcv","summary":"OHLCV Candles — $0.015","description":"Open-high-low-close-volume candlestick data.","tags":["market"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"symbol","in":"path","required":true,"schema":{"type":"string"},"description":"Token symbol"}],"responses":{"200":{"description":"OHLCV candles","content":{"application/json":{"schema":{"type":"object","properties":{"symbol":{"type":"string"},"candles":{"type":"array","items":{"type":"object"}}},"required":["symbol","candles"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json"},"description":"OHLCV Candles","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/market/ohlcv/{symbol}","description":"OHLCV Candles","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/market/trending":{"get":{"operationId":"getTrending","summary":"Trending Tokens — $0.0075","description":"Currently trending cryptocurrencies by volume and social mentions.","tags":["market"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Trending tokens","content":{"application/json":{"schema":{"type":"object","properties":{"tokens":{"type":"array","items":{"type":"object"}}},"required":["tokens"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json"},"description":"Trending Tokens","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/market/trending","description":"Trending Tokens","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v2/x402/crypto/prices":{"get":{"operationId":"getCryptoPrices","summary":"Aggregated Crypto Price Feed — $0.0075","description":"BTC, ETH, SOL, stablecoins — aggregated from multiple sources.","tags":["market"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"symbols","in":"query","required":false,"schema":{"type":"string","example":"BTC,ETH,SOL"},"description":"Optional comma-separated token symbols to filter the feed (defaults to top tokens + stablecoins)"}],"responses":{"200":{"description":"Price feed","content":{"application/json":{"schema":{"type":"object","properties":{"prices":{"type":"object"},"timestamp":{"type":"string"}},"required":["prices"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json"},"description":"Aggregated Crypto Price Feed","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/crypto/prices","description":"Aggregated Crypto Price Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v2/x402/offramp/estimate":{"get":{"operationId":"offrampEstimate","summary":"EUR Settlement Estimate — $0.0075 after free daily quota","description":"Real-time USDC to EUR settlement estimate: rate, fees and SEPA Instant delivery time. Free for the first 25 unpaid calls per client IP per UTC day, then 402 at $0.0075 via x402 or MPP (the settlement itself carries the 0.5% fee). The only x402-ecosystem endpoint offering EUR fiat settlement.","tags":["settlement"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}],"description":"Charged only after the per-IP daily free quota is used"},"parameters":[{"name":"amount","in":"query","required":true,"schema":{"type":"number","example":100},"description":"USDC amount to estimate (e.g. 100 = 100 USDC)"}],"responses":{"200":{"description":"Settlement estimate","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"usdcAmount":{"type":"string","description":"Input amount in USDC base units (6 decimals)","example":"100000000"},"usdcAmountFormatted":{"type":"string","example":"100.000000"},"eurRate":{"type":"number","description":"USDC→EUR rate applied","example":0.92},"asterpayFeeBps":{"type":"integer","description":"AsterPay fee in basis points","example":50},"asterpayFixedFeeEur":{"type":"string","example":"0.10"},"asterpayFeeUsdc":{"type":"string","example":"0.608696"},"asterpayFeeEur":{"type":"string","example":"0.56"},"netEurAmount":{"type":"string","description":"EUR the beneficiary receives","example":"91.44"},"estimatedSepaTime":{"type":"string","example":"Instant (SEPA Instant)"},"rateLockValidUntil":{"type":"string","format":"date-time"},"simulated":{"type":"boolean","description":"true when no live FX/partner quote backed the figures"}},"required":["usdcAmountFormatted","eurRate","netEurAmount"]},"next_actions":{"type":"array","items":{"type":"object"},"description":"Suggested follow-up calls"},"timestamp":{"type":"string","format":"date-time"}},"required":["success","data","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json"},"description":"EUR Settlement Estimate","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v2/x402/offramp/estimate","description":"EUR Settlement Estimate","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v2/x402/agent-readiness":{"get":{"operationId":"agentReadinessScan","summary":"Agent-Readiness Scan — $0.03","description":"Score any public website 0-100 on AI-agent readiness: MCP server, /.well-known/agent.json, llms.txt, OpenAPI validity, JSON-LD catalog and x402/MPP payability. Same published methodology as the asterpay.io checker.","tags":["trust"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","example":"example.com"},"description":"Public website hostname or URL to scan"}],"responses":{"200":{"description":"Readiness scan result","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"url":{"type":"string"},"score":{"type":"integer"},"bucket":{"type":"string","enum":["invisible","partial","agent-ready"]},"signals":{"type":"object"},"top_gaps":{"type":"array","items":{"type":"object"}},"mcp":{"type":"object"},"openapi":{"type":"object"}},"required":["score","bucket"]}},"required":["data"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json"},"description":"Agent-Readiness Scan","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v2/x402/agent-readiness","description":"Agent-Readiness Scan","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/ai/summarize":{"post":{"operationId":"aiSummarize","summary":"Text Summarization — $0.006","description":"AI-powered text summarization. Supports long-form content.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to summarize"},"max_length":{"type":"integer","description":"Max summary length in words"}},"required":["text"]}}}},"responses":{"200":{"description":"Summary","content":{"application/json":{"schema":{"type":"object","properties":{"summary":{"type":"string"},"word_count":{"type":"integer"}},"required":["summary"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json"},"description":"Text Summarization","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/summarize","description":"Text Summarization","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/ai/sentiment":{"post":{"operationId":"aiSentiment","summary":"Sentiment Analysis — $0.006","description":"AI sentiment analysis on text. Returns sentiment score and label.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.006000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to analyze"}},"required":["text"]}}}},"responses":{"200":{"description":"Sentiment result","content":{"application/json":{"schema":{"type":"object","properties":{"sentiment":{"type":"string","enum":["positive","negative","neutral"]},"score":{"type":"number"}},"required":["sentiment","score"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json"},"description":"Sentiment Analysis","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"6000","maxAmountRequired":"6000","resource":"https://x402.asterpay.io/v1/ai/sentiment","description":"Sentiment Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/ai/translate":{"post":{"operationId":"aiTranslate","summary":"Multi-language Translation — $0.03","description":"Translate text between 50+ languages.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Text to translate"},"target_language":{"type":"string","description":"ISO 639-1 code (e.g. fi, de, fr)"},"source_language":{"type":"string","description":"Source language (auto-detected if omitted)"}},"required":["text","target_language"]}}}},"responses":{"200":{"description":"Translation","content":{"application/json":{"schema":{"type":"object","properties":{"translated_text":{"type":"string"},"target_language":{"type":"string"}},"required":["translated_text"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json"},"description":"Multi-language Translation","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/ai/translate","description":"Multi-language Translation","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/ai/code-review":{"post":{"operationId":"aiCodeReview","summary":"Code Analysis — $0.075","description":"AI code review with security and quality analysis.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.075000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"Source code to review"},"language":{"type":"string","description":"Programming language"}},"required":["code"]}}}},"responses":{"200":{"description":"Code review","content":{"application/json":{"schema":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object"}},"quality_score":{"type":"integer"}},"required":["issues","quality_score"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json"},"description":"Code Analysis","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/ai/code-review","description":"Code Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/ai/fact-check":{"post":{"operationId":"aiFactCheck","summary":"Fact-Check — free","description":"Source-bounded fact-check. Verify a claim against provided source text. Does NOT search the web. Free tier (no payment required).","tags":["ai"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim":{"type":"string","description":"Factual claim to verify (10-2000 chars)","minLength":10,"maxLength":2000},"source":{"type":"string","description":"Source text to verify against (50-15000 chars)","minLength":50,"maxLength":15000}},"required":["claim","source"]}}}},"responses":{"200":{"description":"Fact-check result","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":"string","enum":["supported","contradicted","unverifiable"]},"confidence":{"type":"number"},"evidence":{"type":"string"},"summary":{"type":"string"}},"required":["verdict","confidence","evidence","summary"]}}}}},"security":[]}},"/v2/x402/ai/fact-check":{"post":{"operationId":"aiFactCheckX402","summary":"Fact-Check (x402) — $0.015","description":"Source-bounded fact-check via x402 payment. Same as /v1/ai/fact-check.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim":{"type":"string","minLength":10,"maxLength":2000},"source":{"type":"string","minLength":50,"maxLength":15000}},"required":["claim","source"]}}}},"responses":{"200":{"description":"Fact-check result","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":"string"},"confidence":{"type":"number"},"evidence":{"type":"string"},"summary":{"type":"string"}},"required":["verdict"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json"},"description":"Fact-Check (x402)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check","description":"Fact-Check (x402)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v2/x402/ai/fact-check/deep":{"post":{"operationId":"aiFactCheckDeep","summary":"Deep Fact-Check — $0.075","description":"Deep fact-check with claim decomposition. Breaks compound claims into max 5 sub-claims, verifies each. Deterministic overall verdict.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.075000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim":{"type":"string","minLength":10,"maxLength":2000},"source":{"type":"string","minLength":50,"maxLength":30000}},"required":["claim","source"]}}}},"responses":{"200":{"description":"Deep fact-check result","content":{"application/json":{"schema":{"type":"object","properties":{"overall_verdict":{"type":"string","enum":["supported","contradicted","unverifiable","partially_supported"]},"claims":{"type":"array","items":{"type":"object"}},"claims_checked":{"type":"integer"}},"required":["overall_verdict","claims"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json"},"description":"Deep Fact-Check","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v2/x402/ai/fact-check/deep","description":"Deep Fact-Check","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v2/x402/ai/sentiment":{"post":{"operationId":"aiMarketSentiment","summary":"AI Market Sentiment — $0.015","description":"AI-powered market sentiment analysis with crypto context.","tags":["ai"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Market text to analyze"},"context":{"type":"string","description":"Optional crypto context"}},"required":["text"]}}}},"responses":{"200":{"description":"Market sentiment","content":{"application/json":{"schema":{"type":"object","properties":{"sentiment":{"type":"string"},"confidence":{"type":"number"},"market_impact":{"type":"string"}},"required":["sentiment","confidence"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json"},"description":"AI Market Sentiment","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v2/x402/ai/sentiment","description":"AI Market Sentiment","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/crypto/wallet-score/{address}":{"get":{"operationId":"getWalletScore","summary":"Wallet Reputation Score — $0.075","description":"Reputation score for any wallet. Analyzes transaction history, age, and risk.","tags":["crypto"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.075000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x1234567890123456789012345678901234567890"},"description":"Wallet address (0x-prefixed, 40 hex chars)"}],"responses":{"200":{"description":"Wallet score","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"score":{"type":"integer"},"risk_level":{"type":"string"}},"required":["address","score"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json"},"description":"Wallet Reputation Score","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"75000","maxAmountRequired":"75000","resource":"https://x402.asterpay.io/v1/crypto/wallet-score/{address}","description":"Wallet Reputation Score","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/crypto/token-analysis/{address}":{"get":{"operationId":"getTokenAnalysis","summary":"Token Security Analysis — $0.15","description":"Security analysis for any token contract. Checks rugs, honeypots, liquidity risks.","tags":["crypto"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.150000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"address","in":"path","required":true,"schema":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"description":"Token contract address (0x-prefixed, 40 hex chars)"}],"responses":{"200":{"description":"Token analysis","content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string"},"risk_score":{"type":"integer"},"flags":{"type":"array","items":{"type":"string"}}},"required":["address","risk_score"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json"},"description":"Token Security Analysis","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"150000","maxAmountRequired":"150000","resource":"https://x402.asterpay.io/v1/crypto/token-analysis/{address}","description":"Token Security Analysis","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/crypto/whale-alerts":{"get":{"operationId":"getWhaleAlerts","summary":"Whale Alert Feed — $0.03","description":"Recent large-value transfers across major chains.","tags":["crypto"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Whale alerts","content":{"application/json":{"schema":{"type":"object","properties":{"alerts":{"type":"array","items":{"type":"object"}}},"required":["alerts"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json"},"description":"Whale Alert Feed","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/crypto/whale-alerts","description":"Whale Alert Feed","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/sessions/packages":{"get":{"operationId":"getSessionPackages","summary":"Session Packages — Free","description":"Available prepaid session packages for high-volume agents.","tags":["sessions"],"responses":{"200":{"description":"Session packages","content":{"application/json":{"schema":{"type":"object","properties":{"packages":{"type":"array","items":{"type":"object"}}},"required":["packages"]}}}}},"security":[]}},"/v1/mpe/merchants/resolve":{"get":{"operationId":"resolveMerchantGet","summary":"Merchant Payment Endpoint — Free (resolve by business ID)","description":"Resolve a merchant's payment endpoint (IBAN/BIC) from a provable source. Provide merchant_id, or business_id + business_id_type. Try the demo merchant: business_id=FI-DEMO-0001&business_id_type=demo.","tags":["settlement"],"parameters":[{"name":"merchant_id","in":"query","required":false,"schema":{"type":"string"},"description":"AsterPay merchant id"},{"name":"business_id","in":"query","required":false,"schema":{"type":"string","example":"FI-DEMO-0001"},"description":"VAT / company number / LEI / DUNS (with business_id_type)"},{"name":"business_id_type","in":"query","required":false,"schema":{"type":"string","enum":["vat","y_tunnus","company_number","lei","duns","demo"],"example":"demo"},"description":"Type of business_id"}],"responses":{"200":{"description":"Resolved merchant payment endpoint","content":{"application/json":{"schema":{"type":"object","properties":{"merchant_id":{"type":"string"},"name":{"type":"string"},"verified":{"type":"boolean"},"payment_endpoints":{"type":"array","items":{"type":"object"}}},"required":["merchant_id"]}}}}},"security":[]},"post":{"operationId":"resolveMerchant","summary":"Merchant Payment Endpoint — Free (resolve by business ID)","description":"Resolve a merchant's payment endpoint (IBAN/BIC) from a provable source. Provide merchant_id, OR business_id + business_id_type. Try the demo merchant: { \"business_id\": \"FI-DEMO-0001\", \"business_id_type\": \"demo\" }.","tags":["settlement"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"merchant_id":{"type":"string","description":"AsterPay merchant id"},"business_id":{"type":"string","description":"VAT / company number / LEI / DUNS (with business_id_type)","example":"FI-DEMO-0001"},"business_id_type":{"type":"string","enum":["vat","y_tunnus","company_number","lei","duns","demo"],"example":"demo"}}}}}},"responses":{"200":{"description":"Resolved merchant payment endpoint","content":{"application/json":{"schema":{"type":"object","properties":{"merchant_id":{"type":"string"},"name":{"type":"string"},"verified":{"type":"boolean"},"payment_endpoints":{"type":"array","items":{"type":"object"}}},"required":["merchant_id"]}}}}},"security":[]}},"/v1/util/qr-code":{"post":{"operationId":"generateQrCode","summary":"QR Code — free","description":"Render any string as a QR code. Returns a data URL. Free tier (no payment required).","tags":["utility"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"string","description":"String to encode"},"size":{"type":"integer","description":"Pixel width/height","default":200}},"required":["data"]}}}},"responses":{"200":{"description":"QR code","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","properties":{"qrCode":{"type":"string","description":"Base64 data URL of the PNG"},"data":{"type":"string"},"size":{"type":"integer"}},"required":["qrCode","data","size"]},"timestamp":{"type":"string"}},"required":["success","data"]}}}}},"security":[]}},"/v1/data/fx/ecb":{"get":{"operationId":"data_fx_ecb","summary":"ECB euro reference rates, 30 currencies — $0.003","description":"Daily euro foreign exchange reference rates published by the European Central Bank around 16:00 CET. Base EUR. Not a live market feed: one fixing per business day. Source: European Central Bank (free reuse with attribution (ECB)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"ECB euro reference rates, 30 currencies","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json"},"description":"ECB euro reference rates, 30 currencies","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/ecb","description":"ECB euro reference rates, 30 currencies","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/fx/pair/{base}/{quote}":{"get":{"operationId":"data_fx_pair","summary":"FX cross rate from ECB fixings — $0.003","description":"Cross rate between two ISO currencies derived from the daily ECB euro reference fixing (e.g. USD/JPY = EURJPY / EURUSD). Same fixing time as /v1/data/fx/ecb. Source: European Central Bank (free reuse with attribution (ECB)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"base","in":"path","required":true,"schema":{"type":"string","example":"USD"},"description":"ISO 4217 code"},{"name":"quote","in":"path","required":true,"schema":{"type":"string","example":"JPY"},"description":"ISO 4217 code"}],"responses":{"200":{"description":"FX cross rate from ECB fixings","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json"},"description":"FX cross rate from ECB fixings","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}","description":"FX cross rate from ECB fixings","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/oil":{"get":{"operationId":"data_energy_oil","summary":"Brent and WTI spot price (EIA) — $0.007","description":"Daily spot prices for Brent (Europe) and WTI (Cushing, OK) crude in USD per barrel, as published by the US EIA with about one business day lag. Not an exchange tick feed. Source: U.S. Energy Information Administration (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Brent and WTI spot price (EIA)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json"},"description":"Brent and WTI spot price (EIA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/oil","description":"Brent and WTI spot price (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/natgas":{"get":{"operationId":"data_energy_natgas","summary":"Henry Hub natural gas spot (EIA) — $0.007","description":"Daily Henry Hub natural gas spot price in USD per million Btu from the US EIA. Source: U.S. Energy Information Administration (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Henry Hub natural gas spot (EIA)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json"},"description":"Henry Hub natural gas spot (EIA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/natgas","description":"Henry Hub natural gas spot (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/us-grid":{"get":{"operationId":"data_energy_us_grid","summary":"US grid demand and generation mix, hourly (EIA) — $0.007","description":"Latest hourly electricity demand, net generation and generation by fuel type for the US Lower 48 from the EIA Hourly Electric Grid Monitor. Source: U.S. Energy Information Administration (public domain (US federal)). Cadence: hourly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US grid demand and generation mix, hourly (EIA)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json"},"description":"US grid demand and generation mix, hourly (EIA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-grid","description":"US grid demand and generation mix, hourly (EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/crude-imports":{"get":{"operationId":"data_energy_crude_imports","summary":"US crude oil imports by origin country, latest month (EIA-814) — $0.007","description":"Total US crude imports for the latest reported month with the top 15 origin countries, share and grade mix, in thousand barrels and million barrels per day. Published about one month after the reference month. Source: U.S. Energy Information Administration (EIA-814) (public domain (US federal)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US crude oil imports by origin country, latest month (EIA-814)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json"},"description":"US crude oil imports by origin country, latest month (EIA-814)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/crude-imports","description":"US crude oil imports by origin country, latest month (EIA-814)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/nuclear-outages":{"get":{"operationId":"data_energy_nuclear_outages","summary":"US nuclear reactor outages today (NRC via EIA) — $0.007","description":"US nuclear fleet capacity, megawatts offline and percent outage for the latest day, every reactor currently in outage (planned refuelling included) and the 30-day fleet trend. Source: U.S. Energy Information Administration / Nuclear Regulatory Commission (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US nuclear reactor outages today (NRC via EIA)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json"},"description":"US nuclear reactor outages today (NRC via EIA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/nuclear-outages","description":"US nuclear reactor outages today (NRC via EIA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/steo-forecast":{"get":{"operationId":"data_energy_steo_forecast","summary":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil — $0.007","description":"EIA Short-Term Energy Outlook headline series: latest actual and the next 18 monthly projections for Brent and WTI spot, Henry Hub gas, US regular gasoline, US crude production and world liquid fuels supply and demand. Projections, not observations, beyond the current month. Source: U.S. Energy Information Administration (STEO) (public domain (US federal)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json"},"description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/steo-forecast","description":"EIA 18-month forecast: Brent, WTI, Henry Hub, gasoline, US and world oil","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/us-energy-overview":{"get":{"operationId":"data_energy_us_energy_overview","summary":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review) — $0.007","description":"Latest monthly US primary energy production, consumption, imports, exports (trillion Btu) and energy-related CO2 emissions (million metric tons), each with the year-ago value and change. Source: U.S. Energy Information Administration (MER) (public domain (US federal)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json"},"description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/us-energy-overview","description":"US total energy: production, consumption, trade and CO2 (Monthly Energy Review)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/energy/electricity-retail/{state}":{"get":{"operationId":"data_energy_electricity_retail","summary":"US retail electricity price, sales and customers by state and sector — $0.007","description":"Average retail electricity price (cents/kWh), sales, customers and revenue for residential, commercial, industrial, transportation and all sectors in one US state (or US total), latest month with year-ago comparison. Source: U.S. Energy Information Administration (EIA-861M) (public domain (US federal)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"state","in":"path","required":true,"schema":{"type":"string","example":"TX"},"description":"US or two-letter state code"}],"responses":{"200":{"description":"US retail electricity price, sales and customers by state and sector","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json"},"description":"US retail electricity price, sales and customers by state and sector","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/energy/electricity-retail/{state}","description":"US retail electricity price, sales and customers by state and sector","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/macro/us-debt":{"get":{"operationId":"data_macro_us_debt","summary":"US national debt to the penny (Treasury) — $0.003","description":"Total public debt outstanding, debt held by the public and intragovernmental holdings from the US Treasury \"Debt to the Penny\" dataset, plus the change since the previous record. Source: U.S. Treasury Fiscal Data (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US national debt to the penny (Treasury)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json"},"description":"US national debt to the penny (Treasury)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/us-debt","description":"US national debt to the penny (Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/macro/inflation/{region}":{"get":{"operationId":"data_macro_inflation","summary":"Consumer price inflation, US (BLS) or EU (Eurostat HICP) — $0.007","description":"Latest headline inflation: region \"us\" returns CPI-U index with year-on-year and month-on-month change (BLS); \"eu\" returns euro-area HICP annual rate (Eurostat); a two-letter EU country code returns that country's HICP annual rate. Source: BLS / Eurostat (public domain (BLS); free reuse with attribution (Eurostat)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"region","in":"path","required":true,"schema":{"type":"string","example":"us"},"description":"us, eu, or EU country code"}],"responses":{"200":{"description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json"},"description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/inflation/{region}","description":"Consumer price inflation, US (BLS) or EU (Eurostat HICP)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/macro/rates":{"get":{"operationId":"data_macro_rates","summary":"Policy rates and US yield curve (Fed, ECB, Treasury) — $0.007","description":"Effective fed funds rate and target range (NY Fed), ECB deposit facility rate, US Treasury 3m/2y/10y/30y par yields with the 2s10s spread and an inversion flag. Source: NY Fed / ECB / U.S. Treasury (public domain (Fed, Treasury); free reuse with attribution (ECB)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Policy rates and US yield curve (Fed, ECB, Treasury)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json"},"description":"Policy rates and US yield curve (Fed, ECB, Treasury)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/rates","description":"Policy rates and US yield curve (Fed, ECB, Treasury)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/macro/recession":{"get":{"operationId":"data_macro_recession","summary":"US recession signals: Sahm rule and prediction markets — $0.007","description":"Sahm rule value computed from BLS unemployment (triggered at 0.50 pp) plus the most traded open recession markets on Polymarket with their current Yes probability. Source: BLS / Polymarket (public domain (BLS); Polymarket public API). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US recession signals: Sahm rule and prediction markets","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json"},"description":"US recession signals: Sahm rule and prediction markets","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/macro/recession","description":"US recession signals: Sahm rule and prediction markets","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/macro/bank-failures":{"get":{"operationId":"data_macro_bank_failures","summary":"US bank failures, year to date (FDIC) — $0.003","description":"Count of FDIC-insured bank failures this year and last, with the latest ten failures, assets and deposits. Source: FDIC BankFind (public domain (US federal)). Cadence: weekly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"US bank failures, year to date (FDIC)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json"},"description":"US bank failures, year to date (FDIC)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/macro/bank-failures","description":"US bank failures, year to date (FDIC)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/stablecoins/supply":{"get":{"operationId":"data_stablecoins_supply","summary":"Stablecoin supply by issuer, USD and EUR pegged — $0.007","description":"Total circulating USD- and EUR-pegged stablecoin supply and the top issuers with 7-day change, aggregated across chains. Source: DefiLlama (DefiLlama open API). Cadence: 15m; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Stablecoin supply by issuer, USD and EUR pegged","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json"},"description":"Stablecoin supply by issuer, USD and EUR pegged","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/supply","description":"Stablecoin supply by issuer, USD and EUR pegged","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/stablecoins/peg":{"get":{"operationId":"data_stablecoins_peg","summary":"Stablecoin peg deviations — $0.007","description":"Every USD/EUR stablecoin above $50M supply with its aggregate price and deviation from peg in basis points; depegs over 50 bp listed first. Source: DefiLlama (DefiLlama open API). Cadence: 5m; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Stablecoin peg deviations","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json"},"description":"Stablecoin peg deviations","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/stablecoins/peg","description":"Stablecoin peg deviations","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/crypto/fear-greed":{"get":{"operationId":"data_crypto_fear_greed","summary":"Crypto Fear and Greed index — $0.003","description":"Current Crypto Fear and Greed index (0 extreme fear to 100 extreme greed) with classification and the last seven days. Source: alternative.me (free with attribution). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Crypto Fear and Greed index","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json"},"description":"Crypto Fear and Greed index","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/crypto/fear-greed","description":"Crypto Fear and Greed index","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/crypto/hacks":{"get":{"operationId":"data_crypto_hacks","summary":"DeFi hacks and exploits, last 30 days and YTD — $0.007","description":"Count and USD value of DeFi hacks in the last 30 days and year to date, with the fifteen most recent incidents, chain and technique. Source: DefiLlama (DefiLlama open API). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"DeFi hacks and exploits, last 30 days and YTD","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json"},"description":"DeFi hacks and exploits, last 30 days and YTD","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/crypto/hacks","description":"DeFi hacks and exploits, last 30 days and YTD","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/security/cve-critical":{"get":{"operationId":"data_security_cve_critical","summary":"Critical CVEs published in the last 24 hours (NVD) — $0.007","description":"CVEs with CVSS v3 severity CRITICAL published in the last 24 hours, with score, vector and description. Source: NIST National Vulnerability Database (public domain (US federal)). Cadence: hourly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Critical CVEs published in the last 24 hours (NVD)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json"},"description":"Critical CVEs published in the last 24 hours (NVD)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/cve-critical","description":"Critical CVEs published in the last 24 hours (NVD)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/security/kev":{"get":{"operationId":"data_security_kev","summary":"CISA Known Exploited Vulnerabilities, latest additions — $0.003","description":"Size of the CISA KEV catalog, additions in the last seven days and the twenty most recently added actively exploited vulnerabilities with due dates and ransomware use. Source: CISA (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.003000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"CISA Known Exploited Vulnerabilities, latest additions","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json"},"description":"CISA Known Exploited Vulnerabilities, latest additions","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"3000","maxAmountRequired":"3000","resource":"https://x402.asterpay.io/v1/data/security/kev","description":"CISA Known Exploited Vulnerabilities, latest additions","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/security/ransomware":{"get":{"operationId":"data_security_ransomware","summary":"Ransomware victims posted on leak sites — $0.007","description":"Most recent victims claimed on ransomware leak sites, with group, country and sector, the 24-hour count and the most active groups. Source: ransomware.live (free API with attribution). Cadence: hourly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Ransomware victims posted on leak sites","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json"},"description":"Ransomware victims posted on leak sites","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/security/ransomware","description":"Ransomware victims posted on leak sites","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/company/vat/{vatId}":{"get":{"operationId":"data_company_vat","summary":"EU VAT number validation (VIES) — $0.007","description":"Validates an EU VAT identification number against the European Commission VIES service and returns the registered name and address where the member state publishes them. Source: European Commission VIES (official EU service). Cadence: live; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.007500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"vatId","in":"path","required":true,"schema":{"type":"string","example":"FI01120389"},"description":"Country code + number"}],"responses":{"200":{"description":"EU VAT number validation (VIES)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json"},"description":"EU VAT number validation (VIES)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"7500","maxAmountRequired":"7500","resource":"https://x402.asterpay.io/v1/data/company/vat/{vatId}","description":"EU VAT number validation (VIES)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/company/verify/{vatId}":{"get":{"operationId":"data_company_verify","summary":"EU merchant verification bundle: VIES + national register + LEI, one verdict — $0.05","description":"One call verifies an EU business before an agent pays it: VAT validity and registered name/address (VIES), national trade-register status and legal form (Finland live via PRH; other member states report not_available), LEI record and its status (GLEIF), cross-checks between the three (name, country, active status), explicit risk_flags and a verdict of verified / partial / failed with a confidence level. Includes the next step to resolve the merchant payout endpoint for EUR settlement. Source: European Commission VIES / PRH / GLEIF (official EU service; CC BY 4.0 (PRH); CC0 (GLEIF)). Cadence: live; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.050000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"vatId","in":"path","required":true,"schema":{"type":"string","example":"FI01120389"},"description":"EU VAT id, country code + number"}],"responses":{"200":{"description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json"},"description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"50000","maxAmountRequired":"50000","resource":"https://x402.asterpay.io/v1/data/company/verify/{vatId}","description":"EU merchant verification bundle: VIES + national register + LEI, one verdict","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/company/profile/{country}/{id}":{"get":{"operationId":"data_company_profile","summary":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line — $0.015","description":"Normalised company identity card. country=fi: Finnish Trade Register (PRH) — current and former names, legal form, main business line (TOL 2008), visiting and postal address, register status, registration and end dates, open situations (e.g. bankruptcy), website, plus the LEI if one exists. country=lei: any LEI worldwide from GLEIF. country=gb: Companies House (enabled when the deployment has a key). Every field carries the register's own dates. Source: PRH (Finnish Trade Register) / GLEIF / Companies House (CC BY 4.0 (PRH); CC0 (GLEIF); OGL (Companies House)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.015000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string","example":"fi"},"description":"fi, lei or gb"},{"name":"id","in":"path","required":true,"schema":{"type":"string","example":"0112038-9"},"description":"Business id (fi), LEI (lei) or company number (gb)"}],"responses":{"200":{"description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json"},"description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"15000","maxAmountRequired":"15000","resource":"https://x402.asterpay.io/v1/data/company/profile/{country}/{id}","description":"Company profile from the national register (FI) or any LEI, with legal form, status, addresses and business line","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/company/signals/{country}/{id}":{"get":{"operationId":"data_company_signals","summary":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status — $0.03","description":"Dated register events for one company over the last 365 days (or since ?since=YYYY-MM-DD; the response returns next_since for the next poll), newest first, with flags an agent can act on: name_changed_90d, address_changed_90d, legal_form_changed_365d, business_line_changed_365d, situation_recorded_365d, ended, lei_lapsed, lei_renewal_due_90d. country=fi reads PRH register events and the GLEIF LEI record; country=lei reads GLEIF only; country=gb reads Companies House filing history (when enabled). A registered change is a fact; its meaning is the caller's interpretation. Source: PRH (Finnish Trade Register) / GLEIF / Companies House (CC BY 4.0 (PRH); CC0 (GLEIF); OGL (Companies House)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.030000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string","example":"fi"},"description":"fi, lei or gb"},{"name":"id","in":"path","required":true,"schema":{"type":"string","example":"0112038-9"},"description":"Business id (fi), LEI (lei) or company number (gb)"},{"name":"since","in":"query","required":false,"schema":{"type":"string","example":"2026-10-01"},"description":"Watchlist loop: ISO day (YYYY-MM-DD); return only events dated on or after it and poll next time with the next_since the response returns. Inclusive; dedupe on type+observed_at."}],"responses":{"200":{"description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json"},"description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"30000","maxAmountRequired":"30000","resource":"https://x402.asterpay.io/v1/data/company/signals/{country}/{id}","description":"Company change signals, last 365 days: name, address, legal form, business line, register entries, LEI status","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/tenders/eu/{country}/{cpv}":{"get":{"operationId":"data_tenders_eu","summary":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline — $0.02","description":"Contract notices published on TED in the last 90 days (or since ?since=YYYY-MM-DD; the response returns next_since so a daily poll pays only for new notices) for one country (or all of the EU/EEA) and one CPV code prefix, newest 50, sorted by submission deadline with days_to_deadline, buyer, estimated value, procedure and the notice link. Counts open notices and those closing within 14 days. Covers notices above the EU thresholds only; national below-threshold portals are not included. Source: TED — Tenders Electronic Daily (Publications Office of the EU) (free reuse with attribution (EU reuse policy)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.020000"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"parameters":[{"name":"country","in":"path","required":true,"schema":{"type":"string","example":"FI"},"description":"EU/EEA ISO-2 code or eu for all (AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, NO, IS, LI, CH, GB)"},{"name":"cpv","in":"path","required":true,"schema":{"type":"string","example":"72"},"description":"CPV code prefix, 2 to 8 digits"},{"name":"since","in":"query","required":false,"schema":{"type":"string","example":"2026-10-01"},"description":"Watchlist loop: ISO day (YYYY-MM-DD); return only notices published on or after it and poll next time with the next_since the response returns. Inclusive; dedupe on publication_number."}],"responses":{"200":{"description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json"},"description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"20000","maxAmountRequired":"20000","resource":"https://x402.asterpay.io/v1/data/tenders/eu/{country}/{cpv}","description":"EU public tenders (TED) by country and CPV, open notices sorted by submission deadline","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/agi":{"get":{"operationId":"data_risk_agi","summary":"AGI arrival forecasts from prediction markets — free","description":"Open Manifold markets on when AGI arrives (and Metaculus community medians when a token is configured). Aggregated crowd forecasts, not AsterPay predictions. Source: Manifold Markets / Metaculus (public APIs, attribution). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"responses":{"200":{"description":"AGI arrival forecasts from prediction markets","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}}},"security":[]}},"/v1/data/risk/ai-extinction":{"get":{"operationId":"data_risk_ai_extinction","summary":"AI extinction risk forecasts and the Doomsday Clock — free","description":"Open prediction markets on AI causing human extinction or catastrophe, alongside the current Doomsday Clock setting. Crowd forecasts, not AsterPay predictions. Source: Manifold Markets / Metaculus / Bulletin of the Atomic Scientists (public APIs, attribution). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"responses":{"200":{"description":"AI extinction risk forecasts and the Doomsday Clock","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}}},"security":[]}},"/v1/data/risk/doomsday-clock":{"get":{"operationId":"data_risk_doomsday_clock","summary":"Doomsday Clock: seconds to midnight — free","description":"Current Doomsday Clock setting by the Bulletin of the Atomic Scientists (85 seconds to midnight, set 27 January 2026) with history since 1947. Updated once a year after the January statement. Source: Bulletin of the Atomic Scientists (cited with attribution). Cadence: yearly; observed_at in the response is the upstream timestamp.","tags":["data"],"responses":{"200":{"description":"Doomsday Clock: seconds to midnight","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}}},"security":[]}},"/v1/data/risk/asteroids":{"get":{"operationId":"data_risk_asteroids","summary":"Asteroid close approaches next 7 days and Sentry impact risk — $0.002","description":"Near-Earth objects approaching within the next seven days (closest five, hazardous count) from NASA NeoWs, plus the top of the JPL Sentry impact-risk table. Source: NASA NeoWs / JPL Sentry (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Asteroid close approaches next 7 days and Sentry impact risk","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json"},"description":"Asteroid close approaches next 7 days and Sentry impact risk","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/asteroids","description":"Asteroid close approaches next 7 days and Sentry impact risk","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/space-weather":{"get":{"operationId":"data_risk_space_weather","summary":"Geomagnetic storm level and space weather alerts (NOAA) — $0.002","description":"Current planetary Kp index and NOAA G-scale storm level, the last 24 hours of Kp, and recent SWPC alerts, watches and warnings. Source: NOAA Space Weather Prediction Center (public domain (US federal)). Cadence: 15m; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Geomagnetic storm level and space weather alerts (NOAA)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json"},"description":"Geomagnetic storm level and space weather alerts (NOAA)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/space-weather","description":"Geomagnetic storm level and space weather alerts (NOAA)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/earthquakes":{"get":{"operationId":"data_risk_earthquakes","summary":"Earthquakes M4.5+ in the last 24 hours (USGS) — $0.002","description":"All magnitude 4.5+ earthquakes in the past day with location, depth, tsunami flag and PAGER alert level; strongest first. Source: U.S. Geological Survey (public domain (US federal)). Cadence: 5m; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Earthquakes M4.5+ in the last 24 hours (USGS)","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json"},"description":"Earthquakes M4.5+ in the last 24 hours (USGS)","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/earthquakes","description":"Earthquakes M4.5+ in the last 24 hours (USGS)","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/outbreaks":{"get":{"operationId":"data_risk_outbreaks","summary":"WHO Disease Outbreak News, latest — $0.002","description":"The fifteen most recent WHO Disease Outbreak News items with summaries and links, and the 30-day count. Source: World Health Organization (WHO, attribution). Cadence: daily; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"WHO Disease Outbreak News, latest","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json"},"description":"WHO Disease Outbreak News, latest","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/outbreaks","description":"WHO Disease Outbreak News, latest","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/climate":{"get":{"operationId":"data_risk_climate","summary":"Atmospheric CO2 and global temperature anomaly — $0.002","description":"Latest monthly mean CO2 at Mauna Loa with year-on-year change (NOAA) and the latest monthly global land-ocean temperature anomaly vs 1951-1980 (NASA GISTEMP). Source: NOAA GML / NASA GISS (public domain (US federal)). Cadence: monthly; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Atmospheric CO2 and global temperature anomaly","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json"},"description":"Atmospheric CO2 and global temperature anomaly","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/climate","description":"Atmospheric CO2 and global temperature anomaly","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/markets":{"get":{"operationId":"data_risk_markets","summary":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic — $0.002","description":"The most traded open Polymarket markets for six risk themes with current Yes probability, volume and end date. Source: Polymarket (Polymarket public Gamma API). Cadence: 5m; observed_at in the response is the upstream timestamp.","tags":["data"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.001500"},"protocols":[{"x402":{"networks":["eip155:8453","eip155:1","eip155:137","eip155:42161","eip155:10","eip155:1187947933"]}},{"mpp":{"method":"asterpay","intent":"charge","currency":"USDC"}}]},"responses":{"200":{"description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}},"402":{"description":"Payment Required — pay via x402 or MPP (USDC on Base, Ethereum, Polygon, Arbitrum, Optimism or SKALE), then retry. See the WWW-Authenticate and Payment-Required response headers, or the `accepts` array below. The example is the exact body the runtime returns (minus per-request extras such as example_response and extensions.bazaar).","headers":{"WWW-Authenticate":{"schema":{"type":"string"},"description":"MPP challenge, e.g. `Payment realm=\"x402.asterpay.io\", method=\"asterpay\"`"},"Payment-Required":{"schema":{"type":"string"},"description":"x402 challenge descriptor"}},"content":{"application/json":{"schema":{"type":"object","properties":{"x402Version":{"type":"integer","example":2},"resource":{"type":"object","description":"x402 v2 ResourceInfo for the paid resource","properties":{"url":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string"}},"required":["url"]},"description":{"type":"string"},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string","example":"exact"},"network":{"type":"string","description":"CAIP-2 chain id","example":"eip155:8453"},"amount":{"type":"string","description":"Price in USDC minor units (6 decimals)","example":"5000"},"maxAmountRequired":{"type":"string","description":"Same as amount (x402 v1 alias)","example":"5000"},"resource":{"type":"string","format":"uri"},"description":{"type":"string"},"mimeType":{"type":"string","example":"application/json"},"payTo":{"type":"string","example":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E"},"asset":{"type":"string","description":"USDC contract on that chain","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"maxTimeoutSeconds":{"type":"integer","example":300},"extra":{"type":"object","description":"EIP-712 domain of the asset","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"outputSchema":{"type":"object","description":"Bazaar discovery input/output schema (first entry only)"}},"required":["scheme","network","amount","payTo","asset","resource"]}},"extensions":{"type":"object","description":"x402 extensions (bazaar discovery metadata) when the route is catalogued"},"example_response":{"type":"object","description":"Sample 200 body for this route, when available"},"first_call_free":{"type":"object","description":"Present on routes priced at or below the first-call-free cap"},"mpp":{"type":"object","description":"MPP (Machine Payments Protocol) instructions"},"howToPay":{"type":"object","description":"Step-by-step payment instructions per protocol"}},"required":["x402Version","accepts"]},"example":{"x402Version":2,"resource":{"url":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json"},"description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","accepts":[{"scheme":"exact","network":"eip155:8453","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:10","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","maxTimeoutSeconds":300,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:1187947933","amount":"1500","maxAmountRequired":"1500","resource":"https://x402.asterpay.io/v1/data/risk/markets","description":"Prediction markets on recession, AI, nuclear, Taiwan, Iran, pandemic","mimeType":"application/json","payTo":"0xd5f8481D8F25d3966d2010DBf9B47fFbdf745A9E","asset":"0x85889c8c714505E0c94b30fcfcF64fE3Ac8FCb20","maxTimeoutSeconds":300,"extra":{"name":"USDC","version":"1"}}],"mpp":{"supported":true,"methods":["asterpay"],"howToPay":["1. Read WWW-Authenticate: Payment header for challenge details","2. Send USDC on Base to the recipient address","3. Retry with Authorization: Payment <credential> containing txHash"],"sdk":"npm install mppx — or pip install pympp","spec":"https://mpp.dev"},"howToPay":{"protocols":["x402","mpp"],"x402":{"steps":["1. Read accepts[0] for payment details (network, asset, amount, payTo)","2. Send USDC on Base via transferWithAuthorization (EIP-3009)","3. Base64-encode the signed payment payload","4. Retry with header: PAYMENT-SIGNATURE: <base64-payload>"],"sdk":"npm install @x402/fetch — or pip install x402"}}}}}}},"security":[{"x402":[]},{"mpp":[]}]}},"/v1/data/risk/board":{"get":{"operationId":"data_risk_board","summary":"World Risk Board: all risk doors in one response — free","description":"Composite of every /v1/data/risk/* door. Tiles that fail upstream are returned as null with an error note instead of failing the whole board. Source: AsterPay composite of the sources above (see each tile). Cadence: 5m; observed_at in the response is the upstream timestamp.","tags":["data"],"responses":{"200":{"description":"World Risk Board: all risk doors in one response","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"object","description":"Door-specific payload; see the door description and GET /v1/data for an example URL"},"source":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"license":{"type":"string"}},"required":["name","url","license"]},"observed_at":{"type":["string","null"],"description":"Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time."},"fetched_at":{"type":"string","description":"When AsterPay last fetched from the upstream"},"cadence":{"type":"string","enum":["live","5m","15m","hourly","daily","weekly","monthly","yearly"]},"next_expected":{"type":["string","null"],"description":"Earliest time a newer upstream value is expected"},"cache_expires_at":{"type":"string"},"stale":{"type":"boolean","description":"true when the upstream failed and a cached copy under 24h old was served"},"timestamp":{"type":"string"}},"required":["success","data","source","observed_at","fetched_at","cadence","stale","timestamp"]}}}}},"security":[]}},"/v1/data":{"get":{"operationId":"data_catalog","summary":"Data doors catalog — free","description":"Every /v1/data/* endpoint with price, source, cadence, parameters and an example URL.","tags":["data"],"responses":{"200":{"description":"Catalog","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"count":{"type":"integer"},"doors":{"type":"array","items":{"type":"object"}}},"required":["success","count","doors"]}}}}},"security":[]}}}}