The SoundCloud API will be dropping support for offset-based pagination on March 2, 2015, in favor of linked partitioning.
To page through a JSON response, pass the linked_partitioning=1
parameter along with your request and it will return a collection, along with a
next_href
property if there are additional results. To fetch the
next page of results, simply follow that URI. If the response does not contain
a next_href
property, you have reached the end of the results.
You can read more about linked partitioning in the Pagination section of our HTTP API Guide, including code examples in JavaScript, PHP, Python, and Ruby.
The limit
parameter continues to be supported with linked
partitioning. The default limit
is 50 with a maximum value of 200.
Please update your code to replace the offset
parameter with
linked_partitioning
. If you have any questions about this update,
please notify us via email.