# Batch balances · HyperEVM API · Femtos

> Up to 100 addresses on HyperEVM in one call, the same answer for each.

- Base URL: `https://api.femtos.xyz/v1` (REST) · `wss://api.femtos.xyz/v1/ws` (WebSocket) · MCP: `https://api.femtos.xyz/mcp`
- Auth: `Authorization: Bearer $FEMTOS_KEY`. Free key: https://femtos.xyz/accounts/ (browser), or with
  no browser: `GET https://femtos.xyz/accounts/agent/challenge`, solve its proof of work, then `POST https://femtos.xyz/accounts/agent/signup`
  (https://femtos.xyz/agents.md#agent-onboarding)
- Decimals are exact strings, times Unix milliseconds, addresses lowercase `0x`
- Whole API in one file: https://femtos.xyz/agents.md · OpenAPI: https://api.femtos.xyz/v1/openapi.json · Index: https://femtos.xyz/llms.txt
- Page with live calls: https://femtos.xyz/hyperevm/batch-balances

## Batch balances — POST `/v1/balances/batch`

Up to 100 addresses on HyperEVM in one call, the same answer for each.

| Param | In | Example or values | Meaning |
|---|---|---|---|
| `addresses` | body | `<owner>,<address>` | Addresses (or named-wallet handles) |
| `layer` | body | `hyperevm` | Layer(s) read |
| `tokens` | body | (optional) | EVM token addresses (`native`) and HyperCore coin names, an array or a comma list |
| `minUsd` | body | `1` | Leave out holdings worth less (and unpriced ones) |

```bash
curl -X POST -H "Authorization: Bearer $FEMTOS_KEY" -H "Content-Type: application/json" "https://api.femtos.xyz/v1/balances/batch" \
  -d '{"addresses":["<owner>","<address>"],"layer":"hyperevm","minUsd":1}'
```

| Field | Type | Meaning |
|---|---|---|
| `layer` | string | Layer(s) read |
| `count` | int | Addresses answered |
| `results[]` | object | One answer per distinct address, in the order asked: {address, layer, balances, count, total, totalUsd, totalUsdComplete, perp, layers, includeSpam, spamHidden, entity} |
| `billing` | heavy | one heavy unit per 20 addresses |

## Related (Balances)

- [Balances](https://femtos.xyz/hyperevm/balances.md): Every token an address holds on HyperEVM, with USD value and the block it is read at.
- [Token balance](https://femtos.xyz/hyperevm/token-balance.md): One token of one address on HyperEVM: 0 when not held, now or at a past block.
- [Balances, all layers](https://femtos.xyz/hyperevm/balances-all.md): One address on HyperCore, HyperEVM and Elysium in one list, with totals per layer.

All HyperEVM endpoints: https://femtos.xyz/hyperevm.md
