{"uid":"cap_1n5OnN8W1wnaYVaFoQfQv","slug":"arcgate-swap-quote-f5ef9eea","name":"ArcGate Swap Quote","description":"Swap quote","url":"https://api.arcgate.dev/trade/v1/quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"buy":{"type":"string","maxLength":128,"minLength":1},"sell":{"type":"string","maxLength":128,"minLength":1},"side":{"enum":["exactIn","exactOut"],"type":"string"},"taker":{"anyOf":[{"type":"string"},{"type":"null"}]},"amount":{"type":"string","maxLength":80,"minLength":1},"ttlSec":{"type":"integer","maximum":120,"minimum":1},"venues":{"anyOf":[{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":16},{"type":"null"}]},"maxHops":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]},"sources":{"type":"array","items":{"type":"string","maxLength":32,"minLength":1},"maxItems":4,"minItems":1},"maxSplits":{"type":"integer","maximum":5,"minimum":1},"allowSplits":{"type":"boolean"},"slippageBps":{"type":"integer","maximum":5000,"minimum":0},"excludeVenues":{"type":"array","items":{"type":"string","maxLength":64,"minLength":1},"maxItems":16}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QbhzDER5rX00pa1G1PsyU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x3600000000000000000000000000000000000000","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a price quote for swapping one token for another, with routing across multiple DEX venues and optional split/multi-hop support","exampleAgentPrompt":"Get me a swap quote to buy exactly 500 USDC by selling WETH — use exactOut side, allow up to 2 hops and splits across venues, with 30 basis points slippage and a 60-second TTL.","exampleUseCases":[{"title":"Best price for ETH to USDC trade","prompt":"What's the best price I can get for swapping 2 ETH into USDC right now? Check across all available venues, allow splits, and give me the quote with 50 bps slippage tolerance."},{"title":"Exact-out quote for token purchase","prompt":"I want to buy exactly 1000 DAI — how much WETH would I need to sell? Use exactOut mode, allow up to 2 hops, and give me a quote valid for 60 seconds."},{"title":"Single-venue restricted quote","prompt":"Get me a swap quote for selling 500 USDC to buy ARB, but only route through Uniswap — no splits, single hop, with 100 basis points slippage allowed."}],"resultDescription":"Returns a structured swap quote including the input/output token amounts, the routing path across DEX venues, price impact, and any split details — giving the agent everything needed to decide whether to execute the trade via the companion swap-transaction endpoint.","failureModes":["Invalid or unknown token symbols in buy/sell fields","Amount too small or too large for available liquidity","No route found between the specified tokens","Unsupported or unavailable venue specified","TTL value outside 1–120 range","Slippage bps outside 0–5000 range","maxSplits or maxHops out of allowed range","Payment not provided or incorrect (x402 payment required)"],"whenToPreferThis":"Use this endpoint when you need a real-time, multi-venue DEX swap quote with fine-grained control over routing (hops, splits, venue inclusion/exclusion) before committing to a transaction. Prefer this over generic price-feed APIs when you need an actionable, executable quote — especially when paired with ArcGate's swap transaction endpoint to complete the trade. Best suited for DeFi agents that need to evaluate trade feasibility and cost before execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:04.270Z","isFirstParty":false,"canonicalSlug":"arcgate-swap-quote-f5ef9eea"}