Appearance
Rate Limits
Every plan has two limits, counted per account across all of your API keys:
- Requests per minute. The count resets at the start of every minute.
- Requests per month. The quota resets on the 1st of every month at 00:00 UTC.
| Plan | Requests per minute | Requests per month |
|---|---|---|
| Free | 10 | 1,000 |
| Starter | 100 | 50,000 |
| Business | 300 | 150,000 |
See pricing for plan details. Your current usage is on the Usage page of the dashboard.
What counts
- Every authenticated
/api/v1request counts, including ones that return a4xxerror. - Requests that fail on our side with a
5xxerror don't count. - Requests rejected with
401or429don't count. - On the MCP server, only tool calls count. Connecting and listing tools is free.
Headers
Every /api/v1 response includes your current limits:
| Header | Description |
|---|---|
X-RateLimit-Limit | Requests allowed per minute. |
X-RateLimit-Remaining | Requests left in the current minute. |
X-RateLimit-Reset | When the current minute window ends, as a Unix timestamp in seconds. |
X-Quota-Limit | Requests allowed per month. |
X-Quota-Remaining | Requests left this month. |
When you hit a limit
The API responds with 429 Too Many Requests and a Retry-After header with the number of seconds to wait.
type | Meaning |
|---|---|
RATE_LIMITED | Too many requests this minute. Wait Retry-After seconds and retry. |
QUOTA_EXCEEDED | Monthly quota used up. It resets on the 1st, or upgrade your plan. |
json
{
"type": "RATE_LIMITED",
"message": "Rate limit exceeded. Retry in 12 seconds."
}python
import os
import time
import requests
def search(body):
while True:
res = requests.post(
"https://api.tenderapi.eu/api/v1/tenders/search",
headers={"Authorization": f"Bearer {os.environ['TENDERAPI_KEY']}"},
json=body,
)
if res.status_code == 429 and res.json()["type"] == "RATE_LIMITED":
time.sleep(int(res.headers["Retry-After"]))
continue
return rests
async function search(body: unknown): Promise<Response> {
while (true) {
const res = await fetch("https://api.tenderapi.eu/api/v1/tenders/search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.TENDERAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify(body),
});
if (res.status === 429 && (await res.clone().json()).type === "RATE_LIMITED") {
const seconds = Number(res.headers.get("Retry-After"));
await new Promise((resolve) => setTimeout(resolve, seconds * 1000));
continue;
}
return res;
}
}Tips
- Don't retry
QUOTA_EXCEEDEDin a loop. It won't clear until the 1st of next month or an upgrade. - Use larger pages. One request with
limit=100costs the same as one withlimit=10. See Pagination.