Skip to main content
NEAR Protocol exposes a JSON-RPC API for interacting with the network. You can use any of the public providers below or run your own node.

Public endpoints

ProviderMainnetTestnet
NEAR (official)https://rpc.mainnet.near.orghttps://rpc.testnet.near.org
Pagodahttps://near-mainnet.api.pagoda.co/rpc/v1https://near-testnet.api.pagoda.co/rpc/v1
dRPChttps://near.drpc.org
Lava Networkhttps://near.lava.build

Making requests

All endpoints accept JSON-RPC 2.0 POST requests. The NEAR RPC uses a non-standard format where the method name is encoded in the URL path rather than the request body.
curl -X POST https://rpc.mainnet.near.org/status \
  -H "Content-Type: application/json" \
  -d '{}'

Run your own node

To run a local RPC node, follow the NEAR node documentation.
Testnet tokens have no real value and can be obtained from the NEAR Faucet.