> For the complete documentation index, see [llms.txt](/llms.txt).

# Gas API reference

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

- [Get EIP-1559 gas prices.](/services/reference/gas-api/api-reference/gasprices-type2/)
- [Get the base fee history (in Gwei).](/services/reference/gas-api/api-reference/basefeehistory/)
- [Get the base fee percentile (in Gwei).](/services/reference/gas-api/api-reference/basefeepercentile/)
- [Get the busy threshold for a network.](/services/reference/gas-api/api-reference/busythreshold/)

info

See the [list of supported Gas API networks](/services/get-started/endpoints/#gas-api).

## Supported API request formats[​](#supported-api-request-formats "Direct link to Supported API request formats")

You can call the Gas APIs in two ways:

- **Using the API key only** - Add your [API key](/developer-tools/dashboard/get-started/create-api/)as a path option.
- **Using the API key and API key secret** - Use basic authentication and specify the API key and [API key secret](/developer-tools/dashboard/how-to/secure-an-api/api-key-secret/).

- Use an API key only
- Use an API key and API key secret

```
curl -X "GET" "https://gas.api.infura.io/v3/<YOUR-API-KEY>/networks/1/suggestedGasFees"

```

```
curl -X "GET" -u <YOUR-API-KEY>:<YOUR-API-KEY-SECRET> "https://gas.api.infura.io/networks/1/suggestedGasFees"

```
