{"uid":"cap_SDCnizjzZpd_7HQanSTAA","slug":"halowerk-defiwerk-dex-quote-3b53b6e4","name":"HALOWERK defiwerk DEX Quote","description":"HALOWERK defiwerk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.","url":"https://defi.netzhandwerker.de/dex/quote","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"token_in":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"amount_in":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)?$","description":"Input amount in whole token units, as a decimal string, e.g. \"1.5\"."},"token_out":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"slippage_bps":{"type":"integer","default":50,"maximum":5000,"minimum":0,"description":"Caller slippage tolerance in basis points; only used to derive amount_out_min."},"include_multihop":{"type":"boolean","default":true,"description":"Also price routes through one intermediate token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_veJyAzeP1iD4u-26fY5bg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a DEX swap quote (best price, route, and minimum output) for a given token pair and amount on EVM chains","exampleAgentPrompt":"Get me a DEX swap quote on Base for swapping 1.5 WETH (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) to USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) with 50 bps slippage, including multihop routes.","exampleUseCases":[{"title":"Pre-trade price check for DeFi bot","prompt":"Before my bot executes a swap, get me a quote for converting 500 USDC to WETH on Arbitrum using token addresses 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1, with 100 bps slippage tolerance."},{"title":"Best route discovery for portfolio rebalancer","prompt":"I need to rebalance my portfolio — quote swapping 2.0 WMATIC (0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270) to USDC (0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174) on Polygon, with multihop enabled and 75 bps slippage."},{"title":"Slippage-aware limit order setup","prompt":"I'm setting up a limit order system — give me the current DEX quote for 10 WETH to DAI on Ethereum mainnet (WETH: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, DAI: 0x6B175474E89094C44Da98b954EedeAC495271d0F) with 200 bps slippage so I know what amount_out_min to use."}],"resultDescription":"A JSON object containing the quoted output amount for the swap, the minimum output amount based on the specified slippage tolerance, the best swap route (including any intermediate hops if multihop is enabled), and pricing metadata such as exchange rate and price impact.","failureModes":["Unsupported chain — only base, ethereum, arbitrum, optimism, polygon are accepted","Invalid token address format — must be a checksummed 0x EVM address","No liquidity found for the token pair — endpoint may return an error or zero quote","Amount too small or too large for available liquidity","Slippage bps out of range (0–5000) returns validation error","Payment failure via x402 (insufficient USDC on Base Mainnet) blocks the request"],"whenToPreferThis":"Use this endpoint when you need a real-time DEX swap quote on EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon) and want multihop routing support. It is well-suited for DeFi agents that need to pre-check prices before executing swaps, set amount_out_min for safety, or compare routes. It is a paid endpoint (x402/USDC), so prefer it when accuracy and on-chain data freshness matter over free, potentially stale aggregator data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:37:47.580Z","isFirstParty":false}