# Auto-pagination Our libraries support auto-pagination. This feature allows you to easily iterate through large lists of resources without having to manually perform the requests to fetch subsequent pages. Since curl simply emits raw HTTP requests, it doesn’t support auto-pagination. Since the CLI simply emits raw HTTP requests, it doesn’t support auto-pagination. To use the auto-pagination feature in Ruby, simply issue an initial “list” call with the parameters you need, then call `auto_paging_each` on the returned list object to iterate over all objects matching your initial parameters. To use the auto-pagination feature in Python, simply issue an initial “list” call with the parameters you need, then call `auto_paging_iter()` on the returned list object to iterate over all objects matching your initial parameters. To use the auto-pagination feature in PHP, simply issue an initial “list” call with the parameters you need, then call `autoPagingIterator()` on the returned list object to iterate over all objects matching your initial parameters. To use the auto-pagination feature in Java, simply issue an initial “list” call with the parameters you need, then call `autoPagingIterable()` on the returned list object to iterate over all objects matching your initial parameters. To use the auto-pagination feature in Node 10+, simply iterate over a “list” call with the parameters you need in a `for await` loop. To use the auto-pagination feature in older versions of Node, issue a “list” call with the parameters you need, then call `autoPagingEach(onItem)` on the returned list object to iterate over all objects matching your initial parameters. Full docs are on the [stripe-node GitHub repository](https://github.com/stripe/stripe-node#auto-pagination). Auto-pagination in Go is enabled by default. It can be disabled by setting the Single option to true in any ListParams struct. To use the auto-pagination feature in .NET, simply callListAutoPaging with the same parameters that you would use in a regular List call and iterate over the results. ```sh # The auto-pagination feature is specific to Stripe's # libraries and cannot be used directly with curl. ```