List of all websites and visitors

I am trying to get a list of all websites and the visits for each.
Some thing like:
website1 1000
website2 345
website3 987

I have been trying out the API but not having much luck. I have this url but it returns 0. I definitely have >0 visits. Does anyone know the correct syntax?

Ok I found the URL in my dashboard in the API section. When I try and retrieve a large dataset I get a fatal error saying that the timeout of 30 seconds has been exceeded. How can I change this timeout?

Doh! It’s right there! Thanks for the help!