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
| page | images | repeated from another page | time |
|---|---|---|---|
| 1 | 100 | 4 also on page 2 | 2.6 s |
| 2 | 100 | 4 from page 1, 10 also on page 3 | 1.8 s |
| 3 | 100 | 10 from page 2 | 3.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
rankrestarts 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
- The endpoint in general: Google Image Search API
- The image strip on a normal results page: Google image pack API
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.
- Parameters and fields: Google Images Search docs
- Try it in the browser: Google Images Search API
- Credit packs: pricing