> For the complete documentation index, see [llms.txt](https://docs.bv7x.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bv7x.ai/use-the-signal/read-the-forecast/market-data.md).

# Market Data

Four public endpoints for real-time market data. No authentication required.

***

## GET /api/btc-price

Current Bitcoin price.

```bash
curl https://bv7x.ai/api/btc-price
```

```json
{
  "price": 66027,
  "change24h": -2.3,
  "timestamp": "2026-03-28T21:00:00Z"
}
```

| Field       | Type   | Description               |
| ----------- | ------ | ------------------------- |
| `price`     | number | BTC/USD price             |
| `change24h` | number | 24-hour percentage change |
| `timestamp` | string | Data timestamp            |

***

## GET /api/fear-greed

Crypto Fear & Greed Index.

```bash
curl https://bv7x.ai/api/fear-greed
```

```json
{
  "value": 45,
  "label": "Fear",
  "timestamp": "2026-03-28T00:00:00Z"
}
```

| Field       | Type   | Description                                                    |
| ----------- | ------ | -------------------------------------------------------------- |
| `value`     | number | Index value (0--100). 0 = extreme fear, 100 = extreme greed    |
| `label`     | string | Human label: Extreme Fear, Fear, Neutral, Greed, Extreme Greed |
| `timestamp` | string | Data timestamp                                                 |

***

## GET /api/etf-flows

Bitcoin ETF flow data.

```bash
curl https://bv7x.ai/api/etf-flows
```

```json
{
  "flows7d": -120000000,
  "flows30d": 450000000,
  "lastDay": -35000000,
  "timestamp": "2026-03-28T00:00:00Z"
}
```

| Field       | Type   | Description                        |
| ----------- | ------ | ---------------------------------- |
| `flows7d`   | number | Net ETF inflows over 7 days (USD)  |
| `flows30d`  | number | Net ETF inflows over 30 days (USD) |
| `lastDay`   | number | Most recent daily net flow (USD)   |
| `timestamp` | string | Data timestamp                     |

***

## GET /api/macro-correlation

Macro indicator correlations with BTC.

```bash
curl https://bv7x.ai/api/macro-correlation
```

```json
{
  "dxy": {
    "value": 104.2,
    "correlation": -0.42,
    "change5d": 0.8
  },
  "sp500": {
    "correlation": 0.65
  },
  "goldBtcRatio": {
    "correlation": -0.31
  },
  "ismPmi": {
    "value": 52.6,
    "correlation": 0.28
  },
  "timestamp": "2026-03-28T00:00:00Z"
}
```

| Field          | Type   | Description                               |
| -------------- | ------ | ----------------------------------------- |
| `dxy`          | object | US Dollar Index with BTC correlation      |
| `sp500`        | object | S\&P 500 correlation with BTC             |
| `goldBtcRatio` | object | Gold/BTC ratio correlation                |
| `ismPmi`       | object | ISM Manufacturing PMI and BTC correlation |
| `timestamp`    | string | Data timestamp                            |

***

## Notes

* All endpoints are cached and refresh on their respective data schedules (typically daily)
* ETF flow data is available after US market close on weekdays
* Fear & Greed updates once daily at 00:00 UTC

***

## Next

* [Public Signal](/use-the-signal/read-the-forecast/signal.md) -- signal endpoint with market context
* [All Endpoints](/use-the-signal/reference/endpoints.md) -- complete endpoint reference
