# NEAR Wallet Activity

> NEAR Wallet Activity is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-19).

Fetches a summarized recent activity report for a NEAR account, including transaction stats, NEAR flows, token flows, top contracts called, top counterparties, and behavioral signals.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/near-wallet-activity?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/near-wallet-activity-55d397f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_efQB8ptkhwV_4z5Go1yfg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability near-wallet-activity-55d397f7
```

Example prompt: Can you pull up the recent wallet activity for bob.near on NEAR — I want to know what contracts it calls, who it transacts with, how much NEAR it's moved, and whether there are any red flags like failures or inactivity? Fetch the last 25 transactions.

## When to prefer this

Choose this endpoint when you need a holistic, pre-aggregated behavioral profile of a NEAR wallet rather than raw transaction pages. It is ideal for due-diligence checks, counterparty vetting, detecting anomalous patterns (failures, dormancy, receive-only behavior), and quickly understanding token and NEAR flows without having to parse raw blockchain data yourself.

## Known failure modes

- Invalid or nonexistent NEAR account ID returns an error or empty result
- Limit out of range (below 5 or above 50) may be rejected or clamped
- NearBlocks indexer downtime causes upstream failure
- Newly created accounts with no transactions return empty/minimal summaries
- Missing required 'account' query parameter returns a 400-style error

## How this service works

Recent history of a NEAR account, summed up: transactions signed and received, failures, NEAR sent and received, token flows in and out per token, the contracts it calls most, who it deals with most, and signals (inactive, failing, receive-only). One-line summary plus the last 10 transactions. Reads the NearBlocks indexer; limit sets how many recent transactions (default 25).

## Output

A structured report containing: a one-line natural-language summary, aggregate counts of transactions signed, received, and failed, total NEAR sent and received, per-token inflow/outflow breakdown, ranked list of most-called contracts, ranked list of most-frequent counterparties, behavioral signals (inactive, failing, receive-only), and the raw last 10 transactions with hashes and metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "account"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Recent transactions to read (optional, 5-50)"
      },
      "account": {
       "type": "string",
       "description": "NEAR account"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/near-wallet-activity-55d397f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
