| description |
sidebar_position |
toc_max_heading_level |
Infura API endpoints |
2 |
3 |
import GasApiNetworks from "@site/src/components/GasApiNetworks.tsx";
The following lists all the network endpoints supported by Infura.
Ensure that you replace <YOUR-API-KEY> with an API key from your MetaMask Developer dashboard.
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://arbitrum-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://arbitrum-mainnet.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://arbitrum-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over WebSocket |
wss://arbitrum-sepolia.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://avalanche-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://avalanche-mainnet.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Fuji) |
JSON-RPC over HTTPS |
https://avalanche-fuji.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Fuji) |
JSON-RPC over WebSocket |
wss://avalanche-fuji.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Transport type |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://base-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://base-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://base-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over WebSocket |
wss://base-sepolia.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://blast-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://blast-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://blast-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Network |
Transport type |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://bsc-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://bsc-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet |
JSON-RPC over HTTPS |
https://bsc-testnet.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://celo-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://celo-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Alfajores) |
JSON-RPC over HTTPS |
https://celo-alfajores.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Alfajores) |
JSON-RPC over WebSocket |
wss://celo-alfajores.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Hoodi) |
JSON-RPC over HTTPS |
https://hoodi.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Hoodi) |
JSON-RPC over WebSocket |
wss://hoodi.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://sepolia.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over WebSocket |
wss://sepolia.infura.io/ws/v3/<YOUR-API-KEY> |
:::caution Restricted access
New IPFS key creation is disabled for all users. Only IPFS keys that were active in late 2024 continue
to have access to the IPFS network.
:::
| Network |
Description |
URL |
| Mainnet |
HTTP API |
https://ipfs.infura.io:5001 |
:::info
Include your authentication details when making IPFS requests.
:::
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://linea-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://linea-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://linea-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over WebSocket |
wss://linea-sepolia.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://mantle-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://mantle-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://mantle-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Network |
Transport type |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://opbnb-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://opbnb-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet |
JSON-RPC over HTTPS |
https://opbnb-testnet.infura.io/v3/<YOUR-API-KEY> |
| Network |
Transport type |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://optimism-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://optimism-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://optimism-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over WebSocket |
wss://optimism-sepolia.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://palm-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Testnet |
JSON-RPC over HTTPS |
https://palm-testnet.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://polygon-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://polygon-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Amoy) |
JSON-RPC over HTTPS |
https://polygon-amoy.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Amoy) |
JSON-RPC over WebSocket |
wss://polygon-amoy.infura.io/ws/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://scroll-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Sepolia |
JSON-RPC over HTTPS |
https://scroll-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://sei-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Testnet |
JSON-RPC over HTTPS |
https://sei-testnet.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://starknet-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://starknet-sepolia.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://swellchain-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Testnet |
JSON-RPC over HTTPS |
https://swellchain-testnet.infura.io/v3/<YOUR-API-KEY> |
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://unichain-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Sepolia |
JSON-RPC over HTTPS |
https://unichain-sepolia.infura.io/v3/<YOUR-API-KEY> |
:::info
ZKsync Era WebSockets are supported on Mainnet only.
:::
| Network |
Description |
URL |
| Mainnet |
JSON-RPC over HTTPS |
https://zksync-mainnet.infura.io/v3/<YOUR-API-KEY> |
| Mainnet |
JSON-RPC over WebSocket |
wss://zksync-mainnet.infura.io/ws/v3/<YOUR-API-KEY> |
| Testnet (Sepolia) |
JSON-RPC over HTTPS |
https://zksync-sepolia.infura.io/v3/<YOUR-API-KEY> |
The Gas REST API supports multiple networks.
Specify the chain ID in your request to interact with the relevant network.