Use Case · Due Diligence API
Legal Due Diligence API for M&A, KYB and Counterparty Screening
A single manual court search takes a few minutes when it works. Multiply that by every promoter, director, and group entity in an M&A deal, or every business signing up on a lending platform, and manual search stops being an option. This is the problem a legal due diligence API is built to solve: turning litigation and party-level risk checks into something a system can call automatically, at volume, rather than something a person has to do by hand on a court website. This guide explains where that API fits in three different workflows, mergers and acquisitions, KYB onboarding, and counterparty screening, and what to look for before you build on one.
- Manual court search does not scale: M&A, KYB, and counterparty screening all need litigation checks run at volume, which means an API, not a person on a court website.
- The three jobs are different: M&A wants depth across related entities, KYB wants speed inside onboarding, counterparty screening wants ongoing monitoring, not a one-time report.
- Court records and corporate records are two different data sources: litigation history and MCA-style corporate filings rarely come from the same vendor with equal depth.
- Structured, verifiable output matters most: a result your system can parse, with a citable source, is what makes an API usable in a real workflow.
- Plan for ambiguous matches: common names need a human review step, since no matching system is perfect.
01Why due diligence needs to be an API, not a search box
Legal due diligence, done manually, is a person opening a court website, typing in a name, reading through results, and writing down what they find. That works for one company, checked once. It breaks down the moment the job has scale, repetition, or a deadline attached to it.
Manual court searches do not scale
An M&A deal rarely involves just one entity. There is the target company, its subsidiaries, its promoters, and often its key directors, each of whom needs an independent litigation check across the Supreme Court and the relevant High Courts. Done by hand, that is dozens of separate searches per deal, each one dependent on a person typing the name correctly and reading the results carefully. For the programmatic alternative, Claw exposes court data through an API, which is what makes the check callable by a system rather than a person.
Onboarding decisions cannot wait days for a search
A lender, NBFC, or marketplace onboarding a new business does not have days to spare on a manual litigation check. The onboarding decision, or at least the risk flag that routes a file to manual review, needs to happen in the same session as the application. That is only possible if the litigation check is a call an onboarding system makes automatically, not a task a compliance analyst does separately later.
Risk does not stop at onboarding
A counterparty that was clean at onboarding can pick up litigation a year into the relationship. A vendor, franchisee, or borrower needs to be checked again periodically, not just once at the start. A one-time PDF report from a due diligence exercise cannot do this. It needs a system that can be queried again, or that can push an alert when something new appears.
Government court websites are not built for this
eCourts and individual High Court websites are designed for a person to search one case at a time through a browser, with captchas and rate limits that assume human use. They are not a bulk data source, and they are not designed to be called programmatically by a business system. This is the gap a purpose-built API is meant to close.
The question is no longer whether the case exists on a court website. It is whether your system can find it automatically, at the speed and scale your business actually runs at.
02Three jobs that need this data
Legal due diligence API demand mostly comes from three different jobs. They look similar on the surface, litigation checks against a name, but they run on different triggers and need different treatment.
| Job | Trigger | Typical frequency | What matters most |
|---|---|---|---|
| M&A and pre-investment diligence | Deal signing to closing | One deep check, sometimes rechecked before closing | Depth and completeness across every related entity |
| KYB at onboarding | A new business applies to a platform | Once per applicant, at speed | Fast turnaround and a clear pass or flag decision |
| Counterparty and vendor screening | Ongoing relationship with a vendor, borrower, or franchisee | Periodic recheck, or continuous monitoring | Alerts when new litigation appears, not just a point-in-time report |
M&A and pre-investment diligence
Here the API is used to run litigation searches against the target company, its group entities, and its promoters and directors, as part of a wider due diligence exercise. The output usually needs to feed into a due diligence report or a virtual data room review, alongside corporate and contract findings; the IP due diligence checklist for M&A shows where a litigation feed slots into a wider diligence list.
KYB (know your business) at onboarding
Lenders, NBFCs, and marketplaces that onboard businesses need to check whether an applicant, or its promoters, have material pending litigation before approving them. The check has to run inside the onboarding flow itself, automatically, rather than as a separate manual step that slows the applicant down.
Counterparty and vendor screening
Procurement, franchise, and credit risk teams need to periodically recheck the businesses they already deal with, not just screen them once. Vendors can pick up disputes, borrowers can be sued, franchisees can end up in consumer forums, so the screen has to be repeatable rather than a one-time report.
03What the API actually needs to deliver
A litigation data feed that just returns a list of case titles is not enough for any of these three jobs. A legal due diligence API needs to get several things right at once.
- Structured output: results as data your system can parse and route (case number, court, status, parties), not a PDF or a page of unstructured text someone has to read.
- Reliable name matching: Indian names and company names are spelled inconsistently across filings. A search that only matches an exact string will miss real cases. Matching needs to tolerate misspellings and near-variants, sometimes called proximity or phonetic matching.
- Broad court coverage: a check that only covers one court is not a real due diligence check. At minimum, the Supreme Court and the relevant High Courts need to be covered, since a counterparty can be sued anywhere it operates.
- Batch capability: the ability to check many names at once (a portfolio of borrowers, a list of directors) rather than one lookup at a time, since this is where manual search fails hardest.
- Speed: fast enough to sit inside a live onboarding decision, not just a batch job that runs overnight.
- Verifiable citations: a result that cannot be traced back to a real, citable case is not usable in a due diligence report or a regulatory file. The output should point to a verifiable source, not just an AI summary.
- A way to flag ambiguous matches: common names will produce multiple possible matches. The API, or the workflow around it, needs a way to route uncertain matches to a human reviewer rather than silently picking one.
04Court records vs corporate records: two different data sources
A common mistake is treating "due diligence data" as one thing. In practice it comes from two different kinds of sources, and most platforms are strong in one and weak in the other.
Court records cover litigation: pending cases, orders, and judgments against a party, held by the courts and tribunals themselves. This is what tells you whether a company or a person is being sued, or has sued someone else.
Corporate records cover a business's registered filings: incorporation details, directors, shareholding, charges, and financial filings, typically sourced from the Ministry of Corporate Affairs and related registries. This is what tells you who actually owns and controls a company, and whether its assets are encumbered.
A full KYB or M&A check usually needs both, and they rarely come from the same vendor with equal depth. For a closer look at how these two data sources differ and where each one is strongest, see corporate records vs court records for vendor due diligence. Treat court-record coverage and corporate-record coverage as two separate checkboxes when you evaluate a provider, not one.
05How to integrate it into your workflow
The value of an API is in where it sits, not just what it returns. A few integration patterns come up repeatedly.
Inside the onboarding or loan origination flow
For KYB, the litigation check is called as one step in the applicant's onboarding journey, alongside identity and financial checks, so a flag can route the file to manual review before approval rather than after.
Inside the due diligence or data-room review tool
For M&A, the check is usually run in batch against a list of entities and individuals compiled from the deal structure, with results feeding into the due diligence report rather than a standalone document.
As a scheduled or event-driven recheck
For counterparty screening, the pattern is different: a periodic recheck job, or an alert-based approach where the system is notified when something changes for a monitored party, rather than a one-off lookup.
Build a review queue for uncertain matches
Whatever the workflow, plan for the fact that not every match will be clean. A sensible integration routes high-confidence matches automatically and sends ambiguous ones (common names, partial matches) to a human reviewer, rather than treating every API response as a final answer.
06What to check before you commit
Before building a workflow around a legal due diligence API, it is worth checking a few things directly with the provider, since these vary a lot between vendors.
- Court coverage: which courts and tribunals are actually covered, and for what date range.
- Whether it is search-only or also tracks ongoing status: a one-time search is different from a service that can keep monitoring a party over time.
- Data freshness: how often the underlying index is updated.
- Output format: structured, machine-readable results versus a document you still have to read manually.
- Batch support: whether you can submit a list of names in one call, which matters for both M&A and portfolio-wide counterparty screening.
- Pricing model: per-lookup, subscription, or seat-based, and whether it fits how often you actually need to run checks.
07Putting ClawScore behind a due diligence pipeline
Claw is an all-in-one legaltech platform for Indian advocates, law firms, and corporate legal teams, combining AI-based case search, an AI legal assistant (Legal GPT), case management, and compliance automation across all Indian courts and tribunals.
The piece that matters for a data room or an onboarding stack is ClawScore, at clawscore.clawlaw.in, Claw's litigation and criminal-risk intelligence service. Point it at a party and it returns one Excel workbook that a diligence file or a review queue can consume directly: a Summary carrying a risk band of Clean, Low, Moderate or High, a Matters sheet, a Related parties sheet that expands directors and guarantors, and a Coverage sheet showing what was searched. Every finding carries a match confidence, which is exactly the field an automated pipeline uses to pass a clean hit and route an ambiguous one to a human. It scans 9,102 courts, benches and forums. Results come back in under 5 seconds. Judgment search spans 30 crore+ judgments. Supreme Court records go back to 1950. High Court records go back to 1990. Claw never trains on your documents, which is the line to confirm before a deal team or a lender runs its live book through any vendor. For the counterparty-screening job, Constant Monitoring re-watches a loaded book and files New, Changed and Closed reports daily, weekly or monthly, so a party that was clean at onboarding is re-checked rather than frozen in a one-time report. Whether ClawScore is reached through its dashboard or a programmatic call, and the exact endpoints, limits and terms, is worth confirming directly, and a nil workbook means only that nothing surfaced in the covered registries under the names submitted, not a clean bill. A screen is an input, not legal advice.
For the manual version of the same check that a pipeline automates, see a case search across Indian courts.
08Frequently asked questions
What is a legal due diligence API used for?
It is used to run litigation and party-level risk checks programmatically, instead of manually searching court websites one case at a time. Common uses are M&A litigation checks on a target and its promoters, KYB screening of a business at onboarding, and ongoing counterparty or vendor risk monitoring.
How is KYB screening different from M&A due diligence?
KYB (know your business) screening happens once, fast, at the point a business applies to a platform, usually to support an onboarding or credit decision. M&A due diligence is a deeper, one-time exercise across a target company, its subsidiaries, and its promoters, run over days or weeks as part of a transaction. Both can use the same underlying litigation data, but the speed and depth required are different.
Why does counterparty screening need ongoing monitoring, not just a one-time check?
A counterparty that was clean when you onboarded them can pick up litigation later. A one-time due diligence report only reflects that single point in time. Ongoing monitoring, through periodic rechecks or alerts, catches new litigation as it appears, which a point-in-time check cannot do.
What is the difference between court records and corporate records for due diligence?
Court records cover litigation, pending cases, orders, and judgments against a party. Corporate records cover a business's registered filings, such as incorporation details, directors, shareholding, and charges, typically from the Ministry of Corporate Affairs. A full check usually needs both, and they often come from different sources.
Can eCourts or a High Court website be used directly for automated litigation checks?
Not in practice. eCourts and individual High Court websites are built for a person to search one case at a time through a browser, with rate limits and captchas that assume human use. They are not designed as a bulk, programmatic data source, which is why a purpose-built API exists for this.
Does Claw offer an API for litigation and due diligence data?
Yes. Claw offers a live public and partner API for programmatic access to court and litigation data, built on its case search covering 30 crore judgements across the High Courts and the Supreme Court, and its case management coverage of 9,102 courts for ongoing tracking. Specific technical details such as endpoints, rate limits, and pricing should be confirmed directly with Claw.