Clarification on new invalid-GET-params warnings, canonical court slugs, and v4 behavior (observed in our integration) #6876
Replies: 1 comment
-
That's weird. Don't use the v3 because it will cut you off fairly soon. It only checks 1/1000 requests for performance, but once you're blocked, you're blocked. For v4 and 403's, it's helpful to have some queries to debug.
If you have URLs, we can sort out what's up.
This is the best way to do it: Using the court ID.
Yes: https://www.courtlistener.com/help/api/jurisdictions/ This is listed on the main API page under "Available Jurisdictions". Where were you looking for it? Perhaps it needs to be listed in more places.
Depends what you're doing, but the search engine is a decent way to do it. I'd also highly recommend you look at webhooks if you're thinking about keeping up with a certain query, so you don't have to poll all the time.
Well, if you're not getting the emails each day, you're good?
Curl is usually good, thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi CourtListener team, We’ve started updating our integration and have a few specific questions to make sure we adapt correctly.
What we observed
qto/courts/and/opinions/, and to prefer the v4 endpoints when our token is present.full_name__icontainsqueries returned 0 results (e.g., "Supreme Court of Texas"), whileslug__icontainsor/search/?q=court:"..."succeeds.cluster__docket__court=<slug>to filter opinions and that works on v4 when we use a slug (e.g.,ca3returned 20+ opinions).Sanitized examples (no tokens included)
Questions
ca3for Third Circuit,texcrimappfor Texas CCA, but not a stable slug for all district groups.)courts/?slug__icontains=...→ (B)/opinions/?cluster__docket__court=<slug>→ (C) fallback to/search/?q=court:"..."&type=o? Any other recommended parameters?Attachments included:
validation_report.json(summary of per-court validation samples)incremental_summary.json(current ok/partial/failed statuses)found_summary.json(terms that produced results via free-text search)districts_summary.json(district group query summary)sanitized_logs.txt(small log excerpt with tokens redacted)Offer to help
districts_summary.json
found_summary.json
incremental_summary.json
sanitized_logs.txt
validation_report.json
Beta Was this translation helpful? Give feedback.
All reactions