{"slug":"agent402-tools-api-route-execute-21405f","title":"Describe a task in plain language (or name a tool slug) and the Smart Order Rout","host":"agent402.tools","method":"POST","resource":"https://agent402.tools/api/route/execute","category":"code","description":"Describe a task in plain language (or name a tool slug) and the Smart Order Router resolves the best-matching tool across this catalog and the open x402/MPP seller index, then runs it in the same call and returns the result with a receipt. Flat price covers any tool listed at $0.005 or less. Use it ","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":959,"reported_calls_30d":66,"reported_payers_30d":1,"networks":["algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=","eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:42220","eip155:43114","eip155:4663","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","stellar:pubnet"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"params":{"algo":"sha256","text":"agent402"},"slug":"hash"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"include":{"description":"Where to route: default runs a tool from THIS host's catalog; \"external\" routes to the best-matching x402 seller in the OPEN index and pays it on your behalf (result relayed, marked untrustedContent). Requires task (not slug).","type":"string"},"maxUsd":{"description":"Refuse tools listed above this underlying price (default and ceiling: $0.005)","type":"number"},"params":{"description":"Input for the resolved tool, matching its inputSchema (default {})","type":"object"},"slug":{"description":"Exact tool slug to execute (skips ranking). Provide task OR slug.","type":"string"},"task":{"description":"Plain-language task, e.g. \"sha256 hash of a string\" - resolved via the same ranker as /api/find. Provide task OR slug.","type":"string"}}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"receipt":{"properties":{"callRef":{"type":"string"},"paidUsd":{"type":"number"},"resolvedBy":{"type":"string"},"route":{"type":"string"},"routingFeeUsd":{"type":"number"},"seller":{"type":"string"},"slug":{"type":"string"},"ts":{"type":"string"},"underlyingPriceUsd":{"type":"number"}},"type":"object"},"result":{"properties":{"algo":{"type":"string"},"base64":{"type":"string"},"hex":{"type":"string"}},"type":"object"}},"required":["receipt","result"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":959,"error":null}],"description_full":"Describe a task in plain language (or name a tool slug) and the Smart Order Router resolves the best-matching tool across this catalog and the open x402/MPP seller index, then runs it in the same call and returns the result with a receipt. Flat price covers any tool listed at $0.005 or less. Use it when an agent wants one paid request that both finds and executes the right capability.","last_updated":"2026-09-24T16:03:26.484Z","schemes":["exact","upto"]}