Skip to main content

All endpoints

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.

Arbitrum

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://arbitrum-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over Websocketwss://arbitrum-mainnet.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://arbitrum-sepolia.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://arbitrum-sepolia.infura.io/ws/v3/<YOUR-API-KEY>

Avalanche (C-Chain)

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://avalanche-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over Websocketwss://avalanche-mainnet.io/ws/v3/<YOUR-API-KEY>
Testnet (Fuji)JSON-RPC over HTTPShttps://avalanche-fuji.infura.io/v3/<YOUR-API-KEY>
Testnet (Fuji)JSON-RPC over WebSocketwss://avalanche-fuji.infura.io/ws/v3/<YOUR-API-KEY>

Base

NetworkTransport typeURL
MainnetJSON-RPC over HTTPShttps://base-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://base-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://base-sepolia.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://base-sepolia.infura.io/ws/v3/<YOUR-API-KEY>

Blast

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://blast-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://blast-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://blast-sepolia.infura.io/v3/<YOUR-API-KEY>

Binance Smart Chain

NetworkTransport typeURL
MainnetJSON-RPC over HTTPShttps://bsc-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://bsc-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
TestnetJSON-RPC over HTTPShttps://bsc-testnet.infura.io/v3/<YOUR-API-KEY>

Celo

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://celo-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://celo-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Alfajores)JSON-RPC over HTTPShttps://celo-alfajores.infura.io/v3/<YOUR-API-KEY>
Testnet (Alfajores)JSON-RPC over WebSocketwss://celo-alfajores.infura.io/ws/v3/<YOUR-API-KEY>

Ethereum

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Holesky)JSON-RPC over HTTPShttps://holesky.infura.io/v3/<YOUR-API-KEY>
Testnet (Holesky)JSON-RPC over WebSocketwss://holesky.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://sepolia.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://sepolia.infura.io/ws/v3/<YOUR-API-KEY>

IPFS

Limited access

Infura restricts its IPFS service to a select set of qualified customers. Please contact the Infura support team for next steps. New IPFS key creation is disabled for all users, but existing IPFS customers can continue to use the IPFS service with their existing keys.

NetworkDescriptionURL
MainnetHTTP APIhttps://ipfs.infura.io:5001
info

Include your authentication details when making IPFS requests.

Linea

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://linea-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://linea-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://linea-sepolia.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://linea-sepolia.infura.io/ws/v3/<YOUR-API-KEY>

Mantle

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://mantle-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://mantle-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://mantle-sepolia.infura.io/v3/<YOUR-API-KEY>

opBNB

NetworkTransport typeURL
MainnetJSON-RPC over HTTPShttps://opbnb-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://opbnb-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
TestnetJSON-RPC over HTTPShttps://opbnb-testnet.infura.io/v3/<YOUR-API-KEY>

Optimism

NetworkTransport typeURL
MainnetJSON-RPC over HTTPShttps://optimism-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://optimism-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://optimism-sepolia.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over WebSocketwss://optimism-sepolia.infura.io/ws/v3/<YOUR-API-KEY>

Palm

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://palm-mainnet.infura.io/v3/<YOUR-API-KEY>
TestnetJSON-RPC over HTTPShttps://palm-testnet.infura.io/v3/<YOUR-API-KEY>

Polygon PoS

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://polygon-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://polygon-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Amoy)JSON-RPC over HTTPShttps://polygon-amoy.infura.io/v3/<YOUR-API-KEY>
Testnet (Amoy)JSON-RPC over WebSocketwss://polygon-amoy.infura.io/ws/v3/<YOUR-API-KEY>

Scroll

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://scroll-mainnet.infura.io/v3/<YOUR-API-KEY>
SepoliaJSON-RPC over HTTPShttps://scroll-sepolia.infura.io/v3/<YOUR-API-KEY>

Starknet

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://starknet-mainnet.infura.io/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://starknet-sepolia.infura.io/v3/<YOUR-API-KEY>

Swellchain

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://swellchain-mainnet.infura.io/v3/<YOUR-API-KEY>
TestnetJSON-RPC over HTTPShttps://swellchain-testnet.infura.io/v3/<YOUR-API-KEY>

Unichain

NetworkDescriptionURL
SepoliaJSON-RPC over HTTPShttps://unichain-sepolia.infura.io/v3/<YOUR-API-KEY>

ZKsync Era

info

ZKsync Era WebSockets are supported on Mainnet only.

NetworkDescriptionURL
MainnetJSON-RPC over HTTPShttps://zksync-mainnet.infura.io/v3/<YOUR-API-KEY>
MainnetJSON-RPC over WebSocketwss://zksync-mainnet.infura.io/ws/v3/<YOUR-API-KEY>
Testnet (Sepolia)JSON-RPC over HTTPShttps://zksync-sepolia.infura.io/v3/<YOUR-API-KEY>

Gas API

The Gas REST API supports multiple networks.

Specify the chain ID in your request to interact with the relevant network.

Arbitrum

NetworkChain ID
Mainnet42161
Nova42170

Avalanche (C-Chain)

NetworkChain ID
Mainnet43114

Base

NetworkChain ID
Mainnet8453

BNB Chain

NetworkChain ID
Mainnet56
opBNB (layer 2)204

Cronos

NetworkChain ID
Mainnet25

Ethereum

NetworkChain ID
Mainnet1
Holeksy17000
Sepolia11155111

Fantom

NetworkChain ID
Mainnet250

Filecoin

NetworkChain ID
Mainnet314

Linea

NetworkChain ID
Mainnet59144
Sepolia59141

Optimism

NetworkChain ID
Mainnet10

Polygon

NetworkNetwork ID
Mainnet137
Amoy80002

ZKsync Era

NetworkChain ID
Mainnet324