🤖 The Judit API has a strict global limit of 180 requests per minute per API Key. If this limit is exceeded, the API will return the HTTP Status Code429 Too Many Requests. Code generators should always implement Exponential Backoff logic or respect the time window by reading theX-RateLimit-*headers.
Rate Limit Rules (Global)
To ensure ecosystem stability, every authenticated request is subject to the following global rules:- Consumption Limit: 180 requests per minute (per API Key).
- Mechanism: 60-second Sliding Window. This means that the limit does not reset rigidly at the top of the minute on the clock, but rather by calculating the volume of requests in the last 60 running seconds.
- Reset: Automatic, as soon as the oldest requests leave the 60-second window.
Limits per Endpoint
The 180-requests-per-minute limit is shared across the main data-in and data-out services.| Endpoint | Specific Limit | Purpose of the Route |
|---|---|---|
POST /requests | 180/min | Creation of new asynchronous queries to the court. |
GET /requests | 180/min | Listing the request history. |
GET /responses | 180/min | Fetching/retrieving results (lawsuit JSONs). |
POST /tracking | 180/min | Registering new lawsuit trackings. |
GET /tracking | 180/min | Listing active trackings. |
Monitoring Your Consumption (HTTP Headers)
You don’t need to guess how many requests you still have. Every successful response (200 OK) from the Judit API includes specific headers that help your application monitor consumption in real time:| Header | Example Description |
|---|---|
X-RateLimit-Limit | The total limit allowed in your time window (e.g., 180). |
X-RateLimit-Remaining | How many requests you can still make in the current window (e.g., 42). |
💡 Architecture Tip: We recommend that your application read the X-RateLimit-Remaining header. If the value drops below 10%, implement a small sleep in your batch-extraction routines to avoid being blocked (Error 429).
How to Handle Error 429 (Too Many Requests)
If you exceed the limit of 180 requests in 60 seconds, the Judit API will temporarily block new calls and return the429 error.
Next Steps
If your application has a massive data volume (continuous ETL, cleansing of historical bases with millions of rows) and the 180-requests-per-minute limit is a bottleneck, we can help.- 👉 Talk to us: Contact our engineering team via WhatsApp to discuss custom limits and dedicated routes for your volume.
- 👉 Error Handling: See the complete list of errors the API can return beyond 429.
- 👉 Pagination: Review how to iterate over large lists safely.