Skip to main content

FastNEAR API

A fast RPC for the NEAR blockchain, based on Redis and LMDB.

About FastNEAR

Fast-Near aims to provide the fastest RPC implementation for NEAR Protocol using high-performance storage backends:

  • in-memory storage in Redis.
  • SSD optimized storage using LMDB.

It is optimized for view call performance and ease of deploy and scaling.

Note about data sync

FastNear doesn't sync with the NEAR blockchain on its own. Data needs to be loaded either from NEAR Lake or from Near State Indexer.


FastNEAR API

The FastNEAR API server provides a low-latency RPC API for wallets and explorers.

Supported APIs

Public Key

  • Public Key to Account ID mapping.
  • Full Access Public Key to Account ID mapping.
  • Any Public Key to Account ID mapping.

Account ID

  • Account ID to delegated staking pools (validators).
  • Account ID to fungible tokens (FT contracts).
  • Account ID to non-fungible tokens (NFT contracts).

Token ID

  • Token ID to top 100 accounts by balance (for FT contracts).
V1 API

Click here to see the complete list of API endpoints and usage examples.

Was this page helpful?