The Ecosystem Platform provides some public APIs. Usage and expectations are detailed below. Narrower requirements and rate limits may apply to more specific APIs.
If these rules change significantly we'll notify the firefox-accounts-notices group. If you're using this API please subscribe to that group.
Mozilla accounts APIs are versioned and breaking changes will be pushed out in newer versions of the APIs. When newer versions of the API are announced we'll also communicate how long we will support the older versions of the APIs.
Mozilla accounts may change existing APIs in non-breaking ways, for example, adding a new field to a JSON response. It's expected that clients will not fail if new fields are added.
Global Rate Limits
During periods of maintenance or heavy load, the server may request that clients enter a "back-off" state, in which they avoid making further requests.
At such times, you may receive a
429 Too Many Requests or a
503 Service Unavailable response with a
Retry-After header denoting the number of seconds to wait before issuing any further requests. It will also include an
errno and a
retryAfter field matching the value of the
Retry-After header in the body.
For example, the following response indicates that the client should suspend making further requests for 30 seconds:
HTTP/1.1 503 Service Unavailable
"error": "Service Unavailable",
"message": "Service unavailable",
"retryAfterLocalized": "in a few seconds"