{"uid":"cap_3yJwE9wXVYxAwmeLL6bB_","slug":"x402-pre-payment-trust-decision-api-3d8af9b0","name":"x402 Pre-Payment Trust Decision API","description":"Check x402 endpoint trust and payment compatibility before paying an unfamiliar API. Send the HTTPS resource URL, GET/POST method, maxPriceUsd and allowedNetwork to receive SAFE, CAUTION or AVOID, score, price, schema, resource, redirect and latency evidence. Combines an unsigned live probe with deterministic checks; no seller identity verification or guarantee of paid API reliability. Price: 0.005 USDC per successfully completed assessment.","url":"https://trust.weatherriskapi.com/v1/x402/pre-payment-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Public HTTPS x402 resource URL to probe without a payment signature."},"method":{"enum":["GET","POST"],"type":"string","description":"HTTP method advertised by the paid resource."},"maxPriceUsd":{"type":"number","maximum":1000,"minimum":0,"multipleOf":0.000001,"description":"Maximum acceptable price in USD-equivalent USDC, with at most six decimal places."},"expectedAsset":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional expected EVM asset address. V1 recognizes official Base USDC only."},"allowedNetwork":{"type":"string","pattern":"^[a-z0-9-]+:[A-Za-z0-9-]+$","description":"CAIP-2 payment network allowed by the caller. V1 gives SAFE only to Base Mainnet eip155:8453."}}},"responseSchema":{"type":"json","example":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","score":100,"scheme":"exact","source":"live endpoint probe","network":"eip155:8453","decision":"SAFE","priceUsd":"0.005","checkedAt":"2026-10-05T00:00:00.000Z","latencyMs":180,"liveStatus":402,"limitations":["Point-in-time protocol and compatibility assessment; not a fraud or delivery guarantee."],"reasonCodes":[],"x402Version":2,"networkStatus":"SUPPORTED","redirectCount":0,"resourceMatch":true,"assetRecognized":true,"priceWithinLimit":true,"inputSchemaSource":"bazaar","inputSchemaPresent":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3QyV_0B4BWQ3oTMQyT1BN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a live x402-gated URL and returns a SAFE/CAUTION/AVOID trust decision before an autonomous agent commits a USDC payment","exampleAgentPrompt":"Before paying, run a pre-payment trust check on https://data.example.com/report using GET — I'll accept up to $0.01 USDC and I only want it to pass if it's on Base Mainnet (eip155:8453).","exampleUseCases":[{"title":"Budget gate for autonomous agent","prompt":"Before my agent pays for anything, check https://api.marketdata.io/prices using GET and make sure the price won't exceed $0.002 USDC on Base Mainnet — give me a SAFE or AVOID verdict."},{"title":"x402 compatibility audit before launch","prompt":"I'm about to launch an agent that calls https://reports.myservice.com/summary via POST. Can you run a live x402 trust check on it to confirm it returns a valid 402 envelope, has a schema available, and is Base USDC compatible?"},{"title":"Redirect and latency sanity check","prompt":"Check https://pay.newsapi.com/headlines using GET — I need to know how many redirects it has, what the latency is, and whether it's safe to pay up to $0.005 USDC on eip155:8453."}],"resultDescription":"Returns a JSON object containing a top-level trust decision (SAFE, CAUTION, or AVOID), a numeric compatibility score (0–100), the live HTTP status observed, price in USD, asset contract address, network identifier, latency in milliseconds, redirect count, x402 version detected, reason codes for any issues, whether the input schema was found, and a timestamp of the assessment.","failureModes":["Target URL is unreachable or times out — decision returned as AVOID with latency error reason code","Target URL does not return HTTP 402 — incompatible endpoint flagged with liveStatus mismatch","Price returned by endpoint exceeds caller's maxPriceUsd — CAUTION or AVOID with priceWithinLimit: false","Asset address does not match expected Base USDC contract — assetRecognized: false","Network is not Base Mainnet eip155:8453 — networkStatus: UNSUPPORTED, decision capped at CAUTION","Too many redirects detected — flagged in redirectCount with degraded score","x402 envelope is malformed or wrong version — x402Version mismatch reason code returned"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a deterministic, live go/no-go verdict on an x402-gated resource before committing an on-chain USDC payment. It is specifically designed for x402 v2 protocol compatibility, Base USDC, and CAIP-2 network validation — making it the right choice over generic HTTP health checks or payment simulation tools when the agent must enforce price limits, asset type, network, and schema availability simultaneously before a real payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:32:41.291Z","isFirstParty":false,"canonicalSlug":"x402-pre-payment-trust-decision-api-3d8af9b0"}