{"uid":"cap_u8dXXo5soY42cD-Rnu5i2","slug":"0x-swap-allowance-holder-firm-quote-7c6433ab","name":"0x Swap Allowance Holder Firm Quote","description":"","url":"https://agent.api.0x.org/v1/x402/swap-allowance-holder-quote/swap/allowance-holder/quote","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_H3YURY6Cv8q2_iFmhVCDQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a firm, executable swap quote using the Allowance Holder contract to manage token allowances on 0x","exampleAgentPrompt":"Get me a firm 0x swap quote to exchange 1 WETH for USDC on Ethereum mainnet using the Allowance Holder, with my wallet address 0xAbC123... as the taker and 0.5% max slippage.","exampleUseCases":[{"title":"DeFi arbitrage bot swap pricing","prompt":"Get me a firm executable quote from 0x to swap 5000 USDC for WBTC on Ethereum mainnet using Allowance Holder, with taker address 0xMyBotWallet and 0.3% slippage tolerance."},{"title":"Wallet app pre-trade confirmation","prompt":"Before I execute this trade, get me a firm 0x quote for swapping 0.5 ETH to USDC on Base mainnet using Allowance Holder so I can show the user the exact guaranteed amount they'll receive."},{"title":"Portfolio rebalancing token swap","prompt":"I want to rebalance my portfolio — get me a firm 0x Allowance Holder quote to swap 2000 DAI into WETH on Arbitrum with my address 0xMyPortfolioWallet and 1% slippage so I know exactly what I'll get."}],"resultDescription":"A firm, executable swap quote including the exact buy amount, guaranteed price, gas estimate, transaction calldata targeting the Allowance Holder contract, and routing details for the token swap. This quote is binding and can be submitted on-chain.","failureModes":["Insufficient liquidity for the requested token pair returns an error or degraded quote","Invalid or unsupported token addresses return a 400 bad request","Unsupported chain ID results in an error response","Quote expiry if not executed within the validity window","Missing required query parameters such as sellToken, buyToken, or sellAmount return validation errors","Slippage tolerance set too low may result in no available route"],"whenToPreferThis":"Use this endpoint when you need a firm, executable quote (not just an indicative price estimate) for a token swap via 0x Protocol using the Allowance Holder contract for managing approvals. Prefer this over the indicative price endpoint when you are ready to actually execute a transaction and need guaranteed calldata. Choose this over Permit2-based endpoints when your integration specifically uses Allowance Holder for token approvals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:26.515Z","isFirstParty":false}