{"uid":"cap_dX8PxawJhmEtEOe09BdrM","slug":"0x-swap-allowance-holder-price-indicative-cc7bfc25","name":"0x Swap Allowance Holder Price (Indicative)","description":"Get the indicative price for a swap using Allowance Holder to set allowances","url":"https://agent.api.0x.org/v1/x402/swap-allowance-holder-price/","method":"GET","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_GqP2mMcJZObgz-onXH5Va","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 an indicative (non-binding) price for a token swap using 0x's Allowance Holder contract for setting token allowances","exampleAgentPrompt":"What's the indicative price for swapping 1000 USDC to ETH on mainnet using the 0x Allowance Holder? I want to see the estimated rate before committing to anything.","exampleUseCases":null,"resultDescription":"Returns an indicative swap price including the exchange rate, estimated output amount, price impact, gas cost estimate, and the liquidity sources 0x would route through — all non-binding and suitable for display or pre-trade analysis.","failureModes":["Unsupported token pair returns 400 or empty price data","Invalid chain ID results in a routing error","Insufficient liquidity for the requested amount returns a degraded or no-quote response","Missing required query parameters (sellToken, buyToken, sellAmount) causes a 400 validation error","Payment not included or invalid x402 payment header causes 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a fast, non-binding price estimate for a token swap using 0x's Allowance Holder contract — ideal for displaying prices to users, comparing rates, or pre-flight checks before requesting a firm quote. Prefer this over the firm quote endpoint when you don't need execution guarantees and want to avoid consuming a binding quote slot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:38:25.358Z","isFirstParty":false}