API Portal

PNF operates a public API portal at api.pocket.network that provides free RPC access to 60+ blockchains. No API key, no account, no rate limit negotiation — just endpoints.

How It Works

The portal is powered by Pocket Network’s decentralized infrastructure. When you send a request to a portal endpoint, it’s routed through the network’s gateway layer to one of 5,000+ independent supplier nodes. This means:

  • No single point of failure — requests route around problems automatically
  • No API key required — public endpoints are open access
  • Global distribution — nodes are operated independently worldwide
  • Self-healing — underperforming nodes get deprioritized by the QoS system

Endpoint Format

Portal endpoints follow the pattern:

plaintext
https://{chain-slug}.api.pocket.network

For example:

ChainEndpoint
Ethereumhttps://eth.api.pocket.network
Polygonhttps://poly.api.pocket.network
Arbitrumhttps://arb-one.api.pocket.network
Basehttps://base.api.pocket.network
Solanahttps://solana.api.pocket.network

For the full list of supported chains and their endpoint slugs, see Supported Chains.

Usage

Portal endpoints are standard JSON-RPC and can be used as drop-in replacements for any centralized provider:

bash
# curl example
curl -X POST https://eth.api.pocket.network \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

They work with any Web3 library — ethers.js, web3.py, viem, wagmi, or direct HTTP. See Integration Examples for framework-specific code.

Public vs. Dedicated Access

The public portal is suitable for development, testing, and moderate production use. For higher-throughput or SLA-backed access, you have two options:

Application staking — stake POKT on-chain to get dedicated access proportional to your stake. See Application Staking.

Gateway delegation — delegate your staked application to a gateway operator who provides managed access with QoS guarantees. See Gateway Delegation.

Tip

Most developers should start with the public portal. Only upgrade to staked access when you need higher throughput or guaranteed capacity.

Supported Protocols

The portal supports multiple data access protocols depending on the chain:

  • JSON-RPC — standard for all EVM chains
  • gRPC — available for Cosmos chains
  • REST — available for Cosmos LCD endpoints

WebSocket support varies by gateway operator. Check with your gateway provider for streaming capabilities.