Authentication
Prezio uses key-based authentication for all API requests:Get Your API Key
Obtain an API key by:
- Registering at dashboard.prezio.eu
- Contacting our support team for sandbox access
API Workflow
Starting point: Before making API calls, you need a specific location (address or coordinates) for the end-user’s price you’re looking for. By providing a precise location, the API will be able to return the correct prices applicable to that specific area.
API Request Flow
Follow this step-by-step process to retrieve accurate pricing data:Find Applicable Organizations
First, determine which organizations (grid operators, retailers, authorities) serve your location:This returns organizations applicable to the address, including their IDs which you’ll need for the next step.
Select the organization IDs you’re interested in (e.g., a specific retailer and the local grid operator).
Example Response
Example Response
Get Applicable Tariffs
Next, retrieve the applicable tariffs for each selected organization:
Select the tariff IDs that match your criteria (e.g., residential customer type, consumption range).
Example Response
Example Response
Understanding Responses
API responses are in JSON format. Here’s a simplified example of a response from the/live/ endpoint:
Response Fields Explained
Response Fields Explained
context: Contains metadata about the response (currency, units, location)results: Array of price intervals, each with:interval_start: The timestamp for this price intervalelements: Individual price componentsinterval_price: Total price for this interval (sum of all elements)
API Environments
Use the same API key for both environments, but call different base URLs:Sandbox
URL:
Purpose: Development and testing with limited data coverageData availability →
https://sandbox.prezio.eu/api/Access: Open to all registered usersPurpose: Development and testing with limited data coverageData availability →
Production
URL:
Purpose: Production applications with complete data coverage
https://api.prezio.eu/api/Access: Requires contract (contact support)Purpose: Production applications with complete data coverage
Production access depends on your contract. Contact support@prezio.eu to enable production access.
Beta Features
For detailed information about beta endpoints, see the API Reference, and don’t hesitate to contact us.Next Steps
API Reference
Browse all available endpoints and parameters
Location Guide
Learn how to specify locations correctly
Tariffs Guide
Understand tariff structures and components

