API Authentication
Our API does not require any authentication to be used https://apidocs.li.fi/reference/authentication . However, if your application requires higher rate limits you can request an API key via our business partnerships team.
API Rate Limits and CORS Response
Understanding the rate limits and CORS response settings is crucial for seamless integration:
-
Rate Limits: Our API's rate limits are not a recent addition. However, it's essential to note that the CORS response previously allowed all headers before our API authentication implementation.
-
API Key Usage: The API key should only be used from a backend to increase the rate limit for the IP. This way it stays private. In frontend integrations no API key is needed as users request from multiple IPs and don't don't get rate limited.s.
Addressing CORS Errors
To mitigate this issue, please remove the header associated with CORS. This adjustment should resolve the CORS-related challenges you might face.
Additional Resources
For the current rate limits please check this technical article: https://help.li.fi/hc/en-us/articles/12111455848859