You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API only allows single request to https://api.twitter.com/2/users/{id}/tweets or await client.tweets.usersIdTweets({ ... })
Expected behavior
The Rate Limits documentation does not explicitly list the GET_2_users_tweets endpoint rate limits.
But other minimums are about 5 requests per 15 minutes so I assume this should be similar
My developer portal page still says:
Monthly Post cap usage: 34% (34 Posts pulled of 100) Resets on January 23 at 00:00 UTC
I expect to be able to make many more requests to the endpoint before hitting the rate limit.
Actual behavior
1st request: succeeds
2nd request: error 429: Too Many Requests
It is as if the rate limit is only 1 request per 24 hrs
Steps to reproduce the behavior
Get V2 API Access Token
Make request to usersIdTweets()
Other information
My token can still make successful requests to xClient.users.findMyUser despite failing for userIdTweets which is expected since findMyUser has higher rate limit, and also means the token is not the issue.
Where is rate limit documentation for users id tweets endpoint?
Can someone else confirm if this issue exists for them?
The text was updated successfully, but these errors were encountered:
mattmazzola
changed the title
X API v2 incorrectly enforcing rate limits or I am confused by documentation and developer portal
X API v2 usersIdTweets incorrectly enforcing rate limits or I am confused by documentation and developer portal info
Jan 4, 2025
The rate limit does appear to be 1 request per 15 minutes...
Given this is likely a very common endpoint it is understandable that it has lower limit, but is this limit correct?
If so, I think it should be made much clearer in the documentation.
I finally found the documentation in the Developer Portal. 1 Request per 15 minutes is confirmed.
The confusion was the that /users/:id/tweets endpoint is not listed under the Users endpoints section, but under the Tweets section and I missed it. Also, the link to API documentation takes you to generic /2/tweets endpoint which has different rate limits and causes a type circular loop navigation.
API only allows single request to
https://api.twitter.com/2/users/{id}/tweets
orawait client.tweets.usersIdTweets({ ... })
Expected behavior
The Rate Limits documentation does not explicitly list the GET_2_users_tweets endpoint rate limits.
But other minimums are about 5 requests per 15 minutes so I assume this should be similar
My developer portal page still says:
Monthly Post cap usage: 34% (34 Posts pulled of 100) Resets on January 23 at 00:00 UTC
I expect to be able to make many more requests to the endpoint before hitting the rate limit.
Actual behavior
1st request: succeeds
2nd request: error 429: Too Many Requests
It is as if the rate limit is only 1 request per 24 hrs
Steps to reproduce the behavior
Other information
My token can still make successful requests to
xClient.users.findMyUser
despite failing foruserIdTweets
which is expected sincefindMyUser
has higher rate limit, and also means the token is not the issue.Headers
Notice it says:
x-rate-limit-limit: 1
❗Questions
The text was updated successfully, but these errors were encountered: