{"slug":"tanod-dev-v1-chain-pre-trade-check-eb54ab","title":"chainpeek (Tanod) Uniswap V3 swap quoted at up to five sizes","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/chain/pre-trade-check","category":"market","description":"chainpeek (Tanod) Uniswap V3 swap quoted at up to five sizes: price impact per size, best fee tier and pool, and the gap to the latest DEX candle close, on Ethereum or Base. Use when an agent is about to swap and needs the price impact at several sizes before choosing one.","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:56","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"chain":"base","sizes":["1","10","100"],"token_in":"0x4200000000000000000000000000000000000006","token_out":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"chain":{"description":"Chain to quote on (Uniswap V3): ethereum or base.","enum":["ethereum","base"],"type":"string"},"fee_tiers":{"anyOf":[{"items":{"enum":[100,500,3000,10000],"type":"integer"},"maxItems":4,"minItems":1,"type":"array"},{"type":"null"}],"default":null,"description":"Uniswap V3 fee tiers to consider (100, 500, 3000, 10000). Default: all four."},"sizes":{"description":"1 to 5 amounts of token_in as positive decimal strings in token_in units, e.g. [\"1\", \"10\", \"100\"]. Distinct; answered smallest first.","items":{"maxLength":160,"pattern":"^(0|[1-9][0-9]{0,77})(\\.[0-9]{1,77})?$","type":"string"},"maxItems":5,"minItems":1,"type":"array"},"token_in":{"description":"Token sold (0x + 40 hex).","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"token_out":{"description":"Token bought (0x + 40 hex).","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["chain","token_in","token_out","sizes"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"description":"Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/pre-trade-check","properties":{"block":{"type":["integer","null"]},"chain":{"type":"string"},"dex":{"type":"string"},"disclaimer":{"type":"string"},"note":{"type":"string"},"reference":{"type":"object"},"results":{"type":"array"},"token_in":{"type":"object"},"token_out":{"type":"object"}},"required":["chain","dex","token_in","token_out","results","reference","block","note","disclaimer"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"chainpeek (Tanod) Uniswap V3 swap quoted at up to five sizes: price impact per size, best fee tier and pool, and the gap to the latest DEX candle close, on Ethereum or Base. Use when an agent is about to swap and needs the price impact at several sizes before choosing one.","last_updated":"2026-10-15T02:10:24.687Z","schemes":["exact"]}