Skip to the main content

County court records scraping: how it works, and what gets in the way

County court records scraping means software uses a court site to find and save case records. It searches a name or case number, opens the case, downloads the document, and reads the fields you need. Before you start, check the site's terms and look for bulk data. Site blocks, scans, and redesigns are the hard parts.

By Rayhan AhmedUpdated 4 min read

What is court records scraping?

It is software that collects records from pages made for people. It is different from bulk data or an API, where the court hands over the records in a set form.

Use the court's own data if it has what you need. If you have not picked a way yet, start here:

How to automate county court lookups when the site has no API

What should you check before scraping a court site?

Check the terms, the court's own data, and how you plan to use the records. Do this for each site.

  • The terms. Some sites limit automated use.
  • Bulk data or an API. Ask the clerk if you cannot find it.
  • Permission. Asking the court can help. A Georgetown team spoke with the court in Franklin County, Ohio, before it scraped the court's site. It tells others to reuse its code if they have a court's permission.
  • The pace. Keep it close to what a person would do.
  • Your use. Rules differ by state and record type. Ask your own lawyer.

Georgetown Justice Lab: data and code

This is not legal advice.

How does a court scraper work?

A court scraper does the same steps a person does, then checks what it got.

  1. Search

    It types in a name, a case number, or dates.

  2. Match the case

    It compares the results with what you know. A weak match goes to a person.

  3. Open the case

    It reads the case page and finds the right document.

  4. Download

    It saves the document with the case.

  5. Read

    A scan goes through text reading (OCR) first. Then the fields are pulled out.

  6. Save

    Every record goes into one format.

  7. Check

    Missing or unsure fields are set aside.

How to pull names and addresses out of scanned court PDFs

What gets in the way?

Court sites are built for people, so the trouble is often in the site and not in the data. Here is what to look for.

What gets in the way of a court scraper, and what to do
ProblemWhat happensWhat to do
A CAPTCHAThe site checks that a person is thereRead the terms, and ask the court what it allows
Blocked serversThe site turns away traffic from a scraping serviceSame, before you go further
A loginRecords need an accountRead the account rules first
Search limitsResults stop at a set countUse smaller searches
SessionsThe page times out partwayStart that record again
ScansThere is no text to copyRead it with OCR, and flag unclear pages
A redesignButtons and pages moveFix that county's scraper

On the county job I run, I have met two of these: a Cloudflare Turnstile CAPTCHA, and a site that blocked the servers of the scraping service.

Some records are not online at all. Nieman Lab reports that some courts still have records that are not digitized. Software cannot scrape those.

Nieman Lab: why criminal courts are hard to get data from

Should you use a ready-made scraper or a custom one?

Use a ready-made scraper if it covers your court and gives you the fields you need. Build when it does not, or when one record takes two sites.

Open source code is another start. A Python tool called court-scraper can search by case number, and by date on some sites. Its docs say it gives you raw files, so you still pull out the fields. The newest release on its package page is from December 2022.

court-scraper: how to use it

court-scraper: releases

Public-record lead data: buy it, scrape it, hire for it, or build it?

How do you keep a court scraper running?

Plan for failure from the first day. The county court job I run for a lead company covers Seminole and Broward in Florida and Tarrant in Texas. The three counties come to about 250 to 300 records a day.

  • Each county has its own scraper. A change on one site does not stop the others.
  • One bad record never stops the run. It is set aside.
  • No guessing. If the court record or address cannot be found, it goes in its own list.
  • An email goes out at once when a step breaks.
  • A person checks every record before it goes out.

How to keep a human in the loop when you automate records work

Who can build a court records scraper?

Your own developer can, or a vendor, or a builder you hire. Quit Clicking builds them one county at a time, in your own accounts. The free Check tells you which of your courts can be done.

Read next

Questions about court records scraping

Have one that is not here? Write to me.

rayhan@quitclicking.com
Is it legal to scrape county court records?

It depends on the site's terms, your state, the record type, and your use. I am not a lawyer, so ask yours.

Can a scraper get past a CAPTCHA?

Do not plan on it. Read the court's terms, and ask the court for data or access first.

Can one scraper cover every county?

Usually not. Sites differ, so each county on the job I run has its own scraper.

Can a scraper read scanned court PDFs?

Not alone. It needs OCR to read the scan, and a person to check unclear pages.

How often will it break?

There is no set number. It depends on how often the court changes its site.

Name one job your team still does by hand

You get a reply within 2 business days: can it be automated, how, and about what it would cost. It is free, and you owe nothing.

The Check is a written answer. No build, no full audit.