# Crypto Fear & Greed Index

Crypto's headline sentiment gauge — one number a day from 0 (extreme fear) to 100 (extreme greed), with history.

- Method: `GET`
- Path: `/v1/crypto/fear-greed`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `days` | integer | optional | How many daily readings, 1-365. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/crypto/fear-greed \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "current": { "value": 72, "classification": "Greed", "date": "2026-08-21" },
    "history": [
      { "value": 70, "classification": "Greed", "date": "2026-08-20" }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-21T04:05:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-22T04:05:00.000Z"
  }
}
```