search mobile facets autocomplete spellcheck crawler rankings weights synonyms analytics engage api customize documentation install setup technology content domains user history info home business cart chart contact email activate analyticsalt analytics autocomplete cart contact content crawling custom documentation domains email engage faceted history info install mobile person querybuilder search setup spellcheck synonyms weights engage_search_term engage_related_content engage_next_results engage_personalized_results engage_recent_results success add arrow-down arrow-left arrow-right arrow-up caret-down caret-left caret-right caret-up check close content conversions-small conversions details edit grid help small-info error live magento minus move photo pin plus preview refresh search settings small-home stat subtract text trash unpin wordpress x alert case_deflection
Swiftype Documentation / api: API Rate Limiting

API Rate Limits

The Swiftype API is rate limited to prevent abuse. Every API request is recorded and if more requests are made during a time period than allowed, requests will be rate limited until the end of the time period. The limits are high enough that typical use should rarely, if ever, be rate limited.

JSONP and rate limiting

Most Swiftype customers use JSONP for autocomplete and search results. Because JSONP requests originate from your users, it is unlikely they will be affected by rate limiting, unless one of your users is abusing the service.

Rate limiting example

Requests that have been rate limited will respond with HTTP 429 Too Many Requests. HTTP 429 is a new (but very useful) status code proposed by RFC 6585.

If the request was for a JSON resource, the response body will be JSON as well.

Example - Rate limited JSON resource
curl -i -XGET ''

Example Response

HTTP/1.1 429
Content-Type: application/json; charset=utf-8
Content-Length: 32

{ "error": "Rate limit exceeded." }

Rate limit mitigation

If your application is being negatively affected by rate limiting, please contact with details and we will help address the issue.