# Carbon & Cashmere Oracle Divergence API – SOL

> Carbon & Cashmere Oracle Divergence API – SOL is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.03/call, status down (last checked 2026-09-14).

Returns real-time oracle price divergence statistics between Pyth and CoinGecko for Solana (SOL), including spread percentages, exceedance rates, and timestamped divergence events.

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/oracle-divergence/SOL
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/carbon-cashmere-oracle-divergence-api-sol-dce39b2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hxkZcX3Q7arwDRRN5_fj9

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 carbon-cashmere-oracle-divergence-api-sol-dce39b2f
```

Example prompt: Pull the latest Pyth vs CoinGecko oracle divergence stats for SOL — I want to see the spread percentages, how often it's exceeded the threshold, and any recent divergence events from the past hour.

## When to prefer this

Use this endpoint when you need to detect, measure, or monitor discrepancies between Pyth on-chain oracle prices and CoinGecko reference prices for SOL specifically — ideal for DeFi risk monitoring, oracle manipulation detection, arbitrage signal generation, or validating price feed health before executing trades.

## Known failure modes

- Unsupported coin symbol returns 404 or empty response
- Pyth feed temporarily unavailable causes partial or error response
- CoinGecko rate limiting causes stale or missing reference price
- No divergence events in window returns empty events array with valid stats
- Payment not received (x402) results in 402 Payment Required response

## How this service works

Professional crypto market intelligence. Real-time prices, signals, and market scoring.

## Output

A JSON object containing: the coin identifier (SOL), spread statistics (p25, p75, median, abs_max, abs_p95 in percent), exceedance rate and count, a list of timestamped divergence events with direction (pyth_lower/pyth_higher), individual Pyth and CoinGecko prices, Pyth confidence values, and the most recent price snapshot with spread — all filtered by configurable lookback window and threshold.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "coin": "BTC",
  "stats": {
   "samples": 12,
   "spread_pct": {
    "p25": -0.082,
    "p75": 0.047,
    "median": -0.024,
    "abs_max": 0.6532,
    "abs_p95": 0.5071
   },
   "exceedance_rate": 0.333,
   "exceeded_threshold": 4
  },
  "events": [
   {
    "ts": "2026-05-09T20:43:23Z",
    "direction": "pyth_lower",
    "pyth_price": 0.42316693,
    "spread_pct": -0.6532,
    "coingecko_price": 0.425931,
    "pyth_confidence": 0.000414
   }
  ],
  "filter": {
   "threshold_pct": 0.001,
   "lookback_minutes": 60
  },
  "latest": {
   "ts": "2026-05-09T20:48:23Z",
   "pyth_price": 80781.71,
   "spread_pct": -0.0227,
   "coingecko_price": 80800
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/carbon-cashmere-oracle-divergence-api-sol-dce39b2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.carbon-cashmere.de](https://www.zero.xyz/host/api.carbon-cashmere.de/llms.txt)
