{"uid":"cap_m4X9zGI4PIIjMVgPa8wGp","slug":"via-router-find-cheapest-api-84f26bde","name":"VIA Router — Find Cheapest API","description":"Find the cheapest suitable API or software service for an agent task (for example PDF text extraction, web scraping, search, weather, email validation). Returns one recommendation plus alternatives with real prices.","url":"https://via-router.floot.app/_api/find_cheapest_api?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"intent":{"type":"string","maxLength":500,"minLength":2,"description":"Plain-language request to route"},"market":{"enum":["auto","services","commerce","information","travel"],"type":"string"},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"language":{"enum":["en","pt"],"type":"string"}}},"responseSchema":{"type":"json","example":{"paid":true,"intent":"Find a PDF text extractor","settlement":{"network":"eip155:8453","transaction":"0x..."},"viaTollUsd":0.01,"alternatives":[],"recommendation":{"title":"PDF Text Extractor","source":"Apify Store"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d9CQerinOfjw8ltec-s9I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes a plain-language intent to the cheapest recommended API, service, or product match, paid via x402 USDC microtransaction on Base.","exampleAgentPrompt":"Use VIA Router to find me the cheapest API for extracting text from PDFs — search in the services market, in English, for the US.","exampleUseCases":[{"title":"Cheapest SMS API for agent","prompt":"I need to send SMS messages from my agent — use VIA Router to find and recommend the cheapest API for that in the services market for the US."},{"title":"Best travel booking service lookup","prompt":"Find me the best and cheapest travel booking service or API I can use for flight searches — check the travel market in English for the US."},{"title":"Commerce product search API","prompt":"My agent needs to search for products to buy — use VIA Router to find the cheapest commerce API or service for product search, in English for Brazil (BR)."}],"resultDescription":"Returns a JSON object containing a recommended API or service (title and source), whether payment was successful, the settlement transaction hash on Base, the toll cost in USD (0.001 USDC), and any alternatives found.","failureModes":["Intent string too short or too long (must be 2–500 characters) — validation error","Invalid country code (must be ISO 3166-1 alpha-2 uppercase) — schema validation failure","No matching service found for the given intent — empty or null recommendation","Payment settlement failure on Base network — transaction not confirmed","Unsupported market enum value — request rejected","Rate limiting or service unavailability — HTTP 5xx error"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to dynamically discover and select the cheapest available API or service for a given task at runtime, especially when cost optimization matters and the agent does not already have a hardcoded integration. Ideal for agentic workflows that need to resolve tool selection on-the-fly using natural language, and where micropayment via x402/USDC on Base is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T00:30:43.641Z","isFirstParty":false,"canonicalSlug":"via-router-find-cheapest-api-84f26bde"}