{"uid":"cap_yrwr5BRMnRZ4u5Z2fTZSc","slug":"api-trust-check-x402-pre-payment-validator-0fac97ce","name":"API Trust Check (x402 Pre-Payment Validator)","description":"Pre-payment trust check of a paid API endpoint: reachability, 402 handshake, registrable-domain age (RDAP), TLS days left, seller USDC balance and ETH gas runway on Base -> trust_score 0-100 + verdict pay|caution|avoid","url":"https://49110-a2faebhnaj4vebqe.splox.app/trust?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"endpoint URL, e.g. https://seller.example/tool"}}},"responseSchema":{"type":"object","required":["input","trust_score","verdict","reasons"],"properties":{"host":{"type":"string"},"input":{"type":"string","description":"endpoint URL that was checked"},"domain":{"type":"object","description":"RDAP domain age, expiry, registrar, DNS, TLS days left","additionalProperties":true},"pay_to":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"seller wallet facts on Base: USDC balance, ETH gas runway, contract flag"},"payment":{"type":"object","description":"402 handshake: scheme, network, asset, amount, pay_to","additionalProperties":true},"reasons":{"type":"array","items":{"type":"string"}},"verdict":{"enum":["pay","caution","avoid"],"type":"string"},"checked_at":{"type":"string","format":"date-time"},"trust_score":{"type":"integer","description":"0-100"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bd4kxxz-nd2QTPx2ewb5F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a pre-payment trust assessment of a paid API endpoint, returning a 0-100 trust score and a pay/caution/avoid verdict based on reachability, 402 handshake, domain age, TLS validity, and seller wallet health on Base.","exampleAgentPrompt":"Before I pay that endpoint at https://seller.example/tool, run a trust check on it and tell me the score and whether I should pay, proceed with caution, or avoid it entirely.","exampleUseCases":[{"title":"Vet unknown API before payment","prompt":"I found a paid API at https://api.newprovider.xyz/chat — can you check its trust score before I send any USDC? I want to know if the domain is old enough, TLS is valid, and the seller wallet looks funded."},{"title":"Automate safe payments in agent pipeline","prompt":"Before my agent pays any x402 endpoint in our workflow, I want it to first run a trust check and only proceed if the verdict is 'pay' — block any endpoint that comes back 'caution' or 'avoid'."},{"title":"Monitor a known API for trust degradation","prompt":"Check the trust status of https://partner.service.io/data right now — I want to see if their TLS is still valid, the domain hasn't expired, and they still have enough ETH for gas on Base."}],"resultDescription":"Returns a JSON object with the checked URL, a trust_score integer (0-100), a verdict of 'pay', 'caution', or 'avoid', an array of human-readable reasons, domain RDAP info (age, expiry, registrar, TLS days left), payment scheme details from the 402 handshake, and seller wallet facts (USDC balance, ETH gas runway, contract flag) on Base, plus a checked_at timestamp.","failureModes":["URL is unreachable or returns no 402 response — low trust score, 'avoid' verdict with reachability reason","Domain not found in RDAP — domain age cannot be verified, score penalized","TLS certificate expired or near expiry — flagged in reasons, score reduced","Seller wallet has insufficient USDC or ETH gas — reflected in reasons and verdict","Invalid or malformed URL input — likely 4xx validation error","Base network unavailable for wallet lookup — wallet facts may be missing"],"whenToPreferThis":"Use this endpoint when you need a quick, automated pre-payment trust assessment for any x402-compatible paid API before committing USDC. It is especially valuable in agentic workflows where the agent must autonomously decide whether to pay an unknown or third-party endpoint. Prefer this over manual domain lookups or separate TLS checkers because it combines domain age, TLS validity, 402 handshake verification, and on-chain seller wallet health into a single scored verdict.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:31:38.529Z","isFirstParty":false,"canonicalSlug":"api-trust-check-x402-pre-payment-validator-0fac97ce"}