# Crypto Market Sentiment API

> Crypto Market Sentiment API is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.003/call, status down (last checked 2026-09-07).

Returns a real-time macro crypto market snapshot including the Fear & Greed index, total market cap, 24h volume, BTC & ETH dominance, and 24h market-cap change in a single no-parameter call.

## Facts

- Endpoint: POST https://api.x-402.online/v1/crypto/sentiment
- Price: $0.003/call
- Payment: x402
- Status: down
- Last checked: 2026-09-07
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-sentiment-api-47fdc9d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KGpOI0I8DIDktuIR2zIVP

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 crypto-market-sentiment-api-47fdc9d5 -d '<json body>'
```

Example prompt: Before my agent places any crypto trades, pull the latest Fear & Greed index, total market cap, 24h volume, and BTC and ETH dominance so I have a macro read on where the market stands right now.

## When to prefer this

Choose this endpoint when you need a single no-parameter call that delivers a comprehensive macro crypto market snapshot — especially the Fear & Greed index alongside dominance and volume data — without constructing complex queries or authenticating with multiple data providers. Ideal for trading agents that need a lightweight sentiment gate before executing strategies.

## Known failure modes

- Upstream data provider outage may return stale or empty data
- Network timeout if the aggregation service is slow
- HTTP 402 if payment is not attached or USDC balance is insufficient
- Occasional lag in index updates during periods of extreme market volatility

## Output

A JSON object containing: the Fear & Greed index as a numeric score (0–100) and a human-readable label (e.g. 'Extreme Fear', 'Greed'), total crypto market capitalization, total 24-hour trading volume, Bitcoin dominance percentage, Ethereum dominance percentage, and the 24-hour change in total market cap.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-market-sentiment-api-47fdc9d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
