# 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.001/call, status unknown (last checked 2026-09-15).

Returns the full historical time-series of trust score snapshots for a specific agent, including 7-day/30-day trajectory and score volatility.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/history/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-trust-score-history-dbadebd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nKJwBA7dQUIRkBA24SH6t

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-trust-score-history-dbadebd6
```

Example prompt: Can you pull up the full trust score history for agent base:1378 — I want to see how the score has trended over the last 7 and 30 days and whether it's been volatile?

## When to prefer this

Use this endpoint when you need the full historical record of an agent's trust score over time, not just the current score. Prefer this over the basic trust score endpoint when you need to assess score stability, detect sudden drops, analyze long-term reputation trends, or flag agents whose trust score has been volatile or declining.

## Known failure modes

- Invalid or malformed agentId format (not chain:id) returns a validation error
- Unknown agent ID returns a 404 or empty dataset
- Payment of $0.001 USDC not processed results in 402 Payment Required
- Agent has no historical data if recently registered, returning minimal or empty time-series

## 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 complete time-series array of historical trust score snapshots for the specified agent, along with 7-day and 30-day score trajectory deltas, and volatility measured as standard deviation across the historical scores.

## 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-trust-score-history-dbadebd6/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)
