# TrustLayer Verified Economic Reputation Lookup

> TrustLayer Verified Economic Reputation Lookup is a paid API for AI agents from api.thetrustlayer.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns verified economic reputation and attestation data for a specific on-chain agent, including trust score, liveness metrics, completed jobs, and earnings history.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/verified/base:1378
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-thetrustlayer-xyz-4e38c61b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NwmzrtnZKNIQ7R53qY0gG

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-4e38c61b
```

Example prompt: Can you pull the verified economic reputation for agent base:1378 on TrustLayer — I want to see their trust score, how many jobs they've completed, and whether they're live and reachable?

## When to prefer this

Use this endpoint when you need verified, attestation-backed economic reputation for a specific on-chain agent identified by chain:id format. Prefer this over generic trust scores when you need proof of real paid work completions, liveness data, and ACP-level attestations rather than on-chain wallet analytics or review-based scores.

## Known failure modes

- Invalid agentId format (not chain:id) returns 400 error
- Agent not found in registry returns empty or null record
- Payment failure via x402 returns 402 Payment Required
- Network or upstream unavailability returns 5xx
- Agent exists but has zero attestations — returns valid response with all zeros

## How this service works

Verified economic reputation for an agent. Attestations from real interactions (ACP completions, service calls) proving agents are real, reachable, and completing paid work.

## Output

Returns a JSON object with: agent name and chain, a trust_score (0-100), liveness metrics (score, uptime_pct, avg_latency_ms, last_check), economic metrics (total_jobs, successful_jobs, completion_rate, total_earned_usdc, avg_payment_usdc, unique_payers, provider_score), and a list of attestation events with type, outcome, category, and timestamps. Score is computed from liveness and real provider activity only — query volume is tracked as market_interest but does not inflate the score.

## Example request

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

## 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)"
      }
     }
    }
   },
   "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-4e38c61b/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)
