# Energy Price Index (CSV)

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

The latest quotes as CSV: one row per source and duration, the index in the header comments.

For spreadsheets and data tools. Same snapshot and caching as the JSON.

## Request

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

## Examples

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

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

```python
import requests

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

## Response: 200 OK

CSV.

```
# FeeBolt Energy Price Index …
source,duration,sun_per_energy,…
source-1,1h,26,…
```

## 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-csv/ · OpenAPI: https://feebolt.com/developers/openapi.json · All docs as one Markdown file: https://feebolt.com/developers/full.md
