NEAR JavaScript API

JSON →
library 7.2.0 ·javascript
verified May 27, 2026

near-api-js is the official JavaScript/TypeScript library for interacting with the NEAR Protocol blockchain via its RPC API. Currently at v7.2.0, this package consolidates all core NEAR functionality into a single library, simplifying development for backend services, CLIs, and scripts. It provides comprehensive tools for account management, transaction building, key management, smart contract interaction, and direct RPC calls. The library offers full TypeScript support and is designed to work seamlessly in both browser and Node.js environments. Key differentiators include its 'batteries-included' approach, user-friendly helpers for unit conversions (e.g., NEAR to yoctoNEAR, TeraGas to Gas), and advanced features like parallel transaction sending using multiple keys for improved performance and nonce management. While it can be used in browsers, the library is primarily recommended for backend applications, with official web login solutions suggested for frontend use cases.

total hits 23
actors 8 distinct systems
last hit 4d ago AhrefsBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
3

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇫🇷 France