# TrustLayer Base Agent Trust Score

> TrustLayer Base Agent Trust Score 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).

Returns a basic ERC-8004 trust score (0-100) with component breakdown and metadata for a blockchain agent identified by chain:id

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/score/base%3A1378
- 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/trustlayer-base-agent-trust-score-9e2a086c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aiJtEZ8WNxIrUwd1kWRAW

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 trustlayer-base-agent-trust-score-9e2a086c
```

Example prompt: What's the TrustLayer ERC-8004 trust score for agent base:1378? I need the score breakdown and metadata before I decide whether to interact with it.

## When to prefer this

Use this endpoint when you need a quick, lightweight trust signal for a single agent on a supported EVM chain (e.g. Base, BSC, Ethereum) and don't require deep Sybil forensics. Prefer this over the /trust/ endpoint when speed and cost matter more than forensic depth, or when you simply need the headline score and component breakdown for a go/no-go decision.

## Known failure modes

- Invalid agentId format returns 400 error — must be chain:id format like base:1378
- Unknown agent ID returns 404 or score of 0 with empty metadata
- Network or RPC issues may return 503 temporarily
- Malformed chain prefix (e.g. wrong chain name) may return validation error

## How this service works

Basic ERC-8004 agent trust score. Returns score 0-100, component breakdown, and agent metadata. For full Sybil forensics use /trust/ instead.

## Output

Returns a numeric trust score from 0 to 100, a breakdown of score components (e.g. on-chain activity, feedback, age), and agent metadata such as registry info and chain context — based on the ERC-8004 standard.

## 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/trustlayer-base-agent-trust-score-9e2a086c/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)
