{"uid":"cap_tfVlgrLEJwA1znctUWAwo","slug":"payai-agentstools-dev-x402-preflight-trust-check-f5f64cea","name":"payai.agentstools.dev x402 Preflight Trust Check","description":"Preflight trust check of another x402 endpoint before an agent pays it. From the target resource URL: a composite trust score 0-100, a category (trusted / caution / untrusted / unknown), per-dimension flags, reasons and weighted signals. Scored from CDP x402 Bazaar discovery, an on-chain USDC payment-diversity sample, and a live 402 probe that the served payTo matches the listing. Trust indicators, not a guarantee.","url":"https://payai.agentstools.dev/preflight","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"The x402 resource/endpoint URL the buyer agent intends to pay"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"Optional payment network hint for the target (default any)"},"resource":{"type":"string","description":"Synonym for url (the target resource URL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_IrfynvRSVREUmJJRc_Gjx","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":"Runs a composite trust assessment on an x402 payment endpoint before an agent pays it, returning a 0–100 score, category label, and per-dimension signals.","exampleAgentPrompt":"Before my agent pays it, can you run a preflight trust check on this x402 endpoint — https://some-paid-api.example.com/data — and tell me its trust score and category so I know if it's safe to send USDC to?","exampleUseCases":[{"title":"Validate paid API before agent subscription","prompt":"I'm about to have my agent subscribe to this x402-gated data feed at https://market-data-api.example.com/prices. Can you check if it's trustworthy first and let me know the trust score and any red flags before I authorize the USDC payment?"},{"title":"Verify payment endpoint matches blockchain records","prompt":"My agent found this x402 API endpoint that claims to serve premium analytics. Before paying, can you run a trust assessment on https://analytics-provider.example.com/api and confirm whether its payTo address actually matches what's registered on-chain?"},{"title":"Screen multiple paid APIs for safety","prompt":"I have three different x402 endpoints my agent might use for real-time data: https://api-one.example.com, https://api-two.example.com, and https://api-three.example.com. Can you quickly check the trust score and category for each one so I know which is safest to pay?"}],"resultDescription":"Returns a composite trust score (0–100), a category label (trusted / caution / untrusted / unknown), per-dimension flags and reasons (CDP Bazaar listing match, on-chain USDC payment diversity sample, live 402 probe result confirming payTo address consistency), and weighted signals — together forming a trust indicator profile for the target x402 endpoint.","failureModes":["Target URL is not an x402 endpoint — unknown category returned with low score","Live 402 probe fails or times out — probe dimension flagged as unavailable","Endpoint not found in CDP Bazaar — bazaar dimension returns no signal","Invalid or malformed URL input — request rejected with validation error","Network not supported — defaults to any-network scoring if hint not recognized"],"whenToPreferThis":"Use this endpoint any time an AI agent is about to pay an x402-gated resource and needs a pre-payment trust signal. It is uniquely suited for x402 payment safety checks because it fuses three orthogonal signals: CDP Bazaar discovery, on-chain USDC payment diversity, and a live 402 probe. Prefer it over generic domain phishing checks (see sibling endpoint) when the target is specifically an x402/402-gated API rather than a merchant website.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:59.722Z","isFirstParty":false}