# 5.2.4. API Response Normalization

Each cryptocurrency exchange employs its own format and schema for the data that is sent from its API. These so-called API responses are then transformed into internal, standardized data structures, in a process that we call normalization.&#x20;

Normalization is an integral part of our system, as the algorithm needs meaningful, uniform data in order to operate properly. Unfortunately, the reliability of the exchange APIs is questionable. It can and probably will happen that one of their APIs will be facing a downtime for a certain period. Another problem that might occur - and one that is even harder to recognize - is that the data itself is erroneous, or something in the response structure was changed without warning.&#x20;

To avoid any follow-up mistakes on our side, which could be caused by such errors on the side of exchange APIs, we implemented a sophisticated suite of tests. Only API responses which pass these tests are considered successfully normalized. If normalization fails, the according data will not be further processed.&#x20;

This is also to ensure that a malicious actor who manages to take control over an exchange API cannot manipulate our system.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.futuregold.us/ai-arbitrage-trade-system/5.-technical-details/5.2.-apis-of-cryptocurrency-exchanges/5.2.4.-api-response-normalization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
