The FlatPeak API is organised around a set of core objects. The diagram below shows how these objects relate to each other, along with their key attributes and methods. Click any object to view its corresponding API reference. A summary of each object and its key properties is provided below:
ObjectDescriptionKey properties
CustomerA user in your system.Your user reference
LocationA physical address (supply address) where electricity is delivered under a contract with an energy provider — e.g. flat, house, office, or factory.Postal address, linked Tariff(s), energy consumption and/or export history
Tariff(Element)A cost component of electricity supply at a Location, based on one or more contracts — e.g. energy usage rates or network charges. TariffElement objects are typically created automatically via the Connect flow and kept up to date by FlatPeak in the background, usually refreshed once per day.Price (e.g. energy cost) schedule
DeviceA physical device (e.g. EV, charger, battery, HVAC). Devices are not directly linked to Locations, but an internal association is created when you submit meter readings, as these are always contextual to the device’s current location.Your device reference, energy consumption and/or export history
ProviderIdentifies the energy provider for a Tariff Element, allowing you to track which organisation supplies electricity to your users.Name, served area
See the FAQ to learn more about energy markets and FlatPeak service concents.