# Agent Trust Lookup

> Agent Trust Lookup is a paid API for AI agents from agent-trust.agent-utils.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Looks up on-chain trust signals for an ERC-8004 registered AI agent on Base, including wallet history, micro-payment behavior, identity metadata, and community feedback.

## Facts

- Endpoint: GET https://agent-trust.agent-utils.workers.dev/v1/agent
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-trust-lookup-aa988aa7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_szvlLt_Sz0RGvlDf69bmr

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 agent-trust-lookup-aa988aa7
```

Example prompt: Before I serve this incoming agent request, look up the trust profile for ERC-8004 agent ID 7 on Base — I want to see its wallet history, feedback average, and how many clients have used it.

## When to prefer this

Choose this endpoint when you need to verify the trustworthiness of an ERC-8004 registered AI agent on Base before serving it, granting it access, or entering into an automated interaction with it. It is especially useful when you want a multi-signal trust assessment combining on-chain wallet behavior, community feedback scores, and identity metadata in a single pay-per-call lookup with no API key required.

## Known failure modes

- Invalid or non-existent agentId returns empty or null agent fields
- Payment not received via x402 returns 402 Payment Required
- Malformed agentId (non-integer or wrong format) returns validation error
- Agent registered but no feedback yet returns feedbackCount 0 and null feedbackAverage
- Base network connectivity issues may delay or fail the on-chain lookup

## How this service works

Know your agent before you serve it: wallet history and micro-payment behaviour on Base, ERC-8004 identity and feedback, Web Bot Auth and agent-card presence on a domain, and signed-request verification. Pay per call over x402, no API key.

## Output

Returns a JSON object with the agent's on-chain identity details including its URI, owner wallet address, agent wallet address, number of clients served, ERC-8004 registration metadata, total feedback count, recent feedback entries with tags and values, and a feedback average score, plus a timestamp of when the data was retrieved.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "ERC-8004 agentId (ERC-721 token id) on Base"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "agent": {
       "type": "object",
       "properties": {
        "uri": {
         "type": [
          "string",
          "null"
         ]
        },
        "owner": {
         "type": [
          "string",
          "null"
         ]
        },
        "agentId": {
         "type": "string"
        },
        "clients": {
         "type": "integer"
        },
        "agentWallet": {
         "type": [
          "string",
          "null"
         ]
        },
        "registration": {},
        "feedbackCount": {
         "type": "integer"
        },
        "recentFeedback": {
         "type": "array",
         "items": {
          "type": "object"
         }
        },
        "feedbackAverage": {
         "type": [
          "number",
          "null"
         ]
        }
       }
      },
      "checkedAt": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "agent": {
   "uri": "https://example.com/agent.json",
   "owner": "0xabc…",
   "agentId": "1",
   "clients": 2,
   "agentWallet": "0xabc…",
   "registration": {
    "name": "Example Agent"
   },
   "feedbackCount": 3,
   "recentFeedback": [
    {
     "tag1": "quality",
     "tag2": "",
     "value": 1,
     "client": "0xdef…",
     "revoked": false
    }
   ],
   "feedbackAverage": 0.67
  },
  "checkedAt": "2026-09-06T21:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-trust-lookup-aa988aa7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-trust.agent-utils.workers.dev](https://www.zero.xyz/host/agent-trust.agent-utils.workers.dev/llms.txt)
