# Elpris — Danish Electricity Prices & Suppliers (`blackfalcondata/elpris-scraper`) Actor

Scrape every electricity product Danish suppliers report to elpris.dk — supplier, price bands, and binding terms — across all 34 distribution areas. Optionally add the full all-in consumer price (øre/kWh) computed with elpris.dk's own formula.

- **URL**: https://apify.com/blackfalcondata/elpris-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 product records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Elpris do?

Elpris scrapes every electricity product that Danish suppliers report to elpris.dk across all 34 distribution areas — supplier, price bands, tariffs, fees, and binding terms. Optionally add the calculated all-in consumer price in øre/kWh — electricity, grid tariff, state taxes, and Nord Pool spot — computed with elpris.dk's own formula.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctaplain) and use the included $5 monthly platform credit to test this actor.

### Key features

- **⚡ Every supplier, every area** — scrape every electricity product Danish suppliers report to elpris.dk across all 34 distribution areas in one run — supplier, price bands, tariffs, fees, and binding terms.
- **💰 Calculated all-in price** — optionally add the full consumer price in øre/kWh — electricity, grid tariff, state taxes, and Nord Pool spot — computed with elpris.dk's own formula, split into supplier, grid, and state shares for a given yearly consumption.
- **📮 Filter by zip code or area** — narrow to the distribution area covering any Danish zip code, or to specific grid-area codes, product type (fixed / variable), and private or business eligibility.
- **🧾 Raw components and headline rate** — every record keeps the supplier's full time-of-day price matrix and subscription alongside a headline commodity rate, so you can compare quickly or recompute your own totals.
- **♻️ Incremental mode** — on repeat runs, return and bill only products that are new or whose price changed since the last run, each labeled with its change type. The first run builds the baseline; later runs stay cheap and surface exactly what moved.
- **🔔 Notifications** — Send new or price-changed products to Telegram, Slack, Discord, WhatsApp, or any webhook — pair with incremental mode for price-change alerts.
- **🔌 MCP connectors** — export results into a connected app via Apify's MCP connectors — opt-in, with deterministic field mapping and no AI in the loop.

### What data can you extract from Elpris?

