{"uid":"cap_potWn1IqGDK1kRlkbFNhJ","slug":"opx-x402-search-router-8e3b40d8","name":"OPX x402 Search Router","description":"OPX builds machine-facing infrastructure and paid tools for x402 commerce. Its current live tool helps agents choose between tested x402 web-search providers before spending using recent paid performance evidence.","url":"https://opx-status.dev/api/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":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["task"],"properties":{"q":{"type":"string","description":"Optional query context. Current routing is intent-level, not exact-query pre-execution."},"task":{"enum":["web-search"],"type":"string","description":"Routing task."},"budget":{"type":"number","description":"Maximum downstream provider price in USD."},"intent":{"enum":["web","news","research","known-page","company"],"type":"string","description":"Type of search job to route."},"freshness":{"enum":["any","day","week","month"],"type":"string","description":"Preferred freshness class."},"max_latency_ms":{"type":"number","description":"Maximum measured p50 downstream latency in milliseconds."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"task":"web-search","primary":{"score":84.1,"provider":"Exa","upstream":"exa","confidence":0.55},"request":{"intent":"news","freshness":"week","budget_usd":0.02},"feedback":{"token":"opaque-paid-client-token","outcome_url":"https://opx-status.dev/api/outcome","max_attempts":5},"fallbacks":[{"provider":"Vaaya","upstream":"brave"},{"provider":"Agent402","upstream":"independent-index"}],"confidence":0.5,"decision_id":"3c51d4e4-88b4-4b3e-9a95-1d213aa37f85"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HNCm_l_6poihyq5nFToBs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes web-search tasks to the best-performing x402 provider based on real-time probe data, intent, freshness, budget, and latency constraints","exampleAgentPrompt":"Which x402 search provider should I use right now for a news search — something fresh from the last week, with a budget under $0.02 and latency under 500ms?","exampleUseCases":[{"title":"News search provider selection","prompt":"I need to run a news search and want to know which x402 provider OPX recommends right now — it needs to return results from the last week and cost less than $0.02."},{"title":"Research task with latency constraint","prompt":"Can you ask OPX which search provider to use for a research-style query? I want the best option under 800ms p50 latency and I'm okay spending up to $0.05."},{"title":"Company lookup with fallback planning","prompt":"I need to do a company search via x402 — can you get OPX's current recommendation including fallback options in case the primary provider is down?"}],"resultDescription":"Returns a JSON object with the recommended primary provider (name, upstream, confidence score), a ranked list of fallback providers, a decision ID for traceability, a feedback token and outcome URL for reporting results, and the echoed request parameters (intent, freshness, budget).","failureModes":["Missing required 'task' query parameter returns a validation error","Unsupported intent or freshness enum value causes a 400 bad request","No provider available within budget or latency constraints may return empty or low-confidence recommendations","Stale probe data may reduce confidence score and reliability of recommendation","Payment failure or x402 auth issue blocks access entirely"],"whenToPreferThis":"Use this endpoint when you need to dynamically select the best-performing x402 web search provider at call time rather than hardcoding a specific provider. It is especially valuable when you want to factor in real-world probe latency, budget caps, freshness requirements, and intent type simultaneously, and when you want built-in fallback options if the primary recommendation fails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:32:26.473Z","isFirstParty":false,"canonicalSlug":"opx-x402-search-router-8e3b40d8"}