# TrustLayer ERC-8004 Feedback Forensics

> TrustLayer ERC-8004 Feedback Forensics is a paid API for AI agents from api.thetrustlayer.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Returns full feedback forensics for an ERC-8004 agent including Sybil detection, reviewer reputation weighting, cross-chain identity resolution, temporal anomaly flags, and risk assessment.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/trust/ethereum:13446
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-thetrustlayer-xyz-47b6d549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tjpw6BLWOQz_C9RnPbQJg

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 api-thetrustlayer-xyz-47b6d549
```

Example prompt: Can you run a full feedback forensics check on the Ethereum agent ethereum:13446 — I want to see if it has any Sybil reviewer clusters, temporal anomalies, or risk flags along with the reviewer quality breakdown?

## When to prefer this

Choose this endpoint when you need deep forensic analysis of an agent's feedback rather than just a basic trust score. This is the right choice when you suspect review manipulation, need Sybil detection, want reviewer reputation weighting, require cross-chain identity resolution, or need temporal anomaly detection. Use the basic trust score endpoint instead if you only need a quick 0-100 score without forensic breakdown.

## Known failure modes

- Invalid agentId format (not chain:id) returns a 400 error
- Agent not found in any ERC-8004 registry returns a 404
- Insufficient feedback data may return limited forensic signals
- Payment failure (x402) returns a 402 Payment Required
- Chain not supported returns an error indicating unsupported registry
- Network or RPC timeout may return a 503

## How this service works

Full ERC-8004 feedback forensics. Sybil detection, reviewer reputation weighting, cross-chain identity resolution, temporal anomaly flags, risk assessment. Covers every ERC-8004 registry chain plus Solana.

## Output

Returns a JSON object containing the agent's metadata (name, chain, description), evidence summary (total feedbacks, cluster warnings, verified reviewer count, feedback categories with counts and average values, average reviewer quality), and a scored_at timestamp. Includes Sybil detection flags and risk assessment signals derived from reviewer reputation weighting and cross-chain identity resolution.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "agentId": "ethereum:13446"
  }
 }
}
```

## 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": [
      "agentId"
     ],
     "properties": {
      "agentId": {
       "type": "string",
       "description": "Agent ID in chain:id format (e.g. base:1378, bsc:1629, ethereum:13446)"
      }
     }
    }
   },
   "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/api-thetrustlayer-xyz-47b6d549/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.thetrustlayer.xyz](https://www.zero.xyz/host/api.thetrustlayer.xyz/llms.txt)
