{"uid":"cap_Pn9P2kxbIlwT-6_3eMm4c","slug":"api-the402-ai-4b4f1f88","name":"the402.ai Purchase: Route Liquidity","description":"Purchase: Route Liquidity","url":"https://api.the402.ai/v1/services/svc_bcea2cc056854190/purchase","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.368","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.368/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.368","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.368","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hFLeOep9hb6BayrrJeCQT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.368","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a route liquidity service via the402.ai marketplace, optimizing token or payment routing paths for AI agents","exampleAgentPrompt":"Can you purchase the route liquidity service on the402 marketplace to find and optimize the best routing path for my current token transfer — I need the most efficient liquidity route available right now.","exampleUseCases":[{"title":"Optimize cross-chain payment routing","prompt":"I need to send tokens across multiple chains but want the most efficient path. Can you use the402 marketplace to purchase route liquidity and find me the best routing option that minimizes slippage and fees?"},{"title":"Automate agent transaction efficiency","prompt":"My agent processes hundreds of transactions daily. Can you set up route liquidity purchasing on the402 marketplace so we automatically get optimal paths for every payment without manual intervention?"},{"title":"Find lowest-cost fund allocation path","prompt":"We're moving a large amount of capital between our treasury accounts. Please purchase the route liquidity service to compute the cheapest available routing path and tell me the efficiency gains we'll get."}],"resultDescription":"A confirmation of the liquidity routing purchase along with the computed optimal route details, including liquidity allocation, path information, and any routing efficiency metrics returned by the service.","failureModes":["Insufficient USDC balance to cover $0.368 per call fee","Invalid or expired service ID svc_bcea2cc056854190","Payment authorization failure via x402 protocol","Route computation fails due to insufficient liquidity available","Service temporarily unavailable or rate limited","Malformed request body or missing required routing parameters"],"whenToPreferThis":"Use this endpoint when an AI agent needs to dynamically identify and purchase optimal liquidity routing for token or payment flows, especially within the the402.ai agentic marketplace ecosystem. Prefer this over generic DEX routing when you want a marketplace-managed, pay-per-use routing service billed via the x402 micropayment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:25.187Z","isFirstParty":false}