{"slug":"apix402data-com-api-chain-gas-ad53ce","title":"Live gas prices on Base, Ethereum, Arbitrum, and Optimism with USD cost for ETH ","host":"apix402data.com","method":"POST","resource":"https://apix402data.com/api/chain/gas","category":"market","description":"Live gas prices on Base, Ethereum, Arbitrum, and Optimism with USD cost for ETH transfers, ERC-20 transfers, and swaps, plus a local qwen3.5:4b recommendation of the cheapest chain for your action.","price_listed":0.002,"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":19,"reported_payers_30d":6,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"action":"swap USDC to ETH"},"bodyType":"json","inputSchema":{"properties":{"action":{"default":"swap","description":"What you plan to do (e.g. 'swap USDC to ETH')","maxLength":200,"type":"string"},"chains":{"description":"Comma list (default: base,ethereum,arbitrum,optimism)","maxLength":80,"type":"string"},"timeout_ms":{"description":"Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with \"degraded\": true and non-LLM/cached data","maximum":120000,"minimum":1,"type":"integer"}},"type":"object"},"method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"action":{"default":"swap","description":"What you plan to do (e.g. 'swap USDC to ETH')","maxLength":200,"type":"string"},"chains":{"description":"Comma list (default: base,ethereum,arbitrum,optimism)","maxLength":80,"type":"string"},"timeout_ms":{"description":"Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with \"degraded\": true and non-LLM/cached data","maximum":120000,"minimum":1,"type":"integer"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"inputSchema":{"type":"object"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"outputSchema":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Live gas prices on Base, Ethereum, Arbitrum, and Optimism with USD cost for ETH transfers, ERC-20 transfers, and swaps, plus a local qwen3.5:4b recommendation of the cheapest chain for your action.","last_updated":"2026-11-25T01:33:06.355Z","schemes":["exact"]}