API rate limit exceeded for x.x.x.x. #59458
|
How to solve the API rate limit exceeded for x.x.x.x. problem? I'm new to everything about using APIs but I've got a problem. I'm using a facebook scrapper and everytime I run my code that does many requests, it shows me this error:
I do not know where to put the Authentication and I've tried using a line like this one: I'm trying to authenticate it inside my code but I don't know how. |
Replies: 3 comments
|
If you hit a rate limit, you should stop making requests until after the time specified by the x-ratelimit-reset header. Failure to do so may result in a lobger ban for your user. |
|
Hi there According to github documentation located at https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28 If you want to use a token then you can use it as below: This is based on the documentation at https://docs.github.com/en/rest/users/users?apiVersion=2022-11-28 If you are coding in a specific programming language you can use tools such as Insomnia to generate code for a specific programming language. https://insomnia.rest/products/insomnia. |
|
Can anyone please tell me what I am Doing Wrong Here `app.get('/api/data', async (req, res) => { } catch (error) { Unneccessary Error: Bad Request or Wrong Credentials |

Hi there
According to github documentation located at https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28
For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the person making requests.
If you want to use a token then you can use it as below:
curl -L
-H "Accept: application/vnd.github+json"
-H "Authorization: Bearer "
-H "X-GitHub-Api-Version: 2022-11-28"
https://api.github.com/user
This is based on the documentation at https://docs.github.com/en/rest/users/users?apiVersion=2022-11-28
If you are coding in a specific programming language y…