# TrustLayer Agent Profile Lookup

> TrustLayer Agent Profile Lookup 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 the ERC-8004 trust score, component breakdown, feedback counts, and metadata for a specific on-chain AI agent by chain:id.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/agent/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-agent-profile-lookup-77710792
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yIextzy-xj2RVGsMbUyYg

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-agent-profile-lookup-77710792
```

Example prompt: Can you pull up the TrustLayer profile for agent base:1378 — I want to see its trust score, the component breakdown, and how many feedback ratings it has before I decide to use it?

## When to prefer this

Use this endpoint when you need a quick single-agent trust profile including score, breakdown, and feedback summary. Prefer this over the time-series endpoint when you only need current state rather than historical trajectory. Best for pre-hire vetting of autonomous agents or one-off reputation checks on Base chain agents.

## Known failure modes

- Invalid agentId format (not chain:id) returns 400 bad request
- Agent not found on specified chain returns 404 not found
- Insufficient USDC payment via x402 returns 402 payment required
- Unsupported chain prefix returns validation error
- Rate limiting or network errors return 503 or timeout

## How this service works

Returns paid TrustLayer agent access on Base chain for wallet 1378.

## Output

Returns a structured profile for the queried ERC-8004 agent including: a 0–100 trust score, a breakdown of score components (e.g. task completion, Sybil signals, cross-chain identity), total feedback counts, and agent metadata such as name and chain affiliation.

## 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/trustlayer-agent-profile-lookup-77710792/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)
