# Energy Price Index

`GET /api/data/energy-index` · Public

The FeeBolt Energy Price Index: the latest median and cheapest price per duration, every source's quote, and history.

A snapshot every 10 minutes. History: 24 hours at 10-minute steps, 7 days hourly, 30 days every 6 hours. Free to cite with a link (CC BY 4.0). The same data as CSV: [Energy Price Index (CSV)](https://feebolt.com/developers/energy-index-csv/).

## Request

Base URL: `https://feebolt.com`. No key needed. Limited per IP.

## Examples

```bash
curl https://feebolt.com/api/data/energy-index
```

```js
const res = await fetch("https://feebolt.com/api/data/energy-index");
const data = await res.json();
if (!res.ok) throw new Error(data.message);
```

```python
import requests

r = requests.get(
    "https://feebolt.com/api/data/energy-index",
)
r.raise_for_status()
data = r.json()
```

## Response: 200 OK

The index.

```json
{
  "updatedAt": "2026-11-28T19:48:06.725Z",
  "source": "live",
  "latest": {
    "1h": {
      "median": 28,
      "cheapest": 26,
      "sources": 6
    },
    "1d": "…",
    "3d": "…"
  },
  "quotes": [
    "…"
  ],
  "history": {
    "24h": [
      "…"
    ],
    "7d": [
      "…"
    ],
    "30d": [
      "…"
    ]
  }
}
```

## Errors

| HTTP | error | When |
| --- | --- | --- |
| 429 | `rate_limited` | Too many calls (per IP, or per key with a key). Wait for Retry-After seconds. |

## Rate limits

- Without a key: 60 at once, then 1 per second, per IP.
- A key isn't needed and doesn't change the limit.
- Cached 5 minutes at the edge.
- CORS open (`Access-Control-Allow-Origin: *`): callable from a browser.

---

HTML: https://feebolt.com/developers/energy-index/ · OpenAPI: https://feebolt.com/developers/openapi.json · All docs as one Markdown file: https://feebolt.com/developers/full.md
