Gas Price API

Optimize routing with live gas prices and fees.

Latency 5.21 ms
Supported Chains 13
Abstract illustration for 1inch API product features

Real-time gas data

Get real-time gas data across major L1 and L2 chains to set accurate fees and prevent stuck transactions.
Multi-chain coverage Seamless experience Cost Efficiency
Access blockchain gas data for current fees across 13 networks like Ethereum, Solana and Ethereum Layer 2 networks.

Gas Price API supports 13 chains.

Ethereum
BNB Chain
Polygon
Optimism
Arbitrum
Gnosis
Avalanche
ZKsync
Base
Linea
Unichain
Sonic
Solana

1inch Business is built for faster workflows

Integrate in minutes, debug without leaving your IDE. Docs, SDKs, and auth optimized for agentic development.

Documentation

Get started quickly

Learn how to use the APIs with docs, guides, and code snippets.
Read API docs

Authentication

API Key or OAuth 2.1

Authenticate with a simple API key, or choose OAuth 2.1 with PKCE for rotating tokens, browser-based consent, and zero shared secrets.
See auth docs

Get help

Support

Answers to common questions and 24/7 support regardless of subscription.

Power your DeFi apps with enterprise-grade APIs

Contact sales

Take control with 1inch Web3 APIs