currencylayer-API icon indicating copy to clipboard operation
currencylayer-API copied to clipboard

[Feature Request] Add header with number of requests left

Open koresar opened this issue 4 years ago • 0 comments

Here are the typical headers returned from the API:

Access-Control-Allow-Methods: GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS
Access-Control-Allow-Origin: *
Content-Type: application/json; Charset=UTF-8
Date: Wed, 14 Aug 2019 01:40:08 GMT
Etag: ed4e69176e1e5e6e50088c16cc4bc398
Last-Modified: Wed, 14 Aug 2019 01:33:05 GMT
Server: nginx
Transfer-Encoding: chunked
X-Apilayer-Transaction-Id: 5601092d-97f7-4b2d-a615-d10da23992da
X-Request-Time: 0.016

Could you please add one more header like X-Request-Quota: 99999 which would indicate the number of requests left till the next (monthly) reset?

This opens up a ton of possibilities like better incident investigation, or monitoring and alerts, etc.

koresar avatar Aug 14 '19 01:08 koresar