# near-api-js — card for AI agents

JavaScript library for the NEAR Protocol.

Category: Crypto and web3 · npm package `near-api-js` · latest version 7.4.0 (checked 2026-11-01)
Install: `npm install near-api-js`
License: (MIT AND Apache-2.0) (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Agent Skills for it
- near-api-js from internet-court/internet-court-skill: `npx skills add internet-court/internet-court-skill --skill near-api-js`

## Numbers (AgentGid data)
- Gid Score: 35.1 (#3671 of all tools, 108 of 155 in its category)
- Downloads last week: 242,707 (as of 2026-11-24), +56.7% over 4 weeks
- GitHub stars: 428 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
viem 71.4%, Solana Web3.js 64.3%, ethers.js 64.3%, ESLint 85.7%, TweetNaCl.js 35.7%, Sui TypeScript SDK 35.7%

## Links
- AgentGid page: https://agentgid.com/tools/near-api-js/
- Homepage: https://github.com/near/near-api-js
- Repository: https://github.com/near/near-api-js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
