{"uid":"cap_62S8cLHbuaQKiDax5INVa","slug":"hearth-route-x402-api-discovery-pay-per-call-router-714e6e44","name":"Hearth Route — x402 API Discovery & Pay-Per-Call Router","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/route?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":["q"],"properties":{"q":{"type":"string","description":"What you need, in plain words"},"url":{"type":"string","description":"Optional: a specific listed x402 seller URL to buy from"},"params":{"type":"string","description":"JSON object passed to the seller (query string for GET, body for POST)"},"category":{"type":"string","description":"Optional category override: search, scrape, llm, image, enrich, onchain, price, social, weather, geo, audio, security"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":[],"properties":{"result":{"type":["object","null"]},"schema":{"type":["string","null"]},"seller":{"type":["object","null"]},"category":{"type":["string","null"]},"contentType":{"type":["string","null"]},"hearthPriceUsd":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"result":{"results":[]},"schema":"hearth.route.v1","seller":{"tx":"0x…","url":"https://seller.example/api/search","payTo":"0x…","priceUsd":0.005,"rankScore":6.2,"precheckScore":90},"category":"search","contentType":"application/json","hearthPriceUsd":0.008}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yHQ3R1y54Wa8xappvlhRW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Discovers, ranks, and routes plain-language queries to the best x402-enabled API seller, runs pay-safety prechecks, and returns the result — all for $0.01 USDC per call.","exampleAgentPrompt":"I need onchain data about a Base wallet address — use Hearth to find and call the best x402 API for it, passing the address as params, and make sure it passes the safety precheck before paying.","exampleUseCases":[{"title":"Onchain wallet data lookup","prompt":"Look up the latest transactions for Base wallet 0xAbC123... — find the best x402 API for onchain data through Hearth and return the result."},{"title":"Web page to Markdown for agent context","prompt":"Convert the article at https://example.com/blog/post into Markdown so I can feed it to my AI pipeline — route it through Hearth using the scrape category."},{"title":"Safe x402 seller discovery before paying","prompt":"I want to call an x402 API for real-time crypto prices — use Hearth to find the highest-ranked, safest seller in the price category and show me its precheck score before committing."}],"resultDescription":"A JSON object containing the seller's API result, the matched seller's metadata (URL, payTo address, price in USD, rank score, precheck safety score), the inferred or overridden category, content type, and the total Hearth price paid in USD.","failureModes":["No matching x402 seller found for the query — result is null with an empty results array","Seller fails safety precheck — low precheckScore returned, call may be blocked","Invalid or unsupported category override — request rejected or falls back to auto-detection","Seller URL not reachable or not listed — error returned","Insufficient USDC balance for x402 payment — payment fails before routing","params JSON is malformed — query string or body parsing error"],"whenToPreferThis":"Choose this endpoint when you need to discover and call x402-enabled pay-per-call APIs without managing individual seller discovery, ranking, or payment safety yourself. It is ideal for AI agents that need onchain (Base/EVM/Solana) data, web-to-Markdown conversion, or any category of x402 API (search, scrape, LLM, image, enrich, price, social, weather, geo, audio, security) and want a single routing layer that handles precheck scoring and seller ranking automatically. Prefer it over direct seller calls when you don't know which x402 seller is safest or most relevant.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:40:18.336Z","isFirstParty":false,"canonicalSlug":"hearth-route-x402-api-discovery-pay-per-call-router-714e6e44"}