{"uid":"cap_x1zJ98mlCEWkSBePtGUQq","slug":"quartermaster-surewhynot-app-x402-payment-pre-flight-simulator-90743190","name":"quartermaster.surewhynot.app x402 Payment Pre-flight Simulator","description":"Pre-flight an x402 payment: decode the endpoint's challenge, report the cost on every rail (Base and Solana) and the cheapest, and — with a payer address — verify the wallet can afford the call on Base.","url":"https://quartermaster.surewhynot.app/v1/x402/simulate","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"The x402 endpoint to pre-flight"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional payer wallet to check Base affordability"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yVFRSSXsr1dp9vkG37wtR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an x402 payment challenge for a given endpoint, reports costs across Base and Solana rails, identifies the cheapest option, and optionally verifies a wallet's affordability on Base.","exampleAgentPrompt":"Before I actually pay, can you simulate the x402 payment for https://some-api.example.com/data and tell me which rail is cheapest — also check if my wallet 0xAbC1234567890AbC1234567890AbC1234567890Ab can afford it on Base?","exampleUseCases":null,"resultDescription":"Returns a decoded breakdown of the x402 payment challenge for the target endpoint, including per-rail costs for Base and Solana, which rail is cheapest, and — if a payer address was supplied — whether that wallet holds sufficient funds to cover the call on Base.","failureModes":["Target URL is not an x402-protected endpoint — returns error indicating no payment challenge found","Invalid or non-EVM wallet address format — validation error on address field","Target endpoint is unreachable or returns unexpected status — upstream fetch error","Wallet balance check fails due to RPC issues on Base — affordability result unavailable"],"whenToPreferThis":"Use this endpoint when you need to inspect or compare x402 payment costs before committing to a payment, especially when you want to choose between Base and Solana rails for cost efficiency, or when you need to programmatically verify that a specific wallet can afford a call before executing it. Prefer this over the deep audit endpoint when you only need cost and affordability data, not a full compliance audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:35.437Z","isFirstParty":false}