Skip to content

How do you work with nature of suit? #3125

Answered by mlissner
mlissner asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, um, Mike! The Nature of Suit code can be queried in two ways. First, via search. To identify a query using search, start on the front end, with a query like:

https://www.courtlistener.com/?type=r&q=&type=r&order_by=score%20desc&nature_of_suit=120

That'll give you all the items with NoS of "120", but note that these are not normalized and sometimes courts just give the NoS as a string, so you'd want to be a bit more clever with something like 120 OR Marine OR...

But the next step I'd take is to convert that to an API request by tweaking the URL:

https://www.courtlistener.com/api/rest/v3/search/?type=r&q=&type=r&order_by=score%20desc&nature_of_suit=120

Now you get back JSON.

Great!

Now,…

Replies: 1 comment 2 replies

Comment options

mlissner
Sep 8, 2023
Maintainer Author

You must be logged in to vote
2 replies
@Eran-T
Comment options

@mlissner
Comment options

mlissner Oct 18, 2023
Maintainer Author

Answer selected by mlissner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants