Skip to main content
`Throttling` (8 Q's) and `rate-limit` (25 Q's) are the same thing. Merging tags.
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoffbackoff. I
I only run the app once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now

Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my app statistics show no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why my app is being throttled?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=$key&filter=$filter
["quota_remaining"] => int(8099)   
["quota_max"]       => int(10000)   
["backoff"]         => int(54)   
["has_more"]        => bool(true)

I'm following the backoff rules and sleeping for backoff + 5 seconds (the + 5 is just to be safe), but it doesn't reduce or change on each and every API query now. It's almost as if I've been tagged as spamming or put on an internal blacklist.

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my app statistics show no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why my app is being throttled?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=$key&filter=$filter
["quota_remaining"] => int(8099)   
["quota_max"]       => int(10000)   
["backoff"]         => int(54)   
["has_more"]        => bool(true)

I'm following the backoff rules and sleeping for backoff + 5 seconds (the + 5 is just to be safe), but it doesn't reduce or change on each and every API query now. It's almost as if I've been tagged as spamming or put on an internal blacklist.

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff.
I only run the app once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff.

Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my app statistics show no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why my app is being throttled?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=$key&filter=$filter
["quota_remaining"] => int(8099)   
["quota_max"]       => int(10000)   
["backoff"]         => int(54)   
["has_more"]        => bool(true)

I'm following the backoff rules and sleeping for backoff + 5 seconds (the + 5 is just to be safe), but it doesn't reduce or change on each and every API query now. It's almost as if I've been tagged as spamming or put on an internal blacklist.

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run my APIthe app once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my APPapp statistics showsshow no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why I ammy app is being throttled on my API?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=".urlencode($key)."&filter=".urlencode($filter);

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=$key&filter=$filter

["quota_remaining"]=> int(8099)
["quota_max"]=> int(10000)
["backoff"]=> int(54)
["has_more"]=> bool(true)

["quota_remaining"] => int(8099)   
["quota_max"]       => int(10000)   
["backoff"]         => int(54)   
["has_more"]        => bool(true)

I'm following the backoff rules and sleeping for backoff + 5 seconds ( backoff + 5the ) seconds. Adding +5+ 5 is just to be safe. But), but it doesn't reduce or change on each and every API query now. Almost It's almost as if I've been tagged as spamming or put on an internal blacklist.

I've been running my API fine for some time now and when I added another function I realized I was being told to backoff. I only run my API once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my APP statistics shows no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why I am being throttled on my API?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=".urlencode($key)."&filter=".urlencode($filter);

["quota_remaining"]=> int(8099)
["quota_max"]=> int(10000)
["backoff"]=> int(54)
["has_more"]=> bool(true)

I'm following the backoff rules and sleeping for ( backoff + 5 ) seconds. Adding +5 just to be safe. But it doesn't reduce or change on each and every API query now. Almost as if I've been tagged as spamming or an internal blacklist.

I've been running my API app fine for some time now and when I added another function I realized I was being told to backoff. I only run the app once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my app statistics show no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why my app is being throttled?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=$key&filter=$filter
["quota_remaining"] => int(8099)   
["quota_max"]       => int(10000)   
["backoff"]         => int(54)   
["has_more"]        => bool(true)

I'm following the backoff rules and sleeping for backoff + 5 seconds (the + 5 is just to be safe), but it doesn't reduce or change on each and every API query now. It's almost as if I've been tagged as spamming or put on an internal blacklist.

I've been running my API fine for some time now and when I added another function I realized I was being told to backoff. I only run my API once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my APP statistics shows no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why I am being throttled on my API?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=".urlencode($key)."&filter=".urlencode($filter);

["quota_remaining"]=> int(8099)
["quota_max"]=> int(10000)
["backoff"]=> int(54)
["has_more"]=> bool(true)

I'm following the backoff rules and sleeping for ( backoff + 5 ) seconds. Adding +5 just to be safe. But it doesn't reduce or change on each and every API query now. Almost as if I've been tagged as spamming or an internal blacklist.

Regards,

Brad

I've been running my API fine for some time now and when I added another function I realized I was being told to backoff. I only run my API once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my APP statistics shows no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why I am being throttled on my API?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=".urlencode($key)."&filter=".urlencode($filter);

["quota_remaining"]=> int(8099)
["quota_max"]=> int(10000)
["backoff"]=> int(54)
["has_more"]=> bool(true)

I'm following the backoff rules and sleeping for ( backoff + 5 ) seconds. Adding +5 just to be safe. But it doesn't reduce or change on each and every API query now. Almost as if I've been tagged as spamming or an internal blacklist.

Regards,

Brad

I've been running my API fine for some time now and when I added another function I realized I was being told to backoff. I only run my API once a night and don't really pull that much data. I have a registered key that I use as well. It returns the proper counts and I was less than 1000 out of 10000 attempts in when it initially told me to backoff. Now, it tells me every single time to backoff for 54 seconds, regardless. I also noticed that my APP statistics shows no data, even though I have confirmed my API key is working appropriately. Not sure if this is related or not.

I guess my question is, how do I find out why I am being throttled on my API?

Below is a sample url request and result:

https://api.stackexchange.com/2.1/questions?order=desc&page=$page&sort=creation&site=stackoverflow&key=".urlencode($key)."&filter=".urlencode($filter);

["quota_remaining"]=> int(8099)
["quota_max"]=> int(10000)
["backoff"]=> int(54)
["has_more"]=> bool(true)

I'm following the backoff rules and sleeping for ( backoff + 5 ) seconds. Adding +5 just to be safe. But it doesn't reduce or change on each and every API query now. Almost as if I've been tagged as spamming or an internal blacklist.

edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
Loading
Source Link
Brad
  • 53
  • 2
Loading