# TrustLayer Agent Trust Score History

> TrustLayer Agent Trust Score History is a paid API for AI agents from api.thetrustlayer.xyz, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-16).

Returns the full historical time-series of trust score snapshots for a blockchain agent, including trajectory trends and volatility metrics.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/history/base:1378
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-thetrustlayer-xyz-90e69c23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sqeTKU24huHtCWuJEQRL9

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-90e69c23
```

Example prompt: Can you pull up the full trust score history for agent base:1378 — I want to see how its score has changed over time and whether it's been stable or volatile?

## When to prefer this

Use this endpoint when you need the full historical trust score time-series for an agent rather than just the current score. Ideal for trend analysis, detecting score drops or recoveries, assessing score stability over weeks or months, or comparing an agent's past and present reputation before engaging with it. Prefer this over the basic score endpoint when longitudinal data, volatility, or trajectory (7d/30d change) is needed.

## Known failure modes

- Missing or invalid agentId parameter returns a 400 error
- Agent ID not found on the specified chain returns a 404 or empty snapshots array
- Malformed chain:id format (e.g. missing colon) causes a parse error
- Agent has no historical data yet (newly registered) returns empty snapshots
- Payment failure via x402 protocol returns 402 Payment Required
- Rate limiting may return 429 Too Many Requests

## How this service works

Full score time-series for an agent. Returns all historical trust score snapshots, trajectory (7d/30d change), and volatility (standard deviation).

## Output

Returns a JSON object containing the chain, agentId, an ordered array of daily trust score snapshots (each with date and score 0-100), the 7-day and 30-day score trajectory (change values), and the volatility expressed as the standard deviation of historical scores.

## 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-90e69c23/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)
