# Losbeto Agent Reputation (ERC-8004)

> Losbeto Agent Reputation (ERC-8004) is a paid API for AI agents from api.losbeto.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Fetches on-chain identity and aggregated reputation for an AI agent on Base using ERC-8004, given an agent ID and a list of client addresses.

## Facts

- Endpoint: GET https://api.losbeto.xyz/agent-reputation?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/losbeto-agent-reputation-erc-8004-10d39b8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iu6P5QGnFbPgX4UKXRB57

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 losbeto-agent-reputation-erc-8004-10d39b8d
```

Example prompt: Can you pull the on-chain ERC-8004 reputation summary for agent ID 87048 on Base, checking against clients 0xAbc123 and 0xDef456?

## When to prefer this

Use this endpoint when you need to verify or audit an AI agent's trustworthiness using on-chain ERC-8004 data on the Base network — particularly when you need both identity resolution (owner, agentURI) and reputation aggregation over a specific set of client addresses in a single call. Prefer over off-chain reputation systems when cryptographic provability and decentralization matter.

## Known failure modes

- Unknown agentId returns empty or null identity fields
- Invalid client address format causes schema validation error
- Agent not registered on Base ERC-8004 returns no reputation data
- Network or RPC issues with Base chain cause timeout
- Missing required query params (agentId or clients) returns 400-level error

## How this service works

On-chain trust for AI agents (ERC-8004, weeks-old standard): identity (owner, agentURI) plus reputation aggregation (getSummary) over caller-supplied client addresses on the Base registries. First x402 endpoint of its...

## Output

Returns on-chain identity fields (owner address, agentURI) and an aggregated reputation summary (getSummary) computed over the caller-supplied client addresses from Base ERC-8004 registries.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "required": [
      "agentId",
      "clients"
     ],
     "properties": {
      "agentId": {
       "type": "string",
       "description": "agentId parameter"
      },
      "clients": {
       "type": "string",
       "description": "clients parameter"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "description": "On-chain trust for AI agents (ERC-8004, weeks-old standard): identity (owner, agentURI) plus reputation aggregation (getSummary) over caller-supplied client addresses on the Base registries. First x402 endpoint of its kind. Defaults to this node's own agentId 87048 as a live demo."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/losbeto-agent-reputation-erc-8004-10d39b8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.losbeto.xyz](https://www.zero.xyz/host/api.losbeto.xyz/llms.txt)
