IP-API endpoints are now limited to 45 HTTP requests per minute for the normal endpoints, and 15 HTTP requests per minute for the batch endpoint.
If you go over these limits your requests will be throttled (HTTP 429
) until your rate limit window is reset. If you constantly go over the limits your IP address will be permanently banned.
The returned HTTP header X-Rl
contains the number of requests remaining in the current rate limit window. X-Ttl
contains the seconds until the limit is reset.
Your implementation should always check the value of the X-Rl
header, and if its is 0 you MUST NOT send any more requests for the duration of X-Ttl
in seconds.