Get more that 50 domains with GET zones

I’m using the api code to list zones.
The problem is that i can only get max 50 domains.
Is there any way to get the rest ?

thank you.


Hi there,

Our API docs do a good job of explaining this here.
The max per page is 50. You should see the result info in the bit at the end.
It should look like:

 "result_info": {
    "page": 1,
    "per_page": 20,
    "count": 1,
    "total_count": 2000

Change the page value in the call to get the rest

Thank you for your reply.
The api docs are great but as i wrote above, no matter what i do, I only get the first 50 domains (i have 131).
I don’t know if there is a limit or maybe I’m doing something wrong.

Can you post the code snippet you’re using?

Why can we not pull all the zones at once, instead of in pages of 50? It’s kind of ridiculous that we have to work with that limitation.

APIs have rate limits and limits in general to prevent one customer from using up too much of the server’s resources. Large, resource intensive API calls can overload the servers and might degrade the service for other customers.