CasePrimus.aiby Attestr
Documentation menu
Documentation

CasePrimus.ai API documentation

Five APIs for watching, looking up and searching litigation across India, so your own systems can use the same data as the CasePrimus.ai dashboard. Pick an API to see what it does, who it is for, and exactly how to call it.

The APIs

Quickstart

From nothing to your first watched party in three steps.

  1. 1. Create an API key

    Open the Developer console in your dashboard and create a key. Copy the secret when it is shown; it is shown once. See Authentication.

  2. 2. Add a party to watch

    From this moment CasePrimus.ai looks for court cases against it across India, and if you chose to monitor it, keeps checking every day. See the Parties Watchlist API.

    Add a party
    BASE="https://api.caseprimus.ai/api/caseprimus/v1"
    
    curl -X POST "$BASE/parties" \
      -H "X-CasePrimus-Api-Key: $CASEPRIMUS_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Acme Logistics Private Limited",
        "entityType": "BUSINESS",
        "entityCategories": [
          "vendor",
          "borrower.unsecured"
        ],
        "mode": "MONITOR",
        "identifiers": [
          {
            "type": "CIN",
            "value": "U63090MH2015PTC123456"
          },
          {
            "type": "GSTIN",
            "value": "27AABCA1234D1ZV"
          }
        ],
        "addresses": [
          {
            "label": "Registered office",
            "line": "14 Marine Lines",
            "city": "Mumbai",
            "state": "Maharashtra",
            "pincode": "400020"
          }
        ],
        "nameVariations": [
          "Acme Logistics Pvt Ltd"
        ],
        "autoNameVariations": true,
        "tag": "VEND-001",
        "labels": [
          "tier-1"
        ]
      }'
  3. 3. Get alerts where you work

    Create a webhook in the Developer console and choose from 15 events. New cases, hearing changes and risk-level moves then arrive at your endpoint as signed JSON. See Webhooks.

All requests go to https://api.caseprimus.ai/api/caseprimus/v1.

Before you start

Frequently asked questions

What APIs does CasePrimus.ai offer?

Five: the Parties Watchlist API, to watch the companies and people you deal with, once or continuously; the Case Monitoring API, to follow individual court cases and read every order; the Live Case Lookup API, to look up any case by CNR or case number, download its orders and get an AI summary; the Historical Cases Search API, to search the court cases a company has been named in; and the Acts and Sections API, to look up what an Indian statutory provision says and how serious it is. Requests and responses are JSON.

How do I authenticate?

Create an API key in the Developer console of your CasePrimus.ai dashboard and send it in the X-CasePrimus-Api-Key header. Requests can optionally be signed and encrypted for extra protection.

Can I get notified instead of polling the API?

Yes. Webhooks push events such as new cases, hearing changes and risk-level moves to an HTTPS endpoint you control, signed so you can verify them.

Is there a rate limit?

By default 300 requests per minute per account, counted across all your keys, unless your plan says otherwise. Calls that fetch live court data count as 10, and bulk imports as 50.

Need API access?

Bring a few of the Indian customers, vendors or partners you work with. We'll set you up with a key and show you what monitoring surfaces in your first week.

Request a Demo

Last updated 14 November 2026