Skip to content

API Umbrella learns resource usage based rate limiting

Compare
Choose a tag to compare
@phanimahesh phanimahesh released this 18 Jul 09:05

Changelog:

Apinf Oy customized API Umbrella and added the following features on top of 0.14.0 release.

Allow resource usage based rate limiting using custom headers.

API providers may choose to send an additional response header with numeric value >1 to denote the resources used by the request. This can be used to implement an intelligent quota based rate limit. Intended for apis like GraphQL where the same endpoint handles requests with varying complexity. We recommend Request-Cost as the header name. There is no default, and a value must be provided.

Allow rate limiting requests by origin header

Origin headers are automatically sent by browsers. These can be used to limit usage of any single web application for an otherwise open api.