# SperaxOS ERC-8004 Agent Metadata Lookup

> SperaxOS ERC-8004 Agent Metadata Lookup 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-18).

Retrieves on-chain ERC-8004 metadata for a given DeFi agent identity (agentId) via a pay-per-request x402 endpoint

## Facts

- Endpoint: GET https://chat.sperax.io/api/x402/v1/erc8004/metadata/%7BagentId%7D?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-erc-8004-agent-metadata-lookup-b353e018
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rwo0pGinqCAbw2aeEaOs_

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-metadata-lookup-b353e018
```

Example prompt: Can you fetch the ERC-8004 on-chain metadata for agent ID 0xabc123def456 from SperaxOS — I need to see that agent's registered identity and capabilities.

## When to prefer this

Use this endpoint when you need to resolve the standardized ERC-8004 on-chain identity and metadata for a specific DeFi agent registered with SperaxOS on Base. Prefer this over generic blockchain explorers when you need structured, AI-intelligence-enriched agent profile data and are willing to pay micro-amounts in USDC via x402 rather than manage API keys.

## Known failure modes

- agentId not found — agent not registered or wrong ID format returns 404 or empty record
- x402 payment failure — insufficient USDC balance or malformed payment header returns 402
- invalid agentId format — non-address or malformed path parameter returns 400
- network or RPC error reading Base chain data returns 503
- agent has no ERC-8004 record deployed — returns empty or null metadata

## 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 the ERC-8004 standard metadata record associated with the given agentId, including on-chain agent identity fields, registered capabilities, and any profile attributes stored by SperaxOS for that agent on Base.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-erc-8004-agent-metadata-lookup-b353e018/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)
