For AI agents: a documentation index is available at /llms.txt. A markdown version of this page is available at the same URL with .md appended (or via Accept: text/markdown).
Skip to main content

Gas API reference

This section provides reference information for the Gas REST APIs. Use the APIs to:

Supported API request formats

You can call the Gas APIs in two ways:

  • Using the API key only - Add your API key as a path option.
  • Using the API key and API key secret - Use basic authentication and specify the API key and API key secret.
curl -X "GET" "https://gas.api.infura.io/v3/<YOUR-API-KEY>/networks/1/suggestedGasFees"