# TrustLayer Base Trust Score

> TrustLayer Base 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 agent trust score (0-100) with component breakdown and metadata for a given on-chain agent ID

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/score/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-6d84215e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CjO0lYpJxykpR9bBxCXuB

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

Example prompt: Can you check the TrustLayer trust score for on-chain agent base:1378 and tell me its score, legitimacy rating, and whether it's been verified?

## When to prefer this

Use this endpoint when you need a quick, low-cost trust signal for a single ERC-8004 on-chain agent and only need the summary score and basic breakdown. Prefer /trust/ (full Sybil forensics) when you need detailed reviewer reputation weighting, Sybil detection, or temporal anomaly analysis. Use this base score endpoint for fast screening or lightweight trust checks in agentic workflows.

## Known failure modes

- Agent not found in index — returns found:false with null scores and an 'Unverified' note
- Invalid agentId format (missing chain prefix) — may return error or not-found
- Payment failure (x402 micropayment not completed) — returns 402 Payment Required
- Unsupported chain prefix — agent lookup fails silently or returns not-found
- Network timeout or upstream registry unavailability — HTTP 5xx 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 JSON object with: agentId, chain, found (boolean), trustScore (0-100 or null if not indexed), scoreProfile, scoreFeedback, scoreLegitimacy, agent name, and a note if the agent is unverified or not found.

## 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, 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-6d84215e/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)
