API Web Services for the Future of Market Communication
The role of APIs in the MaCo
In the energy industry, the term API is ubiquitous and is becoming mandatory for the transmission of market location. APIs are seen as a key technology for the market communication in order to optimize the exchange between market participants and to improve the EDIFACT standard. But what exactly is an API and how does it work?
Future Technology API
In the energy industry, there is no appointment or product presentation that can do without the term API. In market communication, the API web service is used from 06.06.2025 for, among other things, the process for determining the MaLo ID of the market location is mandatory. The aim of this process is to provide the energy supplier with the necessary information for a delivery from the grid operator. Other market communication processes should follow this example.
The requirement is that API will increasingly replace EDIFACT. Until the introduction of the MaBiS hub is the express wish of the BDEW and the BNetzA to use API technology for communication between the market roles, metering point operator (MSB), supplier (LF) and network operator (NB). It is precisely from this point of view that it is crucial for success to convey the same basic understanding of this future technology API to all market participants.
So the First Question to Answer Is, What Is an API?
An API (Application Programming interface) - or programming interface - is a collection of rules and protocols that enable software applications to interact with each other and exchange data, functions and functionalities.
APIs consist of various definitions and protocols that are used to develop and integrate application software. They serve as an interface that enables independent applications to communicate with each other and exchange information. API is therefore an interface technology that can be used to establish synchronous communication with defined start and end points.
How Does an API Work?
The API communication works like a dialog between a client and a server. The client sends a structured request and the server responds with an equally structured answer. The API acts as an intermediary that enables interaction between the two. This dialogue must be standardized so that it is used in the same way by all participants.
What API Guideline Is There?
The API guideline can be understood as the ultimate set of rules. The EDI@Energy API guideline for web APIs is like a set of golden design principles that ensure everyone has the best experience with web-based APIs. These guidelines create an API landscape that is so consistent and intuitive that both providers and users of web APIs can master it in no time.
In general, APIs and the associated guidelines help to ensure consistent and efficient use of APIs within the company and facilitate collaboration between different teams. Classic examples of companies that use their own APIs are Adidas, Zalando, Google or Otto.
But What Does the API Guideline Say?
In the world of API guidelines, there are some important rules to ensure that everything runs smoothly. These rules concern consistency, versioning, data types and JSON standardization, the components of each API web service, HTTP status codes, response codes, objects and the notification of changes. Some of these specifications are, for example:
Change management
Versioning is about ensuring that only compatible changes are made. This means that no new mandatory fields can be introduced that could damage the overall construct. Bug fixes are permitted, but only if they make the construct more stable. For example, the introduction of a new mandatory field is not permitted.
Consultation documents
Changes will be published in an official communication from the BNetzA's Ruling Chambers 6 and 7. This notice sets out the new rules and when they will apply.
Downward compatibility
A change is compatible if established API versions can still be used. One example is the addition of an optional parameter. The API provider must ensure that everything works smoothly, even if previous versions do not use this parameter. In contrast, upward compatibility is not supported.
Data types and JSON standardization
These are clearly defined to ensure that all data is in the same format. It's like a standardized language that everyone understands.
Components of an API web service
Important fields such as "TransactionID" and "creationTime" are mandatory to ensure idempotency. This means that if an operation is executed several times, it always delivers the same result and does not change the state of the system. It is like a trick that always works the same, no matter how often it is performed.
What Does API Communication Look Like in the End?
The authentication authority in the form of a SubCA and the directory service is crucial for communication. The role of the directory service is performed by decentralized providers.
Pre-condition
Market participant A (e.g. NB) requests its own EMT.API certificate via CSR from a SubCA.
The SubCA transmits the issued EMT.API certificate to market participant A (NB) and stores it in its LDAP directory.
The market partner (LF) stores its API endpoints for market communication in its API directory service.
If the LF does not yet have an EMT.API certificate of market participant A (NB), it queries this via the LDAP directory of the SubCA.
The LF sends a request for the EMT.API certificate of a market partner ID to the SubCA via the LDAP directory
The SubCA uses the market partner ID to determine the associated EMT.API certificate triple to the LF
Start the process of determining the MaLo ID
The LF reads the URL to the API directory service of the NB from the EMT.API certificate
The API endpoint is queried from the directory service for the market process
Now the LF is able to communicate with the NB via API web service
The communication only works if both (LF & NB) have SM-PKI certificates.

What Are the Special Features of EMT.API Certificates and the Associated Directory Service?
Flexible directory service
The EMT.API certificate contains the address of a directory service of choice.
Central endpoint management
All endpoints (URLs) of a market partner's APIs are stored in the directory service so that there is always a complete overview.
Simple changes
The endpoints can be changed as often as required, which makes switching to a new service provider child's play.
Automatic notifications
market partners are informed via a WebSocket API is automatically informed about changes in the directory service - of course only if it uses the WebSocket API as well.
Multiple end points
A market partner can offer different endpoints if the corresponding API identifier allows this.
Easier EDIFACT conversion
Application cases in EDIFACT can now be transferred to APIs more easily, as the PARTIN no longer needs to be exchanged.
Future-Proof Data Exchange in Market Communication
The introduction and use of APIs in the energy industry represents a decisive step towards efficient market communication. Standardization and clear guidelines, as set out in the EDI@Energy API guideline, the exchange between market participants is considerably simplified. However, the successful implementation of API web services requires not only a deep understanding of the technology, but also the right expertise and experience. With a competent IT partner like Arvato Systems, companies in the energy industry can overcome the challenges of API integration. Arvato Systems offers customized solutions and comprehensive support to ensure that your IT strategy is not only implemented efficiently, but is also future-proof. Together, we are shaping the digital transformation of the energy industry and enabling smooth data exchange for all market participants.
Frequently Asked Questions
-
What is API?
An API (>Application> >Programming> interface) is an interface that enables different software applications to communicate with each other. APIs define methods and data formats that applications can use to exchange data and use functions.
-
What is behind the EDI@Energy API guideline?
The EDI@Energy API-Guideline is a standard developed by the German energy industry to standardize electronic data interchange (EDI). This guideline ensures that all market participants use the same protocols and data formats to ensure smooth communication and integration.
-
How does the API web service for the process of determining the MaLo ID of the market location work?
The API web service for determining the MaLo-ID (market location ID) enables market participants to retrieve the unique identification number of a market location. This is done by sending a request to the web service, which searches the relevant databases and returns the MaLo ID is returned.
-
What does the directory service & EMT.API certificates mean?
The directory service serves as a decentralized registry that contains information about market participants and their certificates. EMT.API certificates are digital certificates that confirm the identity and authorization of a market participant. These certificates are necessary to ensure that only authorized parties can access certain data and services.