Specifying Location
Country Code (Required)
Country Code (Required)
The country code is the primary market identifier and is required for all requests, unless using location_id.It corresponds to the country code used in the ISO 3166-1 alpha-2 standard.To get the most up-to-date list of supported countries:
Address (Optional)
Address (Optional)
Prezio automatically geocodes addresses to coordinates using Mapbox or OpenStreetMap services.
Geocoding Process
- The API converts your address to coordinates using our geocoder service
- Validates that the geocoded location is within the specified country
- Uses the resulting coordinates to determine applicable tariffs
- Includes a confidence score in the response (higher is better)
Coordinates (Recommended)
Coordinates (Recommended)
For precise location targeting, provide direct geographic coordinates.Both latitude and longitude must be provided together in decimal degrees (WGS84 coordinate system).
Location Data in Responses
API responses include the location data used for the request, allowing you to verify correct interpretation:
input_address: The address you provided (if applicable)coordinates: The exact coordinates used to determine pricingconfidence: Geocoding confidence score (0-1, with 1 being highest)
How Location Affects Pricing
Grid Operator
Your location determines which DSO (Distribution System Operator) serves your area, affecting grid costs.
Regional Tariffs
Organizations may have different tariffs for different geographic regions within the same country.
Local Taxes
Some electricity taxes and fees vary by municipality or region.
Location Best Practices
Use Exact Locations
Provide the exact address where electricity is consumed, not approximate locations, to ensure correct tariff assignment.
Handle Geocoding Errors
Implement error handling for cases where addresses cannot be geocoded or return low confidence scores.
Verify Country Codes
Double-check that you’re using the correct country code for your location to avoid empty results.
Check Data Availability
Not all locations have data in the sandbox environment. Review our data availability guide for testing.
For most reliable results in production applications, we recommend caching the mapping between addresses and DSO service areas after initial lookups.

