{"openapi":"3.0.3","info":{"title":"AptRoute API and TxSivor module","version":"2.1.0","description":"Independent tool discovery and offline unsigned EVM transaction-rule checks. Premium HTTP endpoints require x402 payment."},"paths":{"/discover":{"post":{"summary":"Free limited tool discovery","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["intent"],"properties":{"intent":{"type":"string","minLength":8,"maxLength":500},"budget_usd":{"type":"number","minimum":0,"maximum":1000000},"max_results":{"type":"integer","minimum":1,"maximum":12},"free_only":{"type":"boolean"},"agent_only":{"type":"boolean"},"platforms":{"type":"array","maxItems":3,"items":{"enum":["Apify Store","MCP Registry","x402 Bazaar"]}}}}}}},"responses":{"200":{"description":"Metadata candidates"},"400":{"description":"Bad request"},"429":{"description":"Rate limited"}}}},"/api/plan":{"post":{"summary":"x402 paid tool shortlist and workflow","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["intent"],"properties":{"intent":{"type":"string","minLength":8,"maxLength":500},"budget_usd":{"type":"number","minimum":0,"maximum":1000000},"max_results":{"type":"integer","minimum":1,"maximum":12},"free_only":{"type":"boolean"},"agent_only":{"type":"boolean"},"platforms":{"type":"array","maxItems":3,"items":{"enum":["Apify Store","MCP Registry","x402 Bazaar"]}}}}}}},"responses":{"200":{"description":"Candidate ranking and workflow"},"402":{"description":"x402 payment required"}}}},"/api/txsivor/check":{"post":{"summary":"x402 paid offline EVM transaction preflight","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["chain_id","to"],"properties":{"chain_id":{"type":"integer","minimum":1},"expected_chain_id":{"type":"integer","minimum":1},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"value_wei":{"type":"string"},"max_expected_value_wei":{"type":"string"},"data":{"type":"string","maxLength":8194},"notes":{"type":"string","maxLength":250}}}}}},"responses":{"200":{"description":"Risk-rule report"},"402":{"description":"x402 payment required"}}}}}}