{"uid":"cap_L16OR5y3gFmaf1TNvzwbh","slug":"hearth-x402-precheck-batch-1a0c7d14","name":"Hearth x402 Precheck Batch","description":"x402 pay-safety precheck, ranked x402 API discovery, onchain (Base/EVM/Solana) data and web-to-Markdown for AI agents. Pay per call with x402 (USDC on Base).","url":"https://138-197-15-135.sslip.io/v1/x402/precheck-batch?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["queryParams"],"properties":{"queryParams":{"type":"object","required":["urls"],"properties":{"urls":{"type":"string","description":"Comma-separated x402 URLs (max 10)"},"maxPrice":{"type":"string","description":"Max USD per call you expect"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":[],"properties":{"count":{"type":["integer","null"]},"results":{"type":["array","null"]},"summary":{"type":["object","null"]}}}}}}},"responseSchema":{"type":"json","example":{"count":2,"results":[{"url":"https://api.exa.ai/search","score":90,"verdict":"pay"}],"summary":{"pay":2,"avoid":0,"caution":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TNwAhYZYBZlY-2ZtOyaLX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Batch safety-checks up to 10 x402 payment-gated API URLs, returning a trust score and pay/caution/avoid verdict for each","exampleAgentPrompt":"Before my agent pays any of these x402 APIs, can you run a safety precheck on all of them — https://api.exa.ai/search, https://example-api.com/data, https://another-x402.com/v1/query — and tell me which ones score well enough to pay and which to avoid?","exampleUseCases":[{"title":"Pre-flight check before agent payment run","prompt":"I'm about to let my agent call a bunch of x402 APIs automatically — can you batch-check these five URLs first and flag any that look risky or that I shouldn't pay for: https://api.exa.ai/search, https://news.api.io/v1, https://weather-x402.com/forecast, https://crypto-data.io/prices, https://docs-api.com/read?"},{"title":"Curating a trusted x402 API shortlist","prompt":"I want to build a list of only trustworthy x402 endpoints for my AI agent to use. Can you precheck these eight URLs and return the ones that get a 'pay' verdict so I can whitelist them?"},{"title":"Enforcing a max-price safety policy","prompt":"My agent has a strict budget of $0.05 per call. Can you precheck these x402 APIs — https://api.exa.ai/search and https://browser.api.com/scrape — and flag any that either look unsafe or would likely exceed that price?"}],"resultDescription":"Returns a JSON object with a count of checked URLs, an array of per-URL results (each with the URL, a numeric trust score up to 100, and a verdict of 'pay', 'caution', or 'avoid'), and a summary object tallying how many URLs fell into each verdict category.","failureModes":["More than 10 URLs submitted — batch limit exceeded","Malformed or non-x402 URLs provided — unrecognized endpoint returns low score or error","Network timeout if upstream x402 registry is unreachable","Missing required 'urls' query parameter returns 400 error","URL list is empty — returns count 0 with empty results"],"whenToPreferThis":"Use this endpoint when an AI agent needs to autonomously decide whether to pay for one or more x402-gated APIs before committing USDC, especially in automated pipelines where calling unvetted endpoints is a financial or security risk. Prefer this over manual inspection when checking more than one URL at a time, or when you need a machine-readable trust score to gate downstream payment decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:42:30.785Z","isFirstParty":false,"canonicalSlug":"hearth-x402-precheck-batch-1a0c7d14"}