API Reference
Full reference for the GetBlock Platform API: base URL, authentication, and every endpoint for access tokens, nodes, subscriptions, balance, pricing, and the protocol catalog.
This section documents every endpoint of the GetBlock Platform API. Each endpoint has its own page covering its parameters, a sample request and response, and every field it returns. The interactive schema is in the OpenAPI reference.
Quickstart
Create an archive JSON-RPC endpoint for Ethereum Mainnet:
curl -X POST https://public-api.getblock.io/api/v1/tokens \
-H "Authorization: Bearer $GETBLOCK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"protocol":"eth","network":"mainnet","api":"json-rpc","mode":"archive"}'The API answers 201 Created with the token and its ready-to-use endpoint:
{
"id": "9b2796d7b4c448de83b01644bb93f625",
"name": "eth-9b279",
"status": "active",
"namespace": "shared",
"protocol": "eth",
"network": "mainnet",
"api": "json-rpc",
"mode": "archive",
"region": "eu-central-1",
"addon": "",
"dedicated_node_id": "",
"limitless_node_id": "",
"endpoint": "https://shared.eu-central-1.getblock.io/9b2796d7b4c448de83b01644bb93f625/",
"created_at": "2026-10-02T13:19:13Z",
"updated_at": "2026-10-02T13:19:13Z"
}Base URL
https://public-api.getblock.io/api/v1Every path on these pages is relative to this base URL.
Authentication
Every request needs a GetBlock API key in the Authorization header:
Authorization: Bearer <API-KEY>A missing or invalid key answers 401.
Account
Access tokens
Dedicated Nodes
Limitless Nodes
Plan and subscriptions
Balance and pricing
Catalog
Choosing an endpoint
Check that an API key works
Find which networks, APIs, and regions a chain supports
Create a Shared Node endpoint
Create an endpoint on a Dedicated or Limitless Node
Replace a leaked endpoint URL
Find every endpoint for one chain
Check how many tokens your plan allows
Alert before CU runs out
Compare plans at the price your account would pay
Reference
The access token, node, and subscription objects, pagination, filters, ownership, and errors
Last updated
Was this helpful?