# 402.com.tr B20 Stablecoin Peg Verification

> 402.com.tr B20 Stablecoin Peg Verification is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Checks whether a B20 stablecoin's declared currency peg matches its actual DEX market price, returning a status of on_peg, depeg_warning, depegged, no_market, or unverifiable_fx.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/b20-peg
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402-com-tr-b20-stablecoin-peg-verification-d761618f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xsdis67ueJNvgddCmapP6

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 402-com-tr-b20-stablecoin-peg-verification-d761618f
```

Example prompt: Before we settle this payment, check whether the B20 stablecoin at address 0xAbC...123 is actually trading at its declared USD peg or has depegged on the DEX.

## When to prefer this

Use this endpoint specifically before settling payments or transfers in any B20 stablecoin, when you need to verify that the token's self-declared currency peg (e.g. USD) reflects actual DEX market reality. Prefer this over generic price feeds when the token is a B20-standard stablecoin and you need a single GO/HOLD peg verdict rather than a raw price.

## Known failure modes

- Invalid or non-B20 contract address returns an error
- Contract address has no DEX liquidity — returns no_market status
- Non-USD pegged tokens return unverifiable_fx status
- Network or RPC errors may cause lookup failure
- Address for a non-stablecoin token may return misleading results

## How this service works

🆕 A B20 Stablecoin's currency() is SELF-DECLARED — the standard verifies nothing. This is the missing check: declared peg vs actual DEX market price. 'Says USD, trades at $0.71' in one call: on_peg / depeg_warning / depegged / no_market (the peg is a pure claim with zero price discovery) / unverifiable_fx for non-USD pegs. Run before settling in any B20 stablecoin.

## Output

Returns a peg status enum (on_peg / depeg_warning / depegged / no_market / unverifiable_fx), the stablecoin's declared peg currency, its actual DEX market price, and the deviation amount if applicable — giving a single-call answer on whether the token is safe to settle in.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "B20 stablecoin address"
      }
     }
    }
   },
   "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/402-com-tr-b20-stablecoin-peg-verification-d761618f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
