{"uid":"cap_1VCazgYNlaLdI3G9QDjsm","slug":"foundry-x402-preflight-and-base-contract-facts-41ce5d11","name":"Foundry: x402 Preflight and Base Contract Facts","description":"Pay-per-call data for agents: check x402 sellers before paying them, and read Base contracts' proxy, owner and privileged powers straight from the chain.","url":"https://minty-sprout.onrender.com/v1/injection-screen?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UKbh7NY65n54mlNwuRV_3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks x402 payment endpoints for trustworthiness before paying them, and reads proxy, owner, and privileged role data from Base smart contracts on-chain.","exampleAgentPrompt":"Before I pay this x402 endpoint at https://some-seller.example.com/data, screen it for me — check if it's trustworthy and also tell me who owns the Base contract at 0xAbCd1234... including its proxy and any privileged roles.","exampleUseCases":[{"title":"Preflight check before paying x402 seller","prompt":"I'm about to pay an x402 endpoint at https://api.example.com/premium-feed — can you screen it first and tell me if it looks safe to pay?"},{"title":"Inspect Base contract ownership and proxy","prompt":"Who owns the Base contract at 0x1234567890abcdef1234567890abcdef12345678? I also want to know what proxy it uses and which addresses have admin or privileged powers."},{"title":"Combine x402 trust check with contract audit","prompt":"Screen the x402 seller at https://data.myproject.xyz/stream and also pull the on-chain facts for the contract it references at 0xdeadbeef... — I want to see the owner, proxy, and any special roles before I commit to paying."}],"resultDescription":"Returns trust signals and metadata about an x402 payment endpoint (such as domain age, suspicious patterns, and payment history signals) and/or on-chain facts about a Base contract including its proxy implementation address, owner address, and any privileged or admin roles assigned to specific addresses.","failureModes":["Invalid or unreachable x402 URL returns an error or empty trust signals","Non-existent or non-contract Base address returns no contract data","Malformed input string causes a 400-level error","Rate limiting or server unavailability on the Render-hosted service returns 5xx","Contract with no proxy or ownership pattern returns null for those fields"],"whenToPreferThis":"Use this endpoint when an AI agent needs to vet an x402 payment seller before committing funds, or when it needs to quickly audit a Base smart contract's control structure (proxy, owner, privileged roles) without writing custom RPC calls. Prefer this over raw RPC lookups when you want a single, pre-parsed response covering both x402 trust signals and on-chain contract facts in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:56:50.373Z","isFirstParty":false,"canonicalSlug":"foundry-x402-preflight-and-base-contract-facts-61bbd961"}