# Losbeto Agent Reputation Lookup (ERC-8004)

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

Returns on-chain identity and reputation summary for an AI agent by querying ERC-8004 Base registries across a caller-supplied set of client addresses.

## Facts

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

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-lookup-erc-8004-2e6b1262
```

Example prompt: Can you look up the on-chain reputation and identity for agent ID 87048 using the Losbeto ERC-8004 registry, checking against client addresses 0xABC123 and 0xDEF456?

## When to prefer this

Use this endpoint when you need to verify or audit an AI agent's on-chain identity and aggregated reputation across multiple client relationships, specifically within the ERC-8004 standard on Base. Prefer this over off-chain reputation systems when trust provenance must be cryptographically verifiable, or when building agent-to-agent trust workflows that require on-chain attestation.

## Known failure modes

- Missing required agentId parameter returns an error
- Invalid or non-existent agentId returns empty or null identity fields
- Malformed client addresses may cause registry lookup failure
- Payment not completed via x402 results in 402 response blocking data
- Base network unavailability causes lookup timeout or error

## How this service works

OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana, Algorand and Polygon via x402.

## Output

Returns a JSON object containing the agent's on-chain identity (owner address, agentURI) and a reputation aggregation (getSummary) computed over the supplied client addresses from the 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-lookup-erc-8004-2e6b1262/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from markets.losbeto.xyz](https://www.zero.xyz/host/markets.losbeto.xyz/llms.txt)
