API Limits

OpenAir enforces some limits to control API consumption and manage the demands on OpenAir application and database servers. These limits apply across all API components — SOAP API, XML API, and REST API.

There are two types of usage limits

API Frequency Limit Error

If the number of API requests made in the last 60 seconds or in the last 24 hours reaches the maximum allowed, the API returns an error.

  • The XML API returns the error code 556 to the authentication operation [Auth].

  • The SOAP API returns a 403 Access denied.

  • The REST API returns a 429 Too Many Requests error for any request sent within the 24–hour or 60–second window.

OpenAir sends a warning email when you approach your API frequency limits.

Tip:

To work within your API frequency limits and avoid frequency limit errors, batch operations into each API call and avoid making API calls within a loop. See Optimize the API Integration.

Tracking API Usage Against Frequency Limits

This page shows the API requests limits that are currently set for the account and the number of requests remaining within the current 24-hour period. It is a useful reference to track your usage level when using the SOAP API and XML API. This is for reference purposes only, account administrators cannot change these settings.

To track your API usage against frequency limits, do one of the following:

  • In OpenAir, go to Administration > Global Settings > Account > API Limits. The page shows the API frequency limits for your company's OpenAir account, the thresholds when OpenAir sends a warning email for each frequency limit, and the number of requests remaining within the current 24-hour window. You can use this page to track API usage but you cannot change the frequency limit settings. It is a read-only page for all users.

    API limits page in OpenAIrAdministration module.
  • In OpenAir, review web services logs to identify requests contributing toward any usage limit overages. See Web Services Logs.

  • Use the XML API to read the number of requests remaining within the current 24-hour window. To do so, use the Read XML API command and the RateLimit object.

    Tip:

    Query the remaining number of requests at various points in your integration application to identify where your application is sending the highest volume of requests.

    Follow API Best Practice Guidelines to see how you can improve your application.

If you have any questions about frequency limits, contact OpenAir Customer Support. For assistance with your integration applications and to help reduce the number of API requests in your integration applications, contact OpenAir Professional Services.