Built for agents

Answer NEAR RPC and API questions with one library.

FastNear JS gives agents and developers a fast path from a NEAR data task to a working result. Start with copyable terminal snippets, then open the matching docs only when you need deeper reference detail.

  • Copy a starter snippet
  • Pick the right API family
  • Go deeper in the docs
Pick the right API

Start with the FastNear family that matches the question.

Use these lower-level FastNear families when the question is about direct RPC, indexed transactions, transfers, recent blocks, or contract storage history.

Go deeper in the docs

Open the full reference only when you need it.

These links connect the JS quickstart to the full FastNear docs for RPC, indexed APIs, auth, and agent workflows.

Common tasks

Copy the smallest snippet that gets you a useful answer.

These task helpers are layered on top of the lower-level APIs and come from the same machine-readable catalog behind recipes.json, llms.txt, and the terminal wrapper.

Browser example

Berry Club and berry.fast show the same library working in real apps.

After you copy a starter snippet, this lower section shows the same FastNear JS runtime powering live browser app patterns: a pixel-board preview from berry.fast and wallet-backed Berry Club actions.

Live example

berry.fast board preview

Open berry.fast

Loading live berry.fast crop…

Wallet-backed example

Draw or buy tokens

Example app

Sign in from the nav to try the wallet-backed actions. This section stays lower on the page on purpose: it shows that the same library you used in the terminal also works in a browser app.

Total supply 2417099.3688 🥑
Your balance 1583.7318 🥑