REST API
The Near Blocks Near Developer APIs are provided as a community service and without warranty, so please use what you need and no more.
Source attribution via a link back or mention that your app is "Powered by Nearblocks.io APIs" is required except for personal/private usage.
You can access the REST APIs using the cURL, or any HTTP client. We support GET requests only.
Get Near Price
Returns the current near price in USD and BTC.
Get Total Near Supply
Total near supply
Get Account Balance
Returns the balance of a single address
Get Account Transactions
Returns the latest transactions of single address. To get paginated results use limit (max 25) and offset (max 10000).
Get Latest Transactions
Returns the latest transactions. To get paginated results use limit (max 25) and offset (max 10000).
Get a single Transaction
Returns a single transaction by hash.
Get Latest Blocks
Returns the latest blocks. To get paginated results use limit (max 25) and offset (max 10000).
Get a single Block
Returns a single block by header hash.
Get Block Transactions
Returns all the transaction for a single block. To get paginated results use limit (max 25) and offset (max 10000).