{"uid":"cap_mYrePRitBUR7v8moWGQdB","slug":"hearth-x402-api-discovery-81b62f3d","name":"Hearth x402 API Discovery","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/discover?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":{"n":{"type":"string","description":"Results 1-10 (default 5)"},"q":{"type":"string","description":"Task in plain words"},"network":{"type":"string","description":"base, solana, polygon…"},"maxPrice":{"type":"string","description":"Max price per call in USD"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":[],"properties":{"q":{"type":["string","null"]},"results":{"type":["array","null"]}}}}}}},"responseSchema":{"type":"json","example":{"q":"web search","results":[{"url":"https://…/search","signal":"organic repeat usage","priceUsd":0.01,"usage30d":{"calls":4000,"payers":120,"callsPerPayer":33.3}}]}},"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_5ahlRaU8ZlMtC_FTwblTG","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":"Searches and ranks x402-compatible APIs by a plain-language task query, returning usage signals, pricing, and URLs for AI agent consumption","exampleAgentPrompt":"Search Hearth for the top 5 x402 APIs that can help me do web search, on the Base network, with a max price of $0.02 per call.","exampleUseCases":[{"title":"Find cheapest onchain data API","prompt":"Search Hearth for x402 APIs that return onchain data on Base, max $0.01 per call — give me the top 3 results ranked by usage."},{"title":"Discover web scraping APIs for agents","prompt":"I need to find x402-compatible APIs for converting web pages to Markdown. Search Hearth and show me the top 5 options with their prices and usage stats."},{"title":"Evaluate API options before paying","prompt":"Before I commit to paying, can you use Hearth to discover the best-ranked x402 APIs for sentiment analysis, on any network, priced under $0.05 per call?"}],"resultDescription":"A JSON object containing the original query string and an array of ranked API results, each with the endpoint URL, a qualitative usage signal (e.g. 'organic repeat usage'), price in USD per call, and 30-day usage stats including total calls, unique payers, and calls-per-payer ratio.","failureModes":["Missing required 'q' query parameter returns a validation error","No matching APIs found returns an empty results array","Network filter with unsupported chain name may return zero results or an error","maxPrice filter set too low may yield no results","Malformed query parameters may cause a 400-level response","x402 payment failure blocks access before the query is processed"],"whenToPreferThis":"Use this endpoint when an AI agent needs to dynamically discover which x402 pay-per-call APIs are available for a given task, especially when you want ranked results with real usage signals and price constraints. Prefer it over static API directories when you need live, usage-weighted rankings and want to filter by blockchain network or budget before committing a payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:38.053Z","isFirstParty":false,"canonicalSlug":"hearth-x402-api-discovery-81b62f3d"}