Ecourts Case Scraper
by codingfrontend
Automate data extraction from India's eCourts.gov.in portal. This scraper collects case details, statuses, and hearing dates for legal research and tracking.
Opens on Apify.com
About Ecourts Case Scraper
Need to pull case data from India's eCourts portal? I've been there. Manually checking eCourts.gov.in for case statuses, hearing dates, or party details is a slow, tedious process. This actor automates that for you. It's built to reliably scrape public case information directly from the district and taluka court websites under the eCourts system. You configure it with your search criteria—like case number, party name, or advocate details—and it handles the rest, navigating the portal and extracting the structured data. I use it to gather data for legal research, track case progress for clients, or compile datasets for analysis. It saves hours of manual work and helps you stay on top of filings without constantly refreshing the site yourself. Just input your parameters, run it, and get a clean dataset (like JSON or CSV) with the details you need. It's a straightforward solution for a specific, common headache for legal professionals, researchers, and developers in India.
What does this actor do?
Ecourts Case Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Ecourts Case Scraper
An Apify Actor that automates the extraction of court case details from the eCourts.gov.in portal. It uses Playwright for browser automation and Tesseract.js OCR to handle captchas, returning structured JSON data for each case.
Overview
This scraper navigates the Indian eCourts portal to collect comprehensive case information. You provide an array of Case Number (CNR) strings, and the actor handles login, captcha solving, and data parsing to return a detailed breakdown for each case.
Key Features
- OCR Captcha Solving: Integrates Tesseract.js to automatically read and solve captcha images required for portal access.
- Comprehensive Data Extraction: Scrapes all available case information, including basic details, status, parties, legal acts, FIR details, and full history.
- Robust Error Handling: Implements automatic retry logic for failed captcha attempts to improve reliability.
- Structured Output: Returns well-formatted JSON with consistent data types for easy integration.
- Headless Browser Automation: Uses Playwright with Chromium in headless mode for efficient, server-friendly operation.
How to Use
Configure the actor run with a JSON input object containing the cases you want to scrape.
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
caseNos |
Array | Yes | ["KARC010037582023", "KABC010006152020"] |
An array of CNR (Case Number) strings to scrape. |
maxCaptchaRetries |
Integer | No | 5 |
Maximum attempts to solve a captcha (range 1-10). |
Input Example
{
"caseNos": ["KARC010037582023", "KABC010006152020"],
"maxCaptchaRetries": 5
}
Input/Output
Output Schema
The actor outputs a JSON object for each case with the following structure:
| Field | Type | Description |
|---|---|---|
case_no |
String | The CNR that was scraped. |
success |
Boolean | Indicates if the scraping was successful. |
basic_details |
Object | Core case info (type, filing number, dates). |
case_status |
Object | Current status, next hearing date, stage, and judge. |
petitioner_advocate |
Array | List of petitioners and their advocates. |
respondent_advocate |
Array | List of respondents/accused persons. |
acts |
Array | Applicable legal acts and sections. |
fir_details |
Object | FIR number, police station, and year. |
case_history |
Array | Chronological list of all hearings and proceedings. |
interim_orders |
Array | Any interim court orders. |
final_orders |
Array | Final judgments or orders. |
Output Examples
Basic Details:
"basic_details": {
"Case Type": "SPL.C - SPECIAL CASES",
"Filing Number": "849/2023",
"Filing Date": "05-10-2023",
"Registration Number": "778/2023",
"Registration Date:": "06-10-2023"
}
Acts:
"acts": [
{
"act": "INDIAN PENAL CODE",
"section": "467, 468, 471, 420, R/W"
}
]
Case History Entry:
{
"business_on_date": "06-10-2023",
"hearing_date": "18-01-2024",
"purpose": "APPEARANCE OF ACCUSSED",
"judge": "ADDL DISTRICT AND SESSIONS JUDGE"
}
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Ecourts Case Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- codingfrontend
- Pricing
- Paid
- Total Runs
- 75
- Active Users
- 14
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support