For the complete documentation index, see llms.txt. This page is also available as Markdown.

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/v1

Every 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>

Getting your API key Create a key under Settings → API Keys in your GetBlock account. Keys start with gb_. Treat the key as a secret: anyone who holds it can create and delete your access tokens. The examples on these pages read it from the GETBLOCK_API_KEY environment variable.

A missing or invalid key answers 401.

Account

Endpoint
Method
Description

GET

The user id behind the API key

Access tokens

Endpoint
Method
Description

GET

List your access tokens, most recently updated first

POST

Create a Shared Node access token

GET

Get one access token

DELETE

Delete an access token

POST

Replace a token with a new one of the same configuration

Dedicated Nodes

Endpoint
Method
Description

GET

List your Dedicated Nodes

GET

Get one Dedicated Node, with the APIs and add-ons it serves

POST

Create an access token bound to a Dedicated Node

Limitless Nodes

Endpoint
Method
Description

GET

List your Limitless Nodes

GET

Get one Limitless Node

POST

Create an access token bound to a Limitless Node

Plan and subscriptions

Endpoint
Method
Description

GET

Your current plan and its limits

GET

Your plan, add-on, and package subscriptions

GET

Get one subscription

Balance and pricing

Endpoint
Method
Description

GET

Your CU balance and prepaid USD credits

GET

What each plan costs your account

Catalog

Endpoint
Method
Description

GET

Protocols available on Shared Nodes

GET

One protocol's networks, sync modes, API types, regions, and add-ons

GET

Add-ons available on Shared Nodes

Choosing an endpoint

If you need to
Use

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

Page
What it covers

The access token, node, and subscription objects, pagination, filters, ownership, and errors

Last updated

Was this helpful?