{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"4ad52ccc-3951-4d93-828b-d030ecbde34d","catalogType":"api","categories":["finance"],"dataPlatform":"BlockRun","dataPlatformLogoUrl":"https://blockrun.ai/apple-touch-icon.png","dataPlatformTranslations":{"ar":"BlockRun","ja":"BlockRun","zh":"BlockRun"},"dataProduct":"dex","description":"Get 0x — Gasless indicative price quote data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by BlockRun, pass parameters such as buyToken, chainId, sellAmount, and retrieve structured data including returned allowance target field, returned block number field, returned buy amount field, returned buy token field, and returned amount field for application integration and result review, and integration reference.","descriptionTranslations":{"ar":"استخدم DEX للقراءة فقط — 0x — عرض سعر إرشادي بدون غاز API عبر OpenAny، مع تقديم buyToken, chainId, sellAmount بصيغة طلب GET الموثقة، لدعم تكامل التطبيقات ومراجعة النتائج. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から 読み取り専用 DEX — 0x — ガスレス指示価格の見積もり API を利用し、GET リクエスト形式で buyToken, chainId, sellAmount を指定して、アプリケーション連携と結果の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 只读 DEX — 0x — 免 gas 指示性价格报价 API，按所选实现的 GET 请求格式提供 buyToken, chainId, sellAmount，用于应用集成和结果核对。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"d4a9a2a5-9113-49ad-ba1d-92278faa61ae","includedContentHtml":"","inputs":[{"description":"The contract address of the token to buy","location":"query","name":"buyToken","nullable":false,"required":true,"type":"string"},{"description":"Chain ID. See [here](https://docs.0x.org/docs/introduction/supported-chains) for the list of supported chains","location":"query","name":"chainId","nullable":false,"required":true,"type":"integer"},{"description":"Liquidity sources e.g. Uniswap_V3, SushiSwap, 0x_RFQ to exclude from the provided quote. `See https://api.0x.org/sources?chainId=\u003cchain_id\u003e` with the desired chain's ID for a full list of sources. Separate multiple sources with a comma","location":"query","name":"excludedSources","nullable":false,"required":false,"type":"string"},{"description":"The address to receive the `buyToken`. If not provided, defaults to the taker address. Not supported for wrap/unwrap operations.","location":"query","name":"recipient","nullable":false,"required":false,"type":"string"},{"description":"The amount of `sellToken` in `sellToken` base units to sell","location":"query","name":"sellAmount","nullable":false,"required":true,"type":"string"},{"description":"The contract address of the token to sell. Native token is not supported","location":"query","name":"sellToken","nullable":false,"required":true,"type":"string"},{"description":"The maximum acceptable slippage of the `buyToken` in Bps. 0x sets the optimal slippage tolerance per trade by default. To mitigate the risk of MEV attacks, we recommend adjusting this value only when trading low-liquidity tokens. Deprecated: use `slippagePpm` instead. `slippageBps` accepts only whole numbers.","location":"query","maximum":"10000","minimum":"30","name":"slippageBps","nullable":false,"required":false,"type":"integer"},{"description":"The maximum acceptable slippage of the `buyToken` in parts-per-million (PPM). Mutually exclusive with `slippageBps`. e.g. 3000 PPM = 30 BPS = 0.30%.","location":"query","maximum":"1000000","minimum":"0","name":"slippagePpm","nullable":false,"required":false,"type":"integer"},{"description":"The address which holds the `sellToken` balance and has the allowance set for the swap","location":"query","name":"taker","nullable":false,"required":false,"type":"string"},{"description":"The maximum trade surplus (positive slippage) that can be collected in Bps of the buy amount. If not provided, defaults to 10000 (100%). Must be used together with `tradeSurplusRecipient`. Mutually exclusive with `tradeSurplusMaxPpm`.","location":"query","maximum":"10000","minimum":"1","name":"tradeSurplusMaxBps","nullable":false,"required":false,"type":"integer"},{"description":"The maximum trade surplus (positive slippage) that can be collected in parts-per-million (PPM) of the buy amount. Mutually exclusive with `tradeSurplusMaxBps`. If not provided, defaults to 1000000 (100%). Must be used together with `tradeSurplusRecipient`. e.g. 5000 PPM = 50 BPS = 0.5%.","location":"query","maximum":"1000000","minimum":"1","name":"tradeSurplusMaxPpm","nullable":false,"required":false,"type":"integer"},{"description":"The address to receive any trade surplus. If specified, this address will receive trade surplus when applicable. Otherwise, the taker will receive the surplus. This feature is only available to selected integrators on a custom pricing plan. In other cases, the surplus will be collected by 0x. For assistance with a custom plan, please contact support.","location":"query","name":"tradeSurplusRecipient","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://blockrun.ai/apple-touch-icon.png","method":"GET","name":"Read-only DEX — 0x — Gasless indicative price quote","nameTranslations":{"ar":"DEX للقراءة فقط — 0x — عرض سعر إرشادي بدون غاز","ja":"読み取り専用 DEX — 0x — ガスレス指示価格の見積もり","zh":"只读 DEX — 0x — 免 gas 指示性价格报价"},"overviewHtml":"\u003ch2\u003eBlockrun 0x — Gasless indicative price quote API\u003c/h2\u003e\n\u003cp\u003eRetrieve read-only DEX 0x Gasless indicative price quote with the BlockRun API. Provide buyToken in query, chainId in query, sellAmount in query, sellToken in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003equery: buyToken, chainId, excludedSources, recipient, sellAmount, sellToken, slippageBps, slippagePpm, taker, tradeSurplusMaxBps, tradeSurplusMaxPpm, tradeSurplusRecipient\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockrun · Read-only DEX — 0x — Gasless indicative price quote\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eApplication integration and result review\u003c/strong\u003e: Keep the request context attached to available returned results.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eallowanceTarget\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned allowance target field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eblockNumber\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned block number field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebuyAmount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned buy amount field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ebuyToken\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned buy token field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efees.gasFee.amount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned amount field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efees.gasFee.token\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eToken value\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efees.gasFee.type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned type field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003efees.integratorFee.amount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned amount field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the supported inputs and set any required query value shown in the template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/blockrun/api/v1/zerox/gasless/price?buyToken=0x4200000000000000000000000000000000000006\u0026amp;chainId=1\u0026amp;sellAmount=10000000\u0026amp;sellToken=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\u0026#39; \\\n  -X GET \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/d4a9a2a5-9113-49ad-ba1d-92278faa61ae\"\u003ePublished Blockrun 0x — Gasless indicative price quote API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide buyToken in query (string); chainId in query (integer); sellAmount in query (string); sellToken in query (string). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhich pagination or result-size inputs are exposed?\u003c/h3\u003e\n\u003cp\u003eslippageBps is integer with minimum 30 and maximum 10000; slippagePpm is integer with minimum 0 and maximum 1000000. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.\u003c/p\u003e\n\u003ch3\u003eWhat type does chainId use?\u003c/h3\u003e\n\u003cp\u003echainId uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.\u003c/p\u003e\n\u003ch3\u003eWhere do URL parameters belong?\u003c/h3\u003e\n\u003cp\u003eUse the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-defi-data-defillama-prices\"\u003eDeFi Data — DefiLlama — prices\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-defi-data-defillama-yields\"\u003eDeFi Data — DefiLlama — yields\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockrun/blockrun-read-only-dex-0x-indicative-permit2-swap-quote-no-commitment\"\u003eRead-only DEX — 0x — Indicative Permit2 swap quote (no commitment)\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockrun/blockrun-read-only-dex-0x-gasless-indicative-price-quote?offering=d4a9a2a5-9113-49ad-ba1d-92278faa61ae","providerId":"blockrun","publicPath":"/v1/agent-apis/blockrun/api/v1/zerox/gasless/price","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Documentation example","request":{"body":null,"headers":{},"path":{},"query":{"buyToken":"0x4200000000000000000000000000000000000006","chainId":"8453","sellAmount":"10000000","sellToken":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}},"response_body":{"allowanceTarget":"0x000000000022d473030f116ddee9f6b43ac78ba3","blockNumber":"53329866","buyAmount":"4436068845652620","buyToken":"0x4200000000000000000000000000000000000006","fees":{"gasFee":{"amount":"6868","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","type":"gas"},"integratorFee":{"amount":"20000","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","type":"volume"},"integratorFees":[{"amount":"20000","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","type":"volume"}],"zeroExFee":{"amount":"15000","token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","type":"volume"}},"issues":{"allowance":null,"balance":null,"invalidSourcesPassed":[],"simulationIncomplete":false},"liquidityAvailable":true,"minBuyAmount":"4422760639115662","route":{"fills":[{"from":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","proportionBps":"10000","source":"LunarBase","to":"0x4200000000000000000000000000000000000006"}],"tokens":[{"address":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","symbol":"USDC"},{"address":"0x4200000000000000000000000000000000000006","symbol":"WETH"}]},"sellAmount":"10000000","sellToken":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","target":"0xf22785087a4d1105c4ceb009305fc164f4d3358e","tokenMetadata":{"buyToken":{"buyTaxBps":"0","sellTaxBps":"0","transferTaxBps":"0"},"sellToken":{"buyTaxBps":"0","sellTaxBps":"0","transferTaxBps":"0"}},"zid":"0xc9bbdc00710d2245e8ed6eba"}}],"seoDescription":"Get 0x — Gasless indicative price quote data via REST or MCP powered by BlockRun. Pay per call, no subscription. Get structured JSON with one API key.","updatedAt":"2026-12-03T02:49:50.905Z","usageInstructionsHtml":""}}