{"uid":"cap_dCrmMS5IZE0vuPtofhRGu","slug":"dispatch-x402-intent-router-fe832292","name":"dispatch-x402 Intent Router","description":"Route a natural-language agent intent to the correct paid fleet service. Returns the chosen service, a calibrated confidence score, params extracted from the intent, and ready-to-use call instructions (URL, method, price, x402 terms). Use the free /classify first to preview confidence.","url":"https://dispatch-x402.fly.dev/dispatch","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"intent":{"type":"string","description":"Natural-language task to route"},"params":{"type":"object","description":"Optional downstream params to merge"}}},"responseSchema":{"type":"json","example":{"ok":true,"call":{"url":"https://power-pack-x402.fly.dev/api/score-email","price":"$0.01","method":"POST","network":"eip155:8453"},"tier":"auto","route":{"id":"power-pack","name":"Power Pack — outreach email scorer"},"intent":"score this cold email for me","confidence":0.93}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i3TEbc9UXdAc_AZd0-FhO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes a natural-language agent intent to the correct paid fleet service, returning the matched service, confidence score, extracted params, and ready-to-use x402 call instructions","exampleAgentPrompt":"I need to figure out which paid fleet service to call for this task — 'summarize a PDF at https://example.com/doc.pdf and return the key bullet points' — can you route that intent through the dispatch service and get me the matching service name, confidence score, and the x402 call instructions I need to actually run it?","exampleUseCases":[{"title":"Route translation task to service","prompt":"I have an agent task that says 'translate this legal document from Spanish to English and preserve all formatting' — can you run that through the dispatch service and tell me which paid fleet API it maps to, how confident the match is, and give me the full x402 call instructions so I can execute it right away?"},{"title":"Find paid API for data extraction","prompt":"My agent needs to handle this task: 'extract all product names, prices, and SKUs from this e-commerce page at https://shop.example.com/catalog' — can you dispatch that intent and get back the matched service, a confidence score, and the URL, method, and payment terms I need to actually make the call?"},{"title":"Dispatch image analysis to fleet","prompt":"I've got a plain-text task here — 'analyze the attached satellite image and identify any changes in land coverage since last month' — can you route that through the dispatch endpoint, find the right paid microservice for it, and return everything I need including the x402 payment terms and call parameters to run it immediately?"}],"resultDescription":"Returns the matched fleet service identifier, a calibrated confidence score (0–1) indicating routing certainty, parameters extracted from the intent, and complete call instructions including the target URL, HTTP method, price in USDC, and x402 payment terms ready for immediate use.","failureModes":["Intent too ambiguous to route confidently — returns low confidence score with best-guess service","No matching fleet service found for the intent — returns null service or error","Malformed intent string — 400 validation error","Payment of $0.50 USDC not fulfilled — 402 Payment Required response","Downstream fleet service unavailable — routing succeeds but call instructions may be stale"],"whenToPreferThis":"Use this endpoint when an AI agent has a natural-language task and needs to determine which paid x402 fleet service to call, along with the exact payment and call parameters. Prefer /classify (free) first to preview confidence before committing the $0.50 USDC dispatch fee.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:38:01.101Z","isFirstParty":false}