Google API

Google Images API

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

$0.85/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"url": "https://upload.wikimedia.org/wikipedia/commons/6/6b/A_golden_retriever_puppy.jpg",
"title": "Golden Retriever - Wikipedia",
"source": "en.wikipedia.org",
"sourceUrl": "https://en.wikipedia.org/wiki/Golden_Retriever",
"thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS1abcDEfGhijK",
"width": 4000,
"height": 3000,
"position": 1
}
Uptime
99.98%
30d · 4,643 calls
Requests
4,646
30d · weekly, last 12 wks
Response
1.3s
median · 30d

Pricing and providers

Google Images API pricing: one API, 3 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$8.50
$0.85/1k req, only for what you use. No monthly plan.
Your first 117 requests are free with the $0.10 starting balance.

Try it

Get Google images in one 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.

This sample shows 11 of 12 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "url": "https://upload.wikimedia.org/wikipedia/commons/6/6b/A_golden_retriever_puppy.jpg",
        "title": "Golden Retriever - Wikipedia",
        "source": "en.wikipedia.org",
        "sourceUrl": "https://en.wikipedia.org/wiki/Golden_Retriever",
        "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS1abcDEfGhijK",
        "width": 4000,
        "height": 3000,
        "position": 1
      },
      {
        "url": "https://www.akc.org/wp-content/uploads/2017/11/Golden-Retriever-standing-outdoors.jpg",
        "title": "Golden Retriever Dog Breed Information",
        "source": "akc.org",
        "sourceUrl": "https://www.akc.org/dog-breeds/golden-retriever/",
        "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT2xyzLmnoPqrS",
        "width": 2400,
        "height": 1600,
        "position": 2
      },
      {
        "url": "https://www.purina.com/sites/default/files/2021-golden-retriever-in-field.jpg",
        "title": "Golden Retriever Puppies & Dogs | Purina",
        "source": "purina.com",
        "sourceUrl": "https://www.purina.com/dogs/dog-breeds/golden-retriever",
        "thumbnailUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcU3defTuvWxyzA",
        "width": 1920,
        "height": 1280,
        "position": 3
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    golden retriever

    Image search query (e.g. golden gate bridge at sunset).

  • autocorrectboolean

    Toggle 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).

  • limitinteger

    5

    Maximum number of images to return (1-100, default 20). Requests for 10 results or fewer are billed at a lower rate than larger requests.

  • locationstring

    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.

  • timeframeenum

    Restrict results to a recent time window: 1h, 1d, 7d, 1y, or all. Default all (no time restriction).

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Image result records: image URL, dimensions, title, and the source page it appears on. Populated whenever the provider has data for the entity.

  • heightinteger

    3000

    Full image height in pixels.

  • positioninteger

    1

    One-based position of this image in Google's result order.

  • sourcestring

    en.wikipedia.org

    Host domain of the page the image appears on. Populated whenever the provider has data for the entity.

  • sourceUrlstring

    https://en.wikipedia.org/wiki/Golden_Retriever

    URL of the page the image appears on. Populated whenever the provider has data for the entity.

  • thumbnailUrlstring

    https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS1abcDEfGhijK

    URL to a thumbnail of the image.

  • titlestring

    Golden Retriever - Wikipedia

    Image result title. Populated whenever the provider has data for the entity.

  • urlstring

    https://upload.wikimedia.org/wikipedia/commons/6/6b/A_golden_retriever_puppy.jpg

    Direct URL to the full-size image. Populated whenever the provider has data for the entity.

  • widthinteger

    4000

    Full image width in pixels.

top level
  • foundboolean

    true

    True when at least one image result was returned.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

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 routes each request across 3 sources and falls back automatically when one fails. It costs from $0.85 per 1,000 requests, 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 1.3 seconds across 4,643 measured calls.

It costs from $0.85 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

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

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 117 Google Images calls at $0.00085 each.

AnyAPI asks the next of its 3 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/google.images with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.