# TrustLayer Full ERC-8004 Feedback Forensics

> TrustLayer Full 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-15).

Performs deep feedback forensics on 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/base:99999999
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-thetrustlayer-xyz-6e7d6a2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OaQun33t4OekmGwLJtTsx

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-6e7d6a2f
```

Example prompt: Run a full feedback forensics report on agent base:99999999 — I need Sybil detection, reviewer reputation weighting, any temporal anomalies, cross-chain identity resolution, and a final risk assessment.

## When to prefer this

Use this endpoint when you need comprehensive, forensic-level analysis of an ERC-8004 agent's review integrity — specifically when Sybil attacks, coordinated review manipulation, or cross-chain identity collusion are a concern. Prefer this over the basic trust score endpoint when deep anomaly detection and reviewer reputation weighting are required rather than just a summary score.

## Known failure modes

- agentId not found in any ERC-8004 registry — returns 404 or empty result
- malformed agentId format (missing chain prefix) — returns 400 validation error
- agent exists on a non-supported chain — partial or no data returned
- rate limit exceeded — returns 429
- payment not provided or insufficient — returns 402

## How this service works

Reputation intelligence for the autonomous agent economy. Trust scores, Sybil detection, and cross-chain identity for 130,000+ ERC-8004 agents across 20 chains. Powered by x402 micropayments.

## Output

Returns comprehensive forensic analysis including Sybil detection signals, reviewer reputation weights, cross-chain identity resolution data, temporal anomaly flags, and an overall risk assessment score for the specified ERC-8004 agent.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "agentId": "base:99999999"
  }
 }
}
```

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "confidence": "high",
  "risk_level": "medium",
  "sybil_risk": "medium",
  "trust_score": 73,
  "anomaly_flags": [
   "single_agent_reviewers:medium"
  ],
  "reviewer_weighted_score": 68,
  "recommended_max_exposure_usd": 55
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-thetrustlayer-xyz-6e7d6a2f/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)
