Quickstart · v3 gateway

Ship your first
RPC call in 60 seconds.

Every endpoint uses the same shape. Swap the chain slug, keep the apikey — same gateway, same latency budget, no SDK required.

01

HTTP JSON-RPC

Plain POST with a JSON-RPC body. Same shape across every EVM chain.

curl · ethereum mainnet
curl --request POST \
  --url https://gateway-1.speedynodes.net/http/eth-1?apikey=APIKEY \
  --header 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
02

WebSocket streaming

Subscribe to new heads, pending tx, or logs in real time.

wscat · ws subscription
wscat -c wss://gateway-1.speedynodes.net/ws/eth-1?apikey=APIKEY

> {"jsonrpc":"2.0","id":1,"method":"eth_subscribe","params":["newHeads"]}
< {"jsonrpc":"2.0","method":"eth_subscription","params":{...}}
03

ethers.js / viem

javascript · viem
import { createPublicClient, http } from "viem";
import { mainnet } from "viem/chains";

const client = createPublicClient({
  chain: mainnet,
  transport: http("https://gateway-1.speedynodes.net/http/eth-1?apikey=APIKEY"),
});

const block = await client.getBlockNumber();

Endpoint reference

Replace eth-1 with the chain slug below.See all 25+ networks →

ChainSlug
Ethereumeth-1
BSCbsc-1
Polygonpol-1
Basebase-1
Arbitrumarbitrum-1
Optimismoptimism-1
Avalancheavax-1
Linealinea-1

Authentication & rate limits

apikey query param

Append ?apikey=APIKEY to every request. Rotate keys anytime from the dashboard — no propagation delay.

RPS, not credits

Plans cap requests-per-second, not monthly volume. Unlimited calls within your RPS budget.See plans →

Need the full reference?

Method-by-method docs, error codes, archive examples — all on docs.speedynodes.com.

Open full docs