Apify actor for extracting energy community data from E-Control using Austrian postal codes.
- unique_plz_list.txt - Simple text list of 188 unique postal codes (one per line)
- unique_plz.json - JSON format with postal codes array and metadata
- apify_config.js - Configuration module for the Apify agent
- apify_actor.js - Complete Apify actor implementation
- package.json - Node.js package configuration
npm install
npm test # Shows loaded postal codesnpm startnpm run list-plzThe extraction uses 188 unique postal codes from Tyrolean municipalities, including:
- Major cities: Innsbruck (6020), Hall in Tirol (6060), Kufstein (6330)
- KEM regions: Various municipalities belonging to different KEM (Klima- und Energie-Modellregionen)
To use with Apify:
- Create new actor on Apify platform
- Upload the actor code (apify_actor.js)
- Configure input parameters as needed
- Run the actor to extract data for all postal codes
The actor name must follow Apify's naming rules:
- Only letters (a-z), numbers (0-9), and hyphens (-)
- Hyphens can only be in the middle of the string
- The actor is configured as "econtrol-extractor" (not "econtrol_extractor")
The actor accepts these input parameters:
postalCodes: Array of postal codes (defaults to extracted list)baseUrl: E-Control website URLmaxConcurrency: Number of parallel requests (default: 5)
Results are stored in Apify dataset with structure:
{
"plz": "6020",
"url": "https://www.e-control.at/search?plz=6020",
"timestamp": "2024-01-15T10:30:00Z",
"data": {
"energyCommunities": [],
"suppliers": [],
"statistics": {}
},
"success": true
}