Google API

Google Images API

Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages.

POST/v1/run/google.images
Uptime
100.00%
30d · 1 call
Requests
1
30d
Response
0.9s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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
}
Response interface
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 30d
POST /v1/run/google.images
curl -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"}'
FieldTypeExample value
Request body
querystring"golden retriever"Image search query (e.g. golden gate bridge at sunset).
autocorrectbooleanToggle Google spelling autocorrect (default true). Set false to search the exact query without correction.
glstring"us"Two-letter country code for result localization (e.g. us, gb, de).
hlstring"en"Two-letter interface and results language code (e.g. en, es, de).
limitinteger5Maximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests.
locationstringFine-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.
timeframestringRestrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).
Response
dataobjectThe result wrapper, or null when nothing was found.
data.itemsobject[]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[].heightintegerFull image height in pixels.
data.items[].sourcestringHost domain of the page the image appears on. Populated whenever the provider has data for the entity.
data.items[].sourceUrlstringURL of the page the image appears on. Populated whenever the provider has data for the entity.
data.items[].thumbnailUrlstringURL to a thumbnail of the image.
data.items[].titlestringImage result title. Populated whenever the provider has data for the entity.
data.items[].urlstringDirect URL to the full-size image. Populated whenever the provider has data for the entity.
data.items[].widthintegerFull image width in pixels.
foundbooleanTrue when at least one image result was returned.
Price
Price per request (ceiling)USD$0.00198
Price /1k resultsUSD$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.

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. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Run a Google Images search and get structured results: image URLs, dimensions, titles, and source pages. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.