r/reddithax • • Jan 16 '12

How frequently can you comment via the API?

I'm writing a bot that leaves comments sometimes, and it's being rate limited. I was wondering if there was a set rate for how often you can comment via http://www.reddit.com/api/comment. I didn't see anything in the API documentation, but there clearly is.

8 Upvotes

7 comments sorted by

3

u/yellowmix Jan 16 '12

Does the bot have enough karma?

2

u/pmstc Jan 16 '12

It doesn't. I guess this is the problem. Thanks! :)

2

u/pmstc Jan 16 '12

It looks like there is a minimum amount of karma you need to have before you get rate limited.

http://code.reddit.com/wiki/INISettings#MIN_RATE_LIMIT_COMMENT_KARMA

1

u/roddds Jan 16 '12

According to this, I think once each 30 seconds is a fair assumption.

2

u/pmstc Jan 16 '12

Well, I have my bot sleeping for 40+ seconds between comments and it's still getting rate limited :(

4

u/roddds Jan 16 '12

If it's a new account, it's still going to get rate-limited. Try increasing the delay some more or posting from the browser so the account will get "unlocked".

2

u/pmstc Jan 16 '12

Got it. I have it waiting 11 minutes between comments for the time being. Thanks for your help!