# TruthBear Gauge Census

> TruthBear Gauge 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-14).

Returns the latest reading for all entities under a given signal, ranked and annotated with band, frequency label, and percentile for cross-station comparison.

## Facts

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

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-gauge-census-ff5b7780
```

Example prompt: Pull a full ranked census for the hydrology.river-level signal — I want to see all stations with their band, percentile, and how close each is to action stage so I can spot any unusual ones.

## When to prefer this

Choose this endpoint when you need a single-call snapshot of ALL entities (stations) for a given signal, ranked by percentile and annotated with band and frequency metadata. It is the right choice for cross-station screening, anomaly detection, and risk triage at scale. Prefer it over gauge/history-series (which returns time series for one station) or gauge/calibrated (which adds calibrated units for one entity) when the goal is comparative ranking across the full network rather than deep analysis of a single location.

## Known failure modes

- 422 no_charge: no data available for the requested signal — not billed
- Invalid or unknown signal_id returns an error (signal not found in catalog)
- Missing required signal_id parameter causes a validation error
- Network timeout if the station count is very large

## How this service works

[BATCH+PROOF] All entities for one signal at their latest reading, with band, frequency_label and percentile columns so you can rank across stations and screen for the unusual in one call. Cross-station comparison is the point: one river gauge alone tells you little, 200 of them ranked by distance-to-action tells you a lot. Descriptive only, never a forecast or advice. No data -> 422 no_charge, not billed. $0.09 per call.

## Output

A batch JSON response listing every entity (station) tracked under the requested signal, each annotated with its latest reading value, band classification (e.g. normal/elevated/action), frequency label, and percentile rank — enabling immediate cross-station comparison and screening for outliers. Returns a 422 no_charge error if no data is available.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "signal_id"
     ],
     "properties": {
      "signal_id": {
       "type": "string",
       "examples": [
        "hydrology.river-level"
       ],
       "description": "required - signal id (genus.species); free list at GET /gauge/catalog (paged; ?all=1 for every line)"
      }
     },
     "additionalProperties": false
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/truthbear-gauge-census-ff5b7780/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)
