SerpBase
Back to Blog

Google Image Search API Pagination: More Than 100 Images per Query

Add page to /google/image/search for the next 100 images. Tested on three pages: 300 results, 286 unique image URLs, and a Python loop that de-duplicates.

December 5, 2026
By SerpBase Team2 min read

Short answer: add "page": 2 (then 3, 4…) to a /google/image/search request; each page returns up to 100 more images. On 5 December 2026, three pages of "red panda" returned 100 images each, 286 different image URLs in total.

The request

curl -X POST 'https://api.serpbase.dev/google/image/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"red panda","gl":"us","hl":"en","page":2}'

What came back

pageimagesrepeated from another pagetime
11004 also on page 22.6 s
21004 from page 1, 10 also on page 31.8 s
310010 from page 23.4 s

No image was on both page 1 and page 3. The first image of page 2, shortened:

{
  "status": 0,
  "credits_charged": 1,
  "page": 2,
  "images": [
    {
      "rank": 1,
      "title": "Celebrating International Red Panda Day - Toronto Zoo Wildlife Conservancy",
      "image_url": "https://wildlifeconservancy.ca/wp-content/uploads/2025/09/Red-Panda-Day-scaled.webp",
      "thumbnail_url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2xNE6KMkWhEmQb-dYQGAnIA-elzRW6G_rShoPknsRtw&s=10",
      "link": "https://wildlifeconservancy.ca/celebrating-international-red-panda-day/",
      "source": "Toronto Zoo Wildlife Conservancy",
      "domain": "wildlifeconservancy.ca"
    }
  ]
}

image_url is the full-size file on the publisher's site, thumbnail_url Google's small copy, and link the page the image sits on. In all 300 results link was the publisher's page, not a Google redirect.

Python: collect N unique images

import time, requests

def image_search(query, want=250, max_pages=5):
    seen, images = set(), []
    for page in range(1, max_pages + 1):
        r = requests.post(
            "https://api.serpbase.dev/google/image/search",
            headers={"X-API-Key": "YOUR_API_KEY"},
            json={"q": query, "gl": "us", "hl": "en", "page": page},
            timeout=60,
        ).json()
        if r["status"] != 0:
            raise RuntimeError(f"page {page}: {r.get('error')}")
        batch = r.get("images", [])
        new = [i for i in batch if i["image_url"] not in seen]
        for i in new:
            seen.add(i["image_url"])
            images.append(i)
        if not new or len(images) >= want:
            break
        time.sleep(1)
    return images[:want]

imgs = image_search("red panda", want=250)
print(len(imgs))
for i in imgs[:3]:
    print(i["source"], i["image_url"])

Things that trip people up

  • rank restarts at 1 on every page. If you need one running order across pages, number the items yourself as you append them.
  • De-duplicate by image_url. 14 of the 300 images in our run appeared on two neighbouring pages.
  • Stop when a page adds nothing new. The response has no total count; we tested three pages, not where the results end.
  • Results are not licences. A result tells you where an image is published, not whether you may reuse it. Check the page in link.
  • Each page is a separate 1-credit request, so 300 images cost 3 credits.

Related

Cost and docs

An image search page is 1 credit; credits cost $0.25–$0.50 per 1,000 depending on the pack. Failed requests are not charged, and new accounts get 500 free credits.