{"uid":"cap_O3KRPywPSP--YrfjIRRIf","slug":"via-router-buyer-contract-endpoint-2fef9de6","name":"VIA Router — Buyer Contract Endpoint","description":"VIA is a paid buyer-side router for AI agents and humans. Compare APIs, services, products and sourced research with x402 USDC payments on Base.","url":"https://via-router.floot.app/_api/buyer_contract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"intent":{"type":"string","maxLength":500,"minLength":2},"market":{"enum":["services","commerce"],"type":"string"},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"language":{"enum":["en","pt"],"type":"string"},"constraints":{"type":"object"}}},"responseSchema":{"type":"json","example":{"paid":true,"tier":"buyer_contract","contract":{"passed":true},"settlement":{"network":"eip155:8453","transaction":"0x..."},"alternatives":[],"recommendation":{"title":"Example result"}}},"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_Lt7dXRGcNjbkstILANIBf","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":"Routes an AI agent or human buyer's intent to the best-matching API, service, or product recommendation, paid via x402 USDC on Base.","exampleAgentPrompt":"I need to find and compare the best services for building an AI customer support bot — search for 'AI customer support API' in the services market for the US in English and recommend the top option.","exampleUseCases":[{"title":"Sourced API comparison for agent workflow","prompt":"Compare APIs for sending transactional emails to users — search in the services market for the US in English and tell me which one you'd recommend for my agent to use."},{"title":"Commerce product sourcing for a buyer agent","prompt":"I want to buy ergonomic office chairs for a team of 10 — look in the commerce market for the US in English and recommend the best sourced option with alternatives."},{"title":"International service discovery in Portuguese","prompt":"Find me the best payment processing service available in Brazil — search in the services market, in Portuguese, and give me a recommendation with alternatives."}],"resultDescription":"Returns a paid:true confirmation, contract pass/fail, a top recommendation with title, a list of alternative options, and a settlement object containing the Base network transaction hash for the x402 USDC payment.","failureModes":["Payment insufficient or failed — x402 payment not accepted, no result returned","Intent too vague or too short (minLength:2 not met) — validation error","Invalid country code (not ISO 3166-1 alpha-2) — schema validation failure","Unsupported market value (not 'services' or 'commerce') — enum validation error","No matching results found — empty alternatives array, contract.passed may be false","Network or Base chain settlement failure — transaction hash missing or error state"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to compare, evaluate, and receive a ranked recommendation across multiple APIs, services, or commercial products — especially when micropayment-gated access via x402 on Base is acceptable. Prefer it over static API directories when you need dynamic, intent-driven routing with a buyer-contract guarantee and sourced research rather than a simple search index.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:38:52.375Z","isFirstParty":false,"canonicalSlug":"via-router-buyer-contract-endpoint-2fef9de6"}