Indexer API
Learn how to interact with Figment's NEAR Indexer REST API

General

Below you can find a list of general service endpoints to check health, current indexer status, etc.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/
Service Index
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/health
Health Status
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/status
Service Status

Blocks

Below you can find block-related endpoints.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/height
Current Block Height
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/blocks
Fetch Blocks
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/blocks/{id}
Fetch Block
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/block_times
Block Production Times
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/block_stats
Block Stats

Validators

Below you can find a set of endpoints to get active validators, validator details, events and epoch performance.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/validators
Current Validators
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/validators/{name}
Validator Details
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/validators/{name}/epochs
Validator Epoch Performance
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/validators/{name}/events
Validator Events
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/delegations/{name}
Validator Delegations

Epochs

Below is the list of epoch-related endpoints.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/epochs
List Epochs
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/epochs/{id}
Epoch Details

Events

Below is the list of event-related endpoints.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/events
List Events
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/events/{id}
Event Details

Transaction Search

Below is the list of transactions related endpoints.
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/transactions
Search Transactions
get
https://near--indexer.datahub.figment.io/apikey/APIKEY
/transactions/{hash}
Transaction Details
Last modified 9mo ago