Google AJAX API – How do I get more than 4 Results?

I believe the only way to do that is to make multiple calls to the webservice specifying the ‘start’ parameter.

http://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=Apple+Cake&start=4

The start parameter is the 0-based index into the search results. So in this example, it would return images 4..7.

You can also add the parameter rsz=[1-8]. The default value is 4. That’s why you’re getting 4 results per request. Here’s a link:
http://code.google.com/apis/imagesearch/v1/jsondevguide.html#basic_query

Leave a Comment