Questions tagged [paging]

For questions related to the use of paging (returning a limited number of results, and using a page parameter to get the next batch) in the Stack Exchange API.

Filter by
Sorted by
Tagged with
2 votes
1 answer
266 views

How can I retrieve more than 25 pages from the Stack Exchange API v2.3?

I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100). The ...
Halfbloodprincess's user avatar
7 votes
2 answers
491 views

After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails

I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
guido's user avatar
  • 71
0 votes
0 answers
30 views

Strange pagination behaviour of /search/excerpts [duplicate]

In an attempt to (automatically) restore broken images* which have originally been included as HTTP links, I've tried to use /search/excerpts to look for candidate posts; specifically, I'm setting the ...
Glorfindel's user avatar
  • 6,762
1 vote
1 answer
90 views

The API is not returning a value that I know it should

My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:         /2.2/users/2855348/associated?types=meta_site;...
Arulkumar's user avatar
  • 578
3 votes
1 answer
101 views

Paging fails at 10K items for /search on any site but Stack Overflow

There's a problem with requesting more than 10,000 items. With Stack Overflow it works just fine. But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
Y. Evers's user avatar
1 vote
1 answer
44 views

Paging issue: is /users/{ids}/associated API route returning incomplete information?

When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
foobarbecue's user avatar
1 vote
0 answers
104 views

Top Pagination for User Reputation League

About User Script for cloning the bottom pagination content of the user reputation leagues page and adding them in the top of the user list. User script created for the "feature-request" of this ...
Arulkumar's user avatar
  • 578
4 votes
1 answer
51 views

Limiting the number of items returned by a request?

How can I limit the amount of items returned to me when performing an API call? I only want the top 10 most commonly used tags, by default I'm sent back 30. EG: api.stackexchange.com/2.2/tags?order=...
EntityPaul's user avatar
2 votes
1 answer
118 views

How do I fetch one question at a time starting from the latest?

I'm trying to fetch questions one by one, starting from the latest, so that I can create an infinite stream of questions in a Clojure program. I haven't yet been able to do so. I can't just get the ...
Surya's user avatar
  • 123
1 vote
1 answer
95 views

Abstract paged results to enable cleaner libraries

It would make great sense for paged results array property to have a common name, items perhaps. For those writing in languages that support 'generic' constructs, this would simplify the code ...
Sky Sanders's user avatar
  • 12.1k