Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to do statistics on post from some not-too-popular tags like matlab, using the search method. It appears that it will never return a total larger than 2000. Is this a hard limit that cannot be lifted? Is it possible to get the question count even if it's larger than 2000? If yes, is it possible to get the data for all questions as well?


An example query: Unfortunately it gives an error 500 at this moment, but later you should be able to see that it returns total = 2000, which is only about half the total number number of matlab-tagged questions.

share|improve this question
up vote 2 down vote accepted

Running a /search is quite expensive, so we do cap the returns at 2000. Note that this limit is not contractual, and subject to change (it has been pretty stable for a while, but we're seeing thousands of new posts a day... we may encounter a tipping point in the future).

In this case, if you want all questions tagged matlab this is a better query. If you're not using nottagged or intitle then /search is probably bad fit for you.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .