librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

Missing `x-ratelimit-limit` and `x-ratelimit-remaining` headers #3283

Closed chris48s closed 3 months ago

chris48s commented 6 months ago

Libraries.io enforces a 60 requests per minute rate limit: https://libraries.io/api

API requests used to return x-ratelimit-limit and x-ratelimit-remaining headers in the response.

API responses no longer contain these headers. This seems to have changed around the 15th or 16th December.

This makes it very difficult to stay under the rate limit if you have more than one client sharing the same token.

Would it be possible to restore these headers?

Thanks

chris48s commented 6 months ago

Just to add clarification: