# 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, 7-day and 30-day trajectory changes, and volatility (standard deviation) for a given agent ID.

## Facts

- Endpoint: GET https://api.thetrustlayer.xyz/history/test
- 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-5e995275
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nLbwTmRMVQst6QIy-4stw

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-5e995275
```

Example prompt: Pull the full trust score history for agent base:1378 — I want to see all historical snapshots, how the score has trended over the past 7 and 30 days, and how volatile the reputation has been.

## When to prefer this

Use this endpoint when you need the full longitudinal trust score record for an agent — not just the current score — particularly when evaluating reputation stability, detecting manipulation, or understanding score trajectory over time. Prefer this over the basic profile or current-score endpoints when trend analysis or volatility matters.

## Known failure modes

- Missing or malformed agentId (e.g. not in chain:id format) returns a 400 validation error
- Unknown agentId with no history returns empty or 404 response
- Unsupported chain prefix in agentId may return a 400 or 422 error
- Payment not processed (x402 protocol failure) returns 402 Payment Required
- Service unavailability returns 503

## 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 all historical trust score snapshots for the agent, including the trajectory (7-day and 30-day change values) and volatility expressed as standard deviation, giving a complete picture of how the agent's reputation has evolved over time.

## 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-5e995275/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)
