-
Hi, I'm getting the following when using the API, what gives?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The most common reason for this is that you're not using the auth token properly. Some of our APIs allow limited free access for testing and experimentation. What often happens is people get their programs working and then the program fails with a 429 error. Check if your program is running properlyYou can check two things when this happens:
Fixing the issueIf you're not authenticated properly, see the authentication docs about how to set things up: https://www.courtlistener.com/api/rest-info/#authentication Usually, you'll want to use the If that still doesn't workIf you've done all of the above and you're still throttled, well, that means you're actually hitting a limit of how much you can use the API. Don't set up more accounts to get around this. We hate that. Instead, send us an email and we'll see what we can do. |
Beta Was this translation helpful? Give feedback.
The most common reason for this is that you're not using the auth token properly. Some of our APIs allow limited free access for testing and experimentation. What often happens is people get their programs working and then the program fails with a 429 error.
Check if your program is running properly
You can check two things when this happens:
Check your profile. At this page, you can see how many API requests you've made on a given day:
https://www.courtlistener.com/profile/api/#usage
If that URL doesn't show much usage, you probably aren't authenticating properly.
Try loading the same URL via your browser when you're logged in. If that works, then your program isn't throttled, your a…