# Nansen Account Info

> Nansen Account Info is a free API for AI agents from Nansen at api.nansen.ai, Free, status unknown (last checked 2026-10-10).

Verify API key validity and retrieve current subscription plan and remaining credit balance.

## Facts

- Endpoint: GET https://api.nansen.ai/api/v1/account?utm_source=zero.xyz
- Price: Free
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: Nansen
- Docs: https://docs.nansen.ai
- Website: https://nansen.ai
- Tags: blockchain, smart-money, wallet, tokens, defi, analytics, profiler, dex, pnl, onchain, prediction-market, data
- Canonical page: https://www.zero.xyz/c/nansen-account-ed4576e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-rN_FOHSXPKoKLWcvhwi

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 nansen-account-ed4576e8
```

Example prompt: Check my Nansen account — confirm my API key is valid and tell me what subscription plan I'm on and how many credits I have left.

## When to prefer this

Use this endpoint before making expensive blockchain analytics calls to confirm the API key is active and sufficient credits remain. Ideal as a health-check or pre-flight step in any workflow using Nansen APIs.

## Known failure modes

- Invalid or expired API key returns 401 Unauthorized
- Revoked API key returns 403 Forbidden
- Service outage returns 500 Internal Server Error

## How this service works

Verify your credential is working and retrieve your account details.

Returns your verified account identifier, current subscription plan and total remaining credits. This endpoint does not consume any credits.

Use this to:
- Confirm your credential is valid and active
- Check your remaining credit balance before making calls
- Verify your subscription plan

## Output

Returns a JSON object with two fields: 'plan' (string indicating the current subscription tier) and 'credits_remaining' (integer showing how many API credits are left). This call does not consume any credits.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "AccountResponse",
 "required": [
  "user_id",
  "plan",
  "credits_remaining"
 ],
 "properties": {
  "plan": {
   "type": "string",
   "title": "Plan"
  },
  "user_id": {
   "type": "string",
   "title": "User Id",
   "description": "Verified account identifier associated with the authenticated credential."
  },
  "credits_remaining": {
   "type": "integer",
   "title": "Credits Remaining"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nansen-account-ed4576e8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.nansen.ai](https://www.zero.xyz/host/api.nansen.ai/llms.txt)