Each result includes Core product fields (`recordId`, `productId`, `productVariantId`, `productName`, `productType`, `billingType`, `supplierName`, and `supplierCvr`, and more), extended fields (`description`), and company metadata (`gridCompanyName`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Optional free-text filter matched against supplier name and product name (case-insensitive substring). Leave empty to return all products. Paste a JSON array for multiple terms, e.g. \["andel","ewii"].
- **`zipCodes`** — Restrict to the distribution area(s) covering these Danish zip codes (e.g. "2100", "8000"). Leave empty to cover all areas. (default: `[]`)
- **`gridAreas`** — Advanced: restrict to specific grid-area codes (e.g. "791" = Radius/Copenhagen, "344" = N1). Takes precedence over zip codes for area selection. (default: `[]`)
- **`productType`** — Filter by price model. (default: `"all"`)
- **`customerType`** — Filter to products available for private or business customers. (default: `"all"`)
- **`includePriceless`** — Also include products that are currently listed without an active price band. (default: `false`)
- **`includeCalculatedPrice`** — Compute the full all-in consumer price (øre/kWh) — electricity + grid tariff + state taxes + Nord Pool spot — using elpris.dk's own calculation formula, so you get the comparable bottom-line number, not just the raw components. (default: `false`)
- **`annualConsumptionKwh`** — Consumption assumption for the price calculation. Default 2000 kWh matches elpris.dk's default (apartment ≤ 80 m²). (default: `2000`)
- **`includeVat`** — Include 25% Danish VAT in the calculated price. (default: `true`)
- **`maxResults`** — Maximum total records (0 = unlimited — the full market is ~9,000 product×area rows). (default: `0`)
- **`compact`** — Core fields only (for AI-agent / MCP workflows). (default: `false`)
- **`excludeEmptyFields`** — Drop null, empty-string, and empty-array fields from each record before push. (default: `false`)
- ...and 16 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "Norlys",
  "maxResults": 50
}
```

**Incremental tracking** — Only emit products that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "Norlys",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "norlys-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "Norlys",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured product records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example product record

```json
{
  "recordId": "b041c12783bdd0e73ef91cca46f0ecfac41190833a2b15fe891a5385992a8a0e",
  "productId": 186,
  "productVariantId": 0,
  "productName": "Inflytningstilbuddet",
  "productType": "Fast",
  "billingType": "flex",
  "supplierName": "EnergidriftA/S",
  "supplierCvr": "43044281",
  "supplierType": "Elhandler",
  "supplierHomepage": "http://Energidrift.dk",
  "supplierLogoUrl": "https://elpris.dk/img/organisations/_110.png",
  "gridArea": "791",
  "gridCompanyName": "Radius Elnet A/S",
  "priceZone": "DK2",
  "forPrivate": true,
  "forBusiness": false,
  "binding": "Nej",
  "bindingPeriod": "0 mdr.",
  "termination": "Ja. Vi har ingen bindingsperiode, men kun en opsigelsesvarsel på løbende måned + en måned. Du kan derfor roligt tilmelde dig.",
  "subscriptionBased": "Nej",
  "priceUpdateInterval": "hver tredje måned",
  "deliveryStart": "1 hverdage/arbejdsdage",
  "deliveryEnd": "6 måneder. Intropris gælder op til 1.000 kWh/6 mdr og max 167 kWh pr. måned. Over dette afregnes efter Fastpris Standard.",
  "deliveryPeriodDays": 180,
  "paymentType": "Forudbetalt",
  "numberOfPayments": 4,
  "paymentMethods": [
    {
      "name": "Betalingsservice",
      "fee": 0
    },
    {
      "name": "Girokort",
      "fee": 0
    },
    {
      "name": "Mobilepay Subscription"
    }
  ],
  "deposit": 0,
  "fees": [
    {
      "name": "Mobilepay / Betalingservice gebyr",
      "amount": 10,
      "amountText": "10,00 Kr/Måned"
    }
  ],
  "introOffer": true,
  "firstTimeDiscount": 0,
  "climateSustainableEnergyLevel": 0.12,
  "productPrices": [
    {
      "subscription": 0,
      "containsNetworkTariff": false,
      "additionalNordPoolSpot": false,
      "validFrom": "2022-04-01",
      "validTo": "2030-03-31",
      "lastUpdate": "2024-07-15",
      "matrix": [
        {
          "hoursFrom": 0,
          "hoursTo": 24,
          "volumeFrom": 2000,
          "volumeTo": 999999,
          "amount": 0,
          "monday": false,
          "tuesday": false,
          "wednesday": false,
          "thursday": false,
          "friday": false,
          "saturday": false,
          "sunday": false
        },
        {
          "hoursFrom": 0,
          "hoursTo": 24,
          "volumeFrom": 0,
          "volumeTo": 2000,
          "amount": 0,
          "monday": false,
          "tuesday": false,
          "wednesday": false,
          "thursday": false,
          "friday": false,
          "saturday": false,
          "sunday": false
        }
      ]
    }
  ],
  "commodityPriceOreKwh": 0,
  "subscriptionKrMonth": 0,
  "hasPrice": true,
  "calculatedTotalPriceOreKwh": 80.9562,
  "calculatedSupplierPriceOreKwh": 6,
  "calculatedGridPriceOreKwh": 57.9649,
  "calculatedStatePriceOreKwh": 0.8,
  "calculatedAnnualPriceDkk": 1619.12,
  "calculationConsumptionKwh": 2000,
  "calculationIncludesVat": true,
  "orderUrl": "https://energidrift.dk/bestil-intro/?hvorfra=Privat",
  "readmoreUrl": "https://energidrift.dk/bestil-intro/?hvorfra=Privat",
  "searchQuery": "Norlys",
  "source": "elpris.dk",
  "scrapedAt": "2026-07-28T05:47:49.532Z"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape Elpris

1. Go to [Elpris](https://apify.com/blackfalcondata/elpris-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxResults` to control how many results you need.
4. Click **Start** and wait for the run to finish.
5. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract product data from Elpris for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed products on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.

### How much does it cost to scrape Elpris?

Elpris uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.05 per run
- **Per product (primary event):** $0.002

You are billed only for the events your run actually triggers. Prices below are the Free plan tier.

| Event | Price (Free tier) | Charged when |
|---|---|---|
| Actor Start | $0.05 (one-time) | Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). |
| Product record (primary) | $0.002 | Charged per electricity product returned (one per product per distribution area). |
| Calculated price | $0.004 | Charged per product for which the full all-in consumer price is calculated. Only applies when calculated price is enabled. |
| Incremental run | $0.5 | Charged once per run in incremental mode - the full-market freshness check that returns only new or price-changed products. |

Example costs (primary event only — other events above add cost when they fire):

- 10 results: **$0.07**
- 25 results: **$0.1**
- 100 results: **$0.25**
- 200 results: **$0.45**
- 500 results: **$1.05**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of products that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 9,600 products per run, weekday polling (~22 runs/month). Costs scale linearly with the number of products.

The incremental run cost below includes the primary **Product record** event and the per-run **Incremental run** fee (charged once on every incremental run, regardless of how few products changed). Other events (**Calculated price**) are billed separately when they fire.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 0.5% churn | $19.25 | $0.65 | $18.60 (97%) | $14.21 |
| 1% churn | $19.25 | $0.74 | $18.51 (96%) | $16.32 |
| 1.5% churn | $19.25 | $0.84 | $18.41 (96%) | $18.44 |

Full re-scrape monthly cost at the same cadence: $423.50. First month with incremental costs $32.82 / $34.83 / $36.85 for the 0.5% / 1% / 1.5% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage is included in the per-result fee shown above.

### FAQ

#### How many results can I get from Elpris?

The number of results depends on the search query and available products on Elpris. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Elpris support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed products on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Elpris with other apps?

Yes. Elpris works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Elpris with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Elpris through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape Elpris?

This actor extracts publicly available data from Elpris. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/elpris-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [Transfermarkt \[Just 💰$0.5\] — football market values](https://apify.com/blackfalcondata/transfermarkt-market-value-scraper?fpr=1h3gvi) — 💰 $0.5 per 1,000 records. Scrape transfermarkt.com — player market values with full history ·.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctaplain) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on elpris.dk. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with Elpris's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is not affiliated with, endorsed by, or connected to Elpris.

### Search keywords

elpris scraper, elpris api, apify elpris, elpris data extraction, elpris.dk scraper, elpris.dk data, elpris.dk api, elpriser scraper, danish electricity prices, electricity prices denmark, elpriser api, elleverandør priser, spotpris el data, elpris sammenligning, elselskaber priser.

# Actor input Schema

## `query` (type: `string`):

Optional free-text filter matched against supplier name and product name (case-insensitive substring). Leave empty to return all products. Paste a JSON array for multiple terms, e.g. \["andel","ewii"].

## `zipCodes` (type: `array`):

Restrict to the distribution area(s) covering these Danish zip codes (e.g. "2100", "8000"). Leave empty to cover all areas.

## `gridAreas` (type: `array`):

Advanced: restrict to specific grid-area codes (e.g. "791" = Radius/Copenhagen, "344" = N1). Takes precedence over zip codes for area selection.

## `productType` (type: `string`):

Filter by price model.

## `customerType` (type: `string`):

Filter to products available for private or business customers.

## `includePriceless` (type: `boolean`):

Also include products that are currently listed without an active price band.

## `includeCalculatedPrice` (type: `boolean`):

Compute the full all-in consumer price (øre/kWh) — electricity + grid tariff + state taxes + Nord Pool spot — using elpris.dk's own calculation formula, so you get the comparable bottom-line number, not just the raw components.

## `annualConsumptionKwh` (type: `integer`):

Consumption assumption for the price calculation. Default 2000 kWh matches elpris.dk's default (apartment ≤ 80 m²).

## `includeVat` (type: `boolean`):

Include 25% Danish VAT in the calculated price.

## `maxResults` (type: `integer`):

Maximum total records (0 = unlimited — the full market is ~9,000 product×area rows).

## `compact` (type: `boolean`):

Core fields only (for AI-agent / MCP workflows).

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push.

## `incrementalMode` (type: `boolean`):

Compare against previous run state and emit only NEW / UPDATED (e.g. price-changed) products. stateKey is optional — it defaults from your filter inputs so different filter sets never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked universe. Leave empty to auto-generate from filter inputs.

## `skipReposts` (type: `boolean`):

When incremental, skip products whose content matches a product that expired in a prior run.

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED products.

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `notificationLimit` (type: `integer`):

Maximum number of products included in each notification message (1–20).

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token. Recipient must have messaged the business number within the last 24h.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric). Required when whatsappAccessToken is set.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "4531123456").

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. For n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "query": "Norlys",
  "zipCodes": [],
  "gridAreas": [],
  "productType": "all",
  "customerType": "all",
  "includePriceless": false,
  "includeCalculatedPrice": false,
  "annualConsumptionKwh": 2000,
  "includeVat": true,
  "maxResults": 0,
  "compact": false,
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "Norlys",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/elpris-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "Norlys",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/elpris-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "Norlys",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/elpris-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=blackfalcondata/elpris-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Elpris — Danish Electricity Prices & Suppliers",
        "description": "Scrape every electricity product Danish suppliers report to elpris.dk — supplier, price bands, and binding terms — across all 34 distribution areas. Optionally add the full all-in consumer price (øre/kWh) computed with elpris.dk's own formula.",
        "version": "0.1",
        "x-build-id": "0b5cdjhe98EfuRxv8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~elpris-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-elpris-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/blackfalcondata~elpris-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-elpris-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/blackfalcondata~elpris-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-elpris-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "🔍 Supplier / product filter",
                        "type": "string",
                        "description": "Optional free-text filter matched against supplier name and product name (case-insensitive substring). Leave empty to return all products. Paste a JSON array for multiple terms, e.g. [\"andel\",\"ewii\"]."
                    },
                    "zipCodes": {
                        "title": "📮 Zip codes",
                        "type": "array",
                        "description": "Restrict to the distribution area(s) covering these Danish zip codes (e.g. \"2100\", \"8000\"). Leave empty to cover all areas.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "gridAreas": {
                        "title": "⚡ Distribution area codes",
                        "type": "array",
                        "description": "Advanced: restrict to specific grid-area codes (e.g. \"791\" = Radius/Copenhagen, \"344\" = N1). Takes precedence over zip codes for area selection.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "productType": {
                        "title": "🔌 Product type",
                        "enum": [
                            "all",
                            "Fast",
                            "Variabel"
                        ],
                        "type": "string",
                        "description": "Filter by price model.",
                        "default": "all"
                    },
                    "customerType": {
                        "title": "👤 Customer type",
                        "enum": [
                            "all",
                            "private",
                            "business"
                        ],
                        "type": "string",
                        "description": "Filter to products available for private or business customers.",
                        "default": "all"
                    },
                    "includePriceless": {
                        "title": "🈳 Include products without a price",
                        "type": "boolean",
                        "description": "Also include products that are currently listed without an active price band.",
                        "default": false
                    },
                    "includeCalculatedPrice": {
                        "title": "💰 Add calculated total price",
                        "type": "boolean",
                        "description": "Compute the full all-in consumer price (øre/kWh) — electricity + grid tariff + state taxes + Nord Pool spot — using elpris.dk's own calculation formula, so you get the comparable bottom-line number, not just the raw components.",
                        "default": false
                    },
                    "annualConsumptionKwh": {
                        "title": "🔋 Annual consumption (kWh)",
                        "minimum": 100,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Consumption assumption for the price calculation. Default 2000 kWh matches elpris.dk's default (apartment ≤ 80 m²).",
                        "default": 2000
                    },
                    "includeVat": {
                        "title": "🧾 Include VAT (moms)",
                        "type": "boolean",
                        "description": "Include 25% Danish VAT in the calculated price.",
                        "default": true
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "maximum": 20000,
                        "type": "integer",
                        "description": "Maximum total records (0 = unlimited — the full market is ~9,000 product×area rows).",
                        "default": 0
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Core fields only (for AI-agent / MCP workflows).",
                        "default": false
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude empty fields",
                        "type": "boolean",
                        "description": "Drop null, empty-string, and empty-array fields from each record before push.",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental Mode",
                        "type": "boolean",
                        "description": "Compare against previous run state and emit only NEW / UPDATED (e.g. price-changed) products. stateKey is optional — it defaults from your filter inputs so different filter sets never share state.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State Key",
                        "type": "string",
                        "description": "Optional. Stable identifier for the tracked universe. Leave empty to auto-generate from filter inputs."
                    },
                    "skipReposts": {
                        "title": "🚫 Skip Reposts",
                        "type": "boolean",
                        "description": "When incremental, skip products whose content matches a product that expired in a prior run.",
                        "default": false
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "When Incremental Mode is on, only send notifications for NEW and UPDATED products.",
                        "default": false
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID (e.g. \"-100123456789\"). Required when telegramToken is set."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL. api.slack.com/messaging/webhooks."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Products Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of products included in each notification message (1–20).",
                        "default": 5
                    },
                    "whatsappAccessToken": {
                        "title": "📱 WhatsApp Access Token",
                        "type": "string",
                        "description": "WhatsApp Cloud API permanent access token. Recipient must have messaged the business number within the last 24h."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📞 WhatsApp Phone Number ID",
                        "type": "string",
                        "description": "Your WhatsApp Business phone-number ID (numeric). Required when whatsappAccessToken is set."
                    },
                    "whatsappTo": {
                        "title": "📲 WhatsApp Recipient",
                        "type": "string",
                        "description": "Recipient phone in E.164 format without + (e.g. \"4531123456\")."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Receives a JSON POST with {metadata, items} after each run. For n8n / Make / Zapier / custom backends."
                    },
                    "webhookHeaders": {
                        "title": "📋 Webhook Headers",
                        "type": "object",
                        "description": "Optional JSON object of custom headers (e.g. {\"Authorization\":\"Bearer ...\"})."
                    },
                    "appConnector": {
                        "title": "Send results to a connected app",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results. Best-effort across MCP connectors as Apify expands its catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team the summary issue is created under, if that app requires one."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
