Google Reverse Image API
Find where an image appears across the web using Google’s reverse image search. Set engine=google_reverse_image and pass a publicly accessible image URL in the image_url parameter.
Endpoint
Section titled “Endpoint” GET https://serp.shifter.io/v1?engine=google_reverse_image&api_key=YOUR_API_KEY
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | Your SERP API key |
engine | string | yes | Must be google_reverse_image |
image_url | string | yes | URL of the image to search for (must be URL-encoded) |
device | string | no | desktop, mobile, or tablet |
google_domain | string | no | Google domain to use |
location | string | no | Geotargeting location name |
uule | string | no | Google encoded location string |
hl | string | no | Interface language code |
gl | string | no | Country code |
lr | string | no | Language restriction, format lang_xx |
Example request
Section titled “Example request”curl "https://serp.shifter.io/v1?engine=google_reverse_image&api_key=YOUR_API_KEY&image_url=https%3A%2F%2Fencrypted-tbn1.gstatic.com%2Fimages%3Fq%3Dtbn%3AANd9GcRjlJi4t9H9nOiAAv_nRGq8arI_Ed9ILW1lY9lKWa63q8AL_UwI"import requests
params = { "engine": "google_reverse_image", "api_key": "YOUR_API_KEY", "image_url": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRjlJi4t9H9nOiAAv_nRGq8arI_Ed9ILW1lY9lKWa63q8AL_UwI",}r = requests.get("https://serp.shifter.io/v1", params=params)data = r.json()import fetch from 'node-fetch';
const url = 'https://serp.shifter.io/v1?' + new URLSearchParams({ engine: 'google_reverse_image', api_key: 'YOUR_API_KEY', image_url: 'https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcRjlJi4t9H9nOiAAv_nRGq8arI_Ed9ILW1lY9lKWa63q8AL_UwI',});const data = await (await fetch(url)).json();Example response
Section titled “Example response”{ "search_parameters": { "engine": "google_reverse_image", "image_url": "https://encrypted-tbn1.gstatic.com/images?q=tbn:..." }, "image_sizes": [ { "size": "1920 x 1080", "image": "https://...", "link": "https://..." } ], "inline_images": [ { "source": "https://example.com", "thumbnail": "https://..." } ], "image_results": [ { "position": 1, "title": "Image from example.com", "link": "https://example.com/page", "source": "example.com", "thumbnail": "https://..." } ]}