# Onchain Risk Feeds + Token Safety (x402) — Stablecoin Depeg Risk

> Onchain Risk Feeds + Token Safety (x402) — Stablecoin Depeg Risk is a paid API for AI agents from x402-depeg-feed.yinkaphlay13.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns a scored stablecoin depeg-risk signal for on-chain stablecoins, paid per-call via x402 micropayment protocol

## Facts

- Endpoint: POST https://x402-depeg-feed.yinkaphlay13.workers.dev/depeg
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onchain-risk-feeds-token-safety-x402-stablecoin-depeg-risk-8a436b91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9clVn9xcbyIizuOrpI8sx

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 onchain-risk-feeds-token-safety-x402-stablecoin-depeg-risk-8a436b91 -d '<json body>'
```

Example prompt: Can you check the depeg risk score for DAI on Ethereum right now — I want to know if it's safe to use as collateral in my DeFi position?

## When to prefer this

Use this endpoint when you need a real-time, pre-computed and scored depeg-risk signal for a stablecoin without building your own on-chain data pipeline. Prefer this over raw oracle feeds when you need a single actionable risk score rather than raw price data. Best for DeFi agents that need rapid risk assessment before executing a trade, providing collateral, or rebalancing a portfolio involving stablecoins.

## Known failure modes

- Unsupported stablecoin address or symbol returns an error or empty result
- Network congestion or upstream on-chain data unavailability causes timeout
- x402 payment failure (insufficient USDC balance or unsupported wallet) blocks access
- Invalid or missing input parameters return a 400-level error
- Stale on-chain data may cause temporarily inaccurate risk scores

## How this service works

Paid x402 endpoints for agents: stablecoin depeg-risk, Morpho liquidation-risk, and a token safety check (honeypot/rug). Derived, scored signals.

## Output

A scored depeg-risk signal for the specified stablecoin, including a numeric risk score and derived signal indicating the likelihood and severity of the stablecoin losing its peg, based on on-chain data.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-feeds-token-safety-x402-stablecoin-depeg-risk-8a436b91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-depeg-feed.yinkaphlay13.workers.dev](https://www.zero.xyz/host/x402-depeg-feed.yinkaphlay13.workers.dev/llms.txt)
