Skip to main content
Public beta. Before starting, confirm with Judit’s commercial team that your API key has miner_enabled granted — without that flag, every call returns 403.
This is the minimum recipe to go from zero to your first batch of lawsuits. By the end you will have: counted how many lawsuits match your filters, spent credits on a real query, waited for processing, and paginated the results.

Prerequisites

  1. Judit API key with miner_enabled: true (ask the commercial team).
  2. Credit balance sufficient — check it on the dashboard.
  3. An HTTP client (cURL, Postman or your language of choice).

Step 1: List available courts

Before filtering, you need the Miner-internal court IDs. They are not the acronyms: every court has its own numeric identifier in Miner.
Snippet of the response:
Note the IDs of the courts you want to cover. Full list at Supported courts.

Step 2: Count without spending credits (/requests/count)

The /requests/count route is free — use it to find out the volume before purchasing the query.
Response:

Step 3: Create the find (charges credits)

Once total_lawsuits makes sense for your case, trigger the real query with /requests/create. This is when credits are debited.
💡 responses_limit is an optional cap on the number of materialized lawsuits in this query. If omitted, returns everything that matches. Use it to control cost when count returns a large volume.
Response (201 Created):
If the response is 403 with code INSUFFICIENT_CREDITS or MISSING_CONFIGURATIONS, your account lacks balance or plan. See Common errors.

Step 4: Poll until done

Processing is async. Use GET /requests/{request_id} to track:
Response while processing:
Repeat every 30 s until status becomes completed. Typical time: 2–10 minutes for up to 1000 lawsuits.
Python (poll example)

Step 5: Paginate the returned lawsuits

With status: completed, fetch the lawsuits via /responses:
Response:
Iterate over page=2..20 until total_pages is exhausted. Each item follows LawsuitRepositoryOutput — lawsuit cover + parties, lawyers, steps and metadata.

Common errors

Next steps

Full concepts

All valid combinations of kind, natures, tags, amount_tier.

Credits & billing

How cost is computed and how to handle billing errors.

API Reference

Interactive spec with every endpoint and schema.

Court list

IDs and acronyms for the 60+ supported courts.