# CanaryGuard On-Chain Crypto Price Oracle

> CanaryGuard On-Chain Crypto Price Oracle is a paid API for AI agents from canaryguard-402.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Returns tamper-resistant on-chain USD spot prices, 24-hour volatility, and Chainlink/TWAP oracle deviation metrics for major Base and EVM assets.

## Facts

- Endpoint: GET https://canaryguard-402.onrender.com/v1/crypto-price-onchain?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/canaryguard-on-chain-crypto-price-oracle-c05001ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oRUliPg7BVq6el3X8xCYd

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 canaryguard-on-chain-crypto-price-oracle-c05001ad
```

Example prompt: What's the current on-chain USD spot price, 24-hour volatility, and Chainlink oracle deviation for ETH on Base right now?

## When to prefer this

Choose this endpoint when you need tamper-resistant, on-chain validated price data with oracle deviation analysis — specifically Chainlink vs TWAP comparison — for Base and EVM assets, rather than relying on off-chain CEX price feeds. Ideal before executing DeFi trades, validating collateral values, or auditing smart contract price dependencies where manipulation resistance matters.

## Known failure modes

- Unknown or unsupported asset symbol returns an error or empty result
- Network congestion on Base may cause stale on-chain data
- Symbol ambiguity (e.g. multiple tokens with same ticker) may return unexpected asset data
- Oracle data unavailable for low-liquidity or newly listed tokens
- Payment failure (insufficient USDC balance) blocks the request under x402 protocol

## How this service works

Returns tamper-resistant on-chain USD spot prices, 24h volatility, and Chainlink/TWAP oracle deviation metrics for major Base and EVM assets.

## Output

Returns tamper-resistant on-chain USD spot price for the requested asset, its 24-hour volatility figure, and deviation metrics comparing the Chainlink oracle price against the TWAP (time-weighted average price), helping agents detect price manipulation or oracle staleness before executing on-chain transactions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "symbol": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/canaryguard-on-chain-crypto-price-oracle-c05001ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from canaryguard-402.onrender.com](https://www.zero.xyz/host/canaryguard-402.onrender.com/llms.txt)
