Google Images API
Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages.
Try it
Make your first request
{
"data": {
"items": [
{
"height": 42,
"source": "https://example.com/page",
"sourceUrl": "https://example.com/page",
"thumbnailUrl": "https://example.com/image.jpg",
"title": "Example title",
"url": "https://example.com/page",
"width": 1024
}
]
},
"found": true
}interface GoogleImagesResponse {
data: {
items: {
height?: number;
source?: string;
sourceUrl?: string;
thumbnailUrl?: string;
title: string;
url: string;
width?: number;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/google.images \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"gl":"us","hl":"en","limit":5,"query":"golden retriever"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| query | string | "golden retriever"Image search query (e.g. golden gate bridge at sunset). |
| autocorrect | boolean | Toggle Google spelling autocorrect (default true). Set false to search the exact query without correction. |
| gl | string | "us"Two-letter country code for result localization (e.g. us, gb, de). |
| hl | string | "en"Two-letter interface and results language code (e.g. en, es, de). |
| limit | integer | 5Maximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests. |
| location | string | Fine-grained location for result localization, given as a canonical Google location string (e.g. 'New York, United States', 'London, United Kingdom'). More specific than the country-level gl. |
| timeframe | string | Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction). |
| Response | ||
| data | object | The result wrapper, or null when nothing was found. |
| data.items | object[] | Image result records: image URL, dimensions, title, and the source page it appears on. Populated whenever the provider has data for the entity. |
| data.items[].height | integer | Full image height in pixels. |
| data.items[].source | string | Host domain of the page the image appears on. Populated whenever the provider has data for the entity. |
| data.items[].sourceUrl | string | URL of the page the image appears on. Populated whenever the provider has data for the entity. |
| data.items[].thumbnailUrl | string | URL to a thumbnail of the image. |
| data.items[].title | string | Image result title. Populated whenever the provider has data for the entity. |
| data.items[].url | string | Direct URL to the full-size image. Populated whenever the provider has data for the entity. |
| data.items[].width | integer | Full image width in pixels. |
| found | boolean | True when at least one image result was returned. |
| Price | ||
| Price per request (ceiling) | USD | $0.00198 |
| Price /1k results | USD | $0.18 |
FAQ
About the Google Images API
The AnyAPI Google Images API returns Google images data as normalized JSON from one POST call to /v1/run/google.images. Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages. AnyAPI returns one normalized schema whichever source serves it. It costs $0.18 per 1,000 results, and never more than $0.00198 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Google images calls through AnyAPI succeeded, with a median response time of 0.9 seconds across 1 measured calls.