The API can be used to serve data to users about the protocol. Due to the blockchain nature, data must first be confirmed and indexed by the API back-end before being available. This can generally take between 100ms - 60 seconds, depending on the time to confirm and process a block.
The API works by indexing data from the Infinity Protocol contracts. It organizes or uses that data to create new data about users, liquidity pairs, tokens, overall platform stats and much more, which is then served via the GraphQL API.