# Euenergy — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Monitor real-time and historical electricity prices across Europe with hourly granularity, including load data and city-level pricing information. Look up current rates by country or city, track price trends over time, and access comprehensive bulk historical data to analyze European energy markets.

**Category:** Finance & Markets | **Website:** [euenergy.live/](https://euenergy.live/) | **Docs:** [parse.bot/marketplace/dbad1ea4-9de9-4e96-b748-44b3089f623b/euenergy-live-api](https://parse.bot/marketplace/dbad1ea4-9de9-4e96-b748-44b3089f623b/euenergy-live-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_countries_list

Returns all European countries and bidding zones with their codes and names. Multi-zone countries (Norway NO1-5, Sweden SE1-4, Denmark DK1-2) appear once per zone. Use the returned codes as input to other endpoints.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/get_all_countries_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_bulk_historical_prices

Fetches daily electricity prices for all countries over a date range, organized by country code. Makes one upstream page request per day up to the limit. Returns prices in EUR/MWh and daily change percentage for each zone.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `end_date` | string | Yes | End date in YYYY-MM-DD format. |
| `limit` | integer | No | Maximum number of days to fetch in this call. |
| `start_date` | string | Yes | Start date in YYYY-MM-DD format. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/get_bulk_historical_prices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date":"<string>","limit":"<integer>","start_date":"<string>"}'
```

### get_country_cities_list

Returns the list of cities within a country or bidding zone that have dedicated electricity price pages. Bidding zone codes (e.g. NO1) use the parent country's page. Each city includes its name, URL slug, and path.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | Yes | Country or bidding zone code from get_all_countries_list (e.g. AT, DE-LU, NO1). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/get_country_cities_list \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>"}'
```

### get_country_price_history

Returns the last 30 days of daily electricity price and load history for a specific country or bidding zone. Includes price in EUR/MWh, EUR/kWh, load in MW, daily change percentage, and day-ahead flag.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `country_code` | string | Yes | Country or bidding zone code from get_all_countries_list (e.g. AT, DE-LU, NO1, SE3). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/get_country_price_history \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"country_code":"<string>"}'
```

### get_europe_prices_by_date

Returns electricity prices for all European countries and bidding zones on a given date. Each entry includes the country name, zone code, price in EUR/MWh, and percentage change from the previous day. Omitting the date returns today's prices.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `date` | string | No | Date in YYYY-MM-DD format. Omitting returns today's prices. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-euenergy-live-api-dbad1ea4/get_europe_prices_by_date \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"<string>"}'
```
