Replies: 3 comments 3 replies
-
We are using the original government-managed PACER API to search for a case. From PACER, we receive data including caseNumberFull and caseTitle. When a user selects a case from our PACER search results, we take the caseNumberFull (which seems to correspond to CL docket_number) and caseTitle (which seems to correspond to CL case_name) and input them into a CourtListener search URL. After retrieving the search results from CourtListener, we filter them using timestamps to identify the most recent case returned. We are assuming the most recently updated case is the most accurate result when multiple duplicate results appear. Once we identify the correct case, we extract the docket_id from that result and send it to the CourtListener PACER Data API. We use that to query for dockets, docket entries, and documents. Is this strategy accurate and effective for retrieving case details, or is there a simpler or more efficient way to achieve the same result? |
Beta Was this translation helpful? Give feedback.
-
A couple thoughts. First, you can use the https://www.courtlistener.com/?q=pacer_case_id%3A54011&type=r&order_by=score%20desc&court=alnd That can be made into an API request easily enough: So that's one approach! You can also use our DB-based APIs: https://www.courtlistener.com/api/rest/v4/dockets/?pacer_case_id=54011&court=alnd So that should get you off to the races. But, I have to ask why you're bothering with the PACER search API. We have a few features coming up:
This isn't all set to go yet, but when it does, it might allow you to create an alert for cases of interest, then listen to the webhook to see when there's new stuff. |
Beta Was this translation helpful? Give feedback.
-
Hey @mlissner thanks so much for responding. @mlevy5722 and I are working on this together. We initially used the PACER API because we hadn't come across CourtListener and didn't know its features yet. We have some questions. The most pressing one is: When can we expect the aggressive PACER crawling to start? |
Beta Was this translation helpful? Give feedback.
-
Hey I am working on an application that uses the original government managed PACER API to search for a case. When we get a response we receive:
However the PACER Data API from CourtListener takes a "docket_id" parameter, as in,
curl -v \ --header 'Authorization: Token 1f20378df9a0639d27f4453fe5c61c75dc09b347' \ "https://www.courtlistener.com/api/rest/v3/dockets/4214664/"
How is this docket_id generated? Is it an internal CL sequential identifier or is it produced from the original PACER database somehow? It doesn't seem to be case_id and I can't see what it correlates to.
Would I need to first do a search using PACER's CaseNumberFull to obtain docket_id then use docket_id with the PACER Data API from CL to get more info?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions