How to configure the Rate Limit interceptor?

This interceptor can only be inserted into the request flow. The Flows section can be configured when creating or editing an API or Plan:

1. In the API

  1. Go to API Design > API Catalog and find your API.

  2. In the Flows section, click on Edit.

  3. Click and drag the Rate Limit interceptor into the flow. Doing this will open a window with configuration properties.

  4. Choose the configuration type between Total Calls and IP.

    • Selecting Total Calls limits requests by the number of calls, regardless of the source.

    • Selecting IP limits requests by IP. This means each IP will be able to access the configured number of times.

  5. Enter the maximum number of calls in the Calls field.

  6. In Interval, select the time period for limiting calls between Second, Minute, Hour, Day or Month;

  7. If you want to add a percentage of calls above the allowed limit, check the Soft Limit option and enter the value in the percentage symbol field.

  8. If you want to add a parameter to receive the remaining request quantity in the response header, check the Return quota header option.

  9. Click Save to keep the changes.

You can follow the steps in this video:

2. In the Plan

  1. Go to API Design > Plans and find your plan.

  2. Click on Edit;

  3. In the Flows section, click and drag the Rate Limit interceptor into the flow. Doing this will open a window with configuration properties.

  4. Choose the configuration type between Total Calls and IP.

    • Selecting Total Calls limits requests by the number of calls, regardless of the source.

    • Selecting IP limits requests by IP. This means each IP will be able to access the configured number of times.

  5. Enter the maximum number of calls in the Calls field.

  6. In Interval, select the time period for limiting calls between Second, Minute, Hour, Day or Month;

  7. If you want to add a percentage of calls above the allowed limit, check the Soft Limit option and enter the value in the percentage symbol field.

  8. If you want to add a parameter to receive the remaining request quantity in the response header, check the Return quota header option.

  9. Click Save to keep the changes.

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]