> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Scrape Google Images results

> Runs the Google Images vertical (`udm=2`) for `q` and returns the image results as JSON. Every result carries `imageUrl` (the full-resolution origin image, not a Google thumbnail) and `sourceDomain`, plus `sourcePageUrl`, `title`, `sourceName`, `thumbnailUrl`, `width`, `height` and `fileSize` where available. Set `proxy_country`/`gl` to target a market (image ranking is region-specific). One render returns the first page of results (v1).



## OpenAPI

````yaml /api-reference/openapi.json post /images/google-search
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /images/google-search:
    post:
      tags:
        - Plugins
      summary: Scrape Google Images results
      description: >-
        Runs the Google Images vertical (`udm=2`) for `q` and returns the image
        results as JSON. Every result carries `imageUrl` (the full-resolution
        origin image, not a Google thumbnail) and `sourceDomain`, plus
        `sourcePageUrl`, `title`, `sourceName`, `thumbnailUrl`, `width`,
        `height` and `fileSize` where available. Set `proxy_country`/`gl` to
        target a market (image ranking is region-specific). One render returns
        the first page of results (v1).
      operationId: google_images_images_google_search_post
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Image search term, e.g. 'eiffel tower'.
            title: Q
          description: Image search term, e.g. 'eiffel tower'.
        - name: gl
          in: query
          required: false
          schema:
            type: string
            description: >-
              Market of search, ISO-2, e.g. 'us', 'de'. Shifts which images
              rank.
            default: us
            title: Gl
          description: Market of search, ISO-2, e.g. 'us', 'de'. Shifts which images rank.
        - name: max_results
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: 'How many image results to return (v1: first page).'
            default: 100
            title: Max Results
          description: 'How many image results to return (v1: first page).'
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Exit-IP country (ISO-2). Image results are market-specific.
            title: Proxy Country
          description: Exit-IP country (ISO-2). Image results are market-specific.
      responses:
        '200':
          description: JSON with a `results` array plus the query and count.
        '403':
          description: Blocked by Google CAPTCHA after retries - try another proxy_country.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: No image results collected (upstream block or no matches).
        '504':
          description: Fetch timed out.
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````