{"status":"ok","message":"POST method discovery endpoint for x402 APIs. Send a task in natural language (or a pre-split list of sub-tasks); receive routes grouped by sub-task, plus a total price estimate. Try POST /discovery (paid: call without Payment-Signature first to get 402 + Payment-Required, then retry with a signature).","timestamp":"2026-10-23T21:52:46.837Z","howToCall":{"method":"POST","url":"/discovery","contentType":"application/json","description":"Send either \"prompt\" (natural language) or \"queries\" (pre-split sub-tasks). Optionally cap total price via \"budget\" and control how many routes per sub-task via \"maxRoutesPerQuery\".","bodySchema":{"type":"object","properties":{"prompt":{"type":["string","null"],"description":"Natural-language task. May be null if \"queries\" is provided. At least one of \"prompt\" or \"queries\" must be present and non-empty."},"queries":{"type":"array","items":{"type":"string"},"description":"Pre-split sub-tasks from the agent."},"budget":{"type":"object","description":"Optional budget cap.","properties":{"maxTotalPrice":{"type":["number","null"],"description":"Maximum total price of all recommended routes. Null/omitted = no cap."},"currency":{"type":"string","default":"USDC"}}},"maxRoutesPerQuery":{"type":["integer","null"],"minimum":1,"maximum":5,"default":3,"description":"Max routes per sub-task. Applied independently to each sub-task. Values are clamped to [1,5]; non-integer/missing default to 3."}},"anyOf":[{"required":["prompt"],"properties":{"prompt":{"type":"string","minLength":1}}},{"required":["queries"],"properties":{"queries":{"type":"array","minItems":1}}}]},"examples":{"prompt_only":{"summary":"Single natural-language task","value":{"prompt":"check company X for sanctions"}},"queries_only":{"summary":"Agent pre-split the task","value":{"queries":["payment test","wallet sanction check"]}},"with_budget":{"summary":"With budget cap","value":{"prompt":"payment test & wallet sanction check","budget":{"maxTotalPrice":0.7,"currency":"USDC"}}},"with_max_routes_per_query":{"summary":"Multiple routes per sub-task","value":{"queries":["payment test","wallet sanction check"],"budget":{"maxTotalPrice":0.8,"currency":"USDC"},"maxRoutesPerQuery":3}}},"notes":["Use either \"prompt\" or \"queries\" — at least one must be present and non-empty.","Values of \"budget.maxTotalPrice\" are numbers (e.g. 0.7), not strings like \"0.7$\".","maxRoutesPerQuery is clamped to [1, 5]; omit it to use the default (3).","Paid endpoint: unauthenticated POST returns 402 with a Payment-Required header; retry with a valid Payment-Signature."]},"supportedAssets":[{"network":"Base","caip2":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3803A19280DeeFe533D177C4A169412BD341101b"},{"network":"Solana","caip2":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","mint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","payTo":"sLJ4uneGcD1mg6hKtkLYsY5HCw1nJ8GpNAmbzBWPBgk"},{"network":"BNB","caip2":"eip155:56","asset":"0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d","payTo":"0x3803A19280DeeFe533D177C4A169412BD341101b"},{"network":"SEI","caip2":"eip155:1329","asset":"0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392","payTo":"0x3803A19280DeeFe533D177C4A169412BD341101b"},{"network":"Arbitrum","caip2":"eip155:42161","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x3803A19280DeeFe533D177C4A169412BD341101b"}],"contacts":"info@allai.pw"}