# SperaxOS ERC-8004 Agent Count API

> SperaxOS ERC-8004 Agent Count API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Returns the count of ERC-8004 registered agents or smart accounts on the SperaxOS DeFi platform

## Facts

- Endpoint: GET https://chat.sperax.io/api/x402/v1/erc8004/count?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-erc-8004-agent-count-api-1fedea48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_51BTowVSHIdrZ-yIHaI-U

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 speraxos-erc-8004-agent-count-api-1fedea48
```

Example prompt: How many ERC-8004 agents or smart accounts are currently registered on SperaxOS? Just give me the total count.

## When to prefer this

Use this endpoint when you need a quick numeric count of ERC-8004 agents or smart accounts on the SperaxOS platform without requiring full identity data. It is pay-per-request with no API key needed, making it suitable for automated agents that need lightweight on-chain ecosystem metrics without long-term credential management.

## Known failure modes

- Invalid or malformed properties filter returns an error or empty count
- Payment of 0.001 USDC not received causes 402 Payment Required response
- Network or RPC issues on Base chain may cause timeout or 503 error
- Unsupported property keys in filter schema may return 400 Bad Request

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns a numeric count representing the total number of ERC-8004 registered agents or smart accounts on the SperaxOS platform, optionally filtered by provided properties.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-erc-8004-agent-count-api-1fedea48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
