Tiered Allowance and Rate Limits
At a glance
- Tiered allowance: the number of requests your company can make to a module in one allowance period, usually one year.
- Rate limit: the number of requests your company can make to a group of endpoints in one minute.
- Shared: all API tokens of your company share the same allowance and rate limits.
- Check your usage: the Dashboard tab of the Platform API page, or GET Quota.
This page explains how many requests you can send to the Platform API, which requests count, and what happens when you reach a limit. It is for developers who build and run an integration with BOMcheck.
Tiered Allowance
Your contract sets a tiered allowance for each module you use. The tiers are:
| Tier | Supplier Declarations | Supplier Requests | Download Declarations |
|---|---|---|---|
| Small | Up to 1,000 a year | Not included | Up to 100,000 a year |
| Medium | Up to 10,000 a year | Up to 10,000 a year | Up to 1,000,000 a year |
| Enterprise | Set in your contract | Set in your contract | Set in your contract |
To change your tier, contact Sales.
The Dashboard tab names the modules as Submit/Declare (Supplier Declarations), Submit/Request (Supplier Requests) and Download (Download Declarations).
Which Requests Count
Each request counts once, when BOMcheck accepts it:
| Request | Counts towards |
|---|---|
| A successful download | Download Declarations |
| A declaration that passes the first validation step | Supplier Declarations |
| A supplier request that passes the first validation step | Supplier Requests |
A submission status check (GET /submissions/{submissionNumber}), for requests and declarations | Supplier Requests |
These requests do not count:
- Requests that fail validation (
422 Unprocessable Entity). - Downloads that find no declarations (
404 Not Found) or fail on the server (500 Server Error). - Integration Data and the meta endpoints GET Ping and GET Quota.
Allowance Period
Your allowance period usually starts when Sphera sets up your allowance and lasts one year. Your contract can set a different end date. GET Quota returns the end date in valid_until.
When you have used your allowance, requests to the module return 429 Too Many Requests. When the period has ended, BOMcheck sets the allowance to 0. Requests then return 429 Too Many Requests or 403 Forbidden until your allowance is renewed. To renew it, contact Sales.
Rate Limits
Rate limits protect the service for all customers. They apply per company and per minute:
| Endpoints | Requests per minute |
|---|---|
Supplier Declarations (POST /submissions/xml) | 60 |
Supplier Requests (POST /submissions/xml, POST /submissions/request, GET /submissions/{submissionNumber}) | 60 |
Download Declarations (GET and POST /download) | 120 |
| Integration Data and meta endpoints | 600 |
A request over the rate limit returns 429 Too Many Requests. Wait for the next minute, then try again.
Rate Limit Headers
Most responses include these headers:
X-RateLimit-Limit: 120
X-RateLimit-Remaining: 117A 429 Too Many Requests response for a rate limit also includes:
Retry-After: 42
X-RateLimit-Reset: 1764763200Retry-Afteris the number of seconds to wait.X-RateLimit-Resetis the time the limit resets, as a Unix timestamp.
POST /submissions/xml and POST /submissions/request do not send rate limit headers.
Check Your Usage
To see your usage in BOMcheck:
- Sign in to the Production Site or the Demo Site.
- On the BOMcheck Quick Start page, in the Platform API card, select API Dashboard. The Dashboard tab shows the usage of each module.
To check your usage from your integration, call GET Quota. It does not count towards your tiered allowance.
Next Steps
- For all status codes, see HTTP Responses.
- To create a token and make a first request, see Getting Started.