# TokenGuard Stablecoin Peg Checker

> TokenGuard Stablecoin Peg Checker is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Checks whether a stablecoin is maintaining its price peg and returns peg deviation analytics

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/stablecoin_peg
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-stablecoin-peg-checker-7474bfe9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Cd3IpYIy9WjyzRUL8wHj

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 tokenguard-stablecoin-peg-checker-7474bfe9 -d '<json body>'
```

Example prompt: Can you check whether USDT is currently holding its $1 peg, and tell me how far off it is if not?

## When to prefer this

Use this endpoint when you need a fast, on-demand check of a specific stablecoin's peg status for risk assessment, pre-trade safety checks, or portfolio monitoring. Prefer this over general token price APIs when the specific question is peg deviation rather than raw price, and when you need DeFi-context-aware stability metrics rather than a generic market data feed.

## Known failure modes

- Unknown or unsupported stablecoin address returns an error or empty result
- Network connectivity issues to on-chain data sources cause timeouts
- Stablecoin not tracked by the service returns a 404 or null response
- Micropayment failure via x402 causes the request to be rejected before processing

## How this service works

stablecoin peg data for AI agents.

## Output

A JSON object containing the stablecoin's current price, its target peg value, the deviation amount and percentage, and an overall peg health status indicating whether the coin is on-peg, slightly off-peg, or significantly depegged.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-stablecoin-peg-checker-7474bfe9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
