# TruthBear Gauge Statistical Strata

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

Returns historical percentile bands showing what share of the last 5 years a signal spent in each official level band for today's day-of-year, plus where the current reading falls.

## Facts

- Endpoint: GET https://api.truthbear.co/gauge/strata
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/truthbear-gauge-statistical-strata-25aec21a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F0YXU9PZqBbFLJ-SPQc4X

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-statistical-strata-25aec21a
```

Example prompt: For the river level signal 'hydrology.river-level' at gauge station 07010000, show me the historical percentile strata — what share of the last 5 years was spent in each band for today's day-of-year, and where does the current reading fall?

## When to prefer this

Choose this endpoint when you need to contextualize a current sensor or signal reading against its own historical distribution for the same day-of-year — not for raw time series data (use gauge/history-series) or normalized cross-station comparison (use gauge/calibrated). Ideal for adding statistical context to environmental, financial, or operational dashboards where understanding 'is this reading unusual for this time of year?' matters.

## Known failure modes

- 422 no_charge: no historical data available for the requested signal_id and entity combination — call is not billed
- Missing required query parameters signal_id or entity returns a 4xx validation error
- Invalid signal_id or entity values return an error; use /gauge/catalog to discover valid combinations
- Strata are approximate and stated as such; not suitable for precision-critical applications

## How this service works

Truth Bear reports facts and their official sources — screening-grade, verifiable, not predictions or advice. Pay per call with USDC (x402) or a 30-day access pass by card / Apple Pay / Google Pay / PayPal.

## Output

A JSON object containing the share of the last 5 years spent in each official level band (as fractions), the percentile band boundaries, and the position of the current reading within those bands — all specific to the current day-of-year. Descriptive and approximate; not a forecast. Returns a 422 no_charge error with no billing 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",
      "entity"
     ],
     "properties": {
      "entity": {
       "type": "string",
       "examples": [
        "07010000"
       ],
       "description": "required - monitored object id, paired with signal_id; free list at GET /gauge/catalog?signal_id=<signal_id> -> signals[0].entities[]"
      },
      "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-statistical-strata-25aec21a/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)
