# TruthBear Stablecoin Census

> TruthBear Stablecoin Census is a paid API for AI agents from api.truthbear.co, paid per call via x402, $0.09/call, status unknown (last checked 2026-09-13).

Returns a full, market-cap-ranked census of all tracked stablecoins as of the latest day, including lifecycle flags for terminated and depegged coins, with optional per-row cryptographic hashes for offline verification.

## Facts

- Endpoint: GET https://api.truthbear.co/stable/census
- Price: $0.09/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/truthbear-stablecoin-census-9cb215e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ykmgutm2Q6MRmIyAO4TIQ

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 truthbear-stablecoin-census-9cb215e4
```

Example prompt: Pull me the full stablecoin census ranked by market cap for today, and include the verifiable hashes on each row so I can audit them offline.

## When to prefer this

Choose this endpoint when you need a comprehensive, ranked snapshot of the entire stablecoin market for the current day, especially when lifecycle status (terminated, depegged) matters or when cryptographic auditability is required. It is a batch overview endpoint — prefer it over per-coin lookups when you need the full universe. It is descriptive only and should not be used for forecasting or investment advice.

## Known failure modes

- 422 no_charge: no stablecoin data available for the latest day — not billed
- Missing or malformed query parameters may produce unexpected behavior
- Stale data if the latest day's data has not yet been ingested

## How this service works

[BATCH+PROOF] Full stablecoin census, latest day, ranked by market cap; lifecycle flags terminated and depegged. Add ?verifiable=1 and every row carries _hash_core so you can recompute the hash offline without trusting us. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. $0.09 per call.

## Output

A JSON array of all tracked stablecoins ranked by market cap as of the latest available day. Each row includes the stablecoin name, market cap, rank, and lifecycle flags for 'terminated' and 'depegged' status. When ?verifiable=1 is passed, each row also includes a _hash_core field — the canonical pre-image string you can hash offline to verify the record_hash without trusting the API. Returns a 422 with no charge if no data is available.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": false,
     "properties": {
      "verifiable": {
       "type": "string",
       "description": "optional - set to 1 to attach `_hash_core` per row (the canonical pre-image of the record_hash for that row) so you can recompute and verify fully offline; omitted by default to keep the payload small - for online verification use free GET /gauge/verify?hash="
      }
     }
    }
   },
   "required": [
    "type",
    "method"
   ]
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {}
   },
   "required": [
    "type"
   ]
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "entity": "basis-cash-bac",
  "current": {
   "state": "dead",
   "ongoing": false,
   "death_type": "depeg-abandoned",
   "lifespan_days": 152
  },
  "lifecycle": {
   "peg": "usd",
   "state": "dead",
   "end_at": "2021-05-01",
   "issuer": "Basis Cash (anon)",
   "context": "The algorithmic stablecoin BAC traded below USD 1 for a long period and never regained its peg; after the seigniorage...",
   "ongoing": false,
   "birth_at": "2020-11-30",
   "mechanism": "algorithmic",
   "death_type": "depeg-abandoned",
   "lifespan_days": 152
  },
  "signal_id": "stablecoin.lifecycle",
  "source_ref": "https://www.coingecko.com/en/coins/basis-cash",
  "entity_name": "Basis Cash (BAC)",
  "observed_at": "2026-08-24T15:00:00.121Z",
  "record_hash": "sha256:664da5b5c8cc399928a3149a49732e15d67f66d69b683e1469c0ab9871d8d702",
  "source_tier": "T1",
  "snapshot_date": "2026-08-24",
  "data_age_hours": 0,
  "hash_core_version": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/truthbear-stablecoin-census-9cb215e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.truthbear.co](https://www.zero.xyz/host/api.truthbear.co/llms.txt)
