# Peyon ERC-8004 Agent Lookup

> Peyon ERC-8004 Agent Lookup is a paid API for AI agents from peyon.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-28).

Reads an ERC-8004 agent's public registry record from the Ethereum identity registry, returning its registration file, service endpoints, trust models, payment wallet status, and ERC-8217 NFT binding.

## Facts

- Endpoint: GET https://peyon.ai/api/agent/:agentId?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/peyon-erc-8004-agent-lookup-a9d250b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F1MLggrHDguOMYLXpyKFV

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 peyon-erc-8004-agent-lookup-a9d250b7
```

Example prompt: Can you look up ERC-8004 agent number 42 and tell me what services it publishes, whether its endpoints are responding, and if it has a payment wallet set?

## When to prefer this

Use this endpoint when you need to programmatically inspect the public identity record of any ERC-8004 compliant agent on the Ethereum registry — particularly when you need to verify endpoint liveness, trust declarations, payment wallet presence, or NFT bindings before routing work to that agent. Prefer this over manual on-chain queries or generic blockchain explorers when you want a structured, parsed summary of all ERC-8004 fields in a single call.

## Known failure modes

- Agent ID not found or not registered — returns error indicating no registry record exists
- Invalid agentId format (non-numeric or too long) — schema validation rejects the request
- Agent registered but endpoints unreachable — returns endpoint health as failing
- ERC-8217 NFT not bound — field returned as null or absent
- Network/chain read latency — occasional timeouts reading from Ethereum
- Payment not included — x402 payment required before response is returned

## How this service works

Reads any ERC-8004 agent on the Ethereum identity registry: its registration file, services and whether each endpoint answers, declared trust models, payment wallet set or not, and its ERC-8217 NFT binding. Reports what the agent publishes, never the owner's wallet.

## Output

Returns the agent's full ERC-8004 public record including: its registration file contents, list of declared service endpoints with live health status for each, declared trust models, whether a payment wallet is configured, and any ERC-8217 NFT binding. Does not expose the owner's wallet address.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "agentId"
     ],
     "properties": {
      "agentId": {
       "type": "string",
       "pattern": "^[0-9]{1,9}$"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/peyon-erc-8004-agent-lookup-a9d250b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from peyon.ai](https://www.zero.xyz/host/peyon.ai/llms.txt)
