Google 역방향 이미지 API
Google의 리버스 이미지 검색을 사용하여 이미지가 웹 전반에서 어디에 나타나는지 확인합니다. engine=google_reverse_image를 설정하고 image_url 파라미터에 공개적으로 접근 가능한 이미지 URL을 전달합니다.
Endpoint
섹션 제목: “Endpoint” GET https://serp.shifter.io/v1?engine=google_reverse_image&api_key=YOUR_API_KEY
Parameters
섹션 제목: “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | yes | SERP API 키 |
engine | string | yes | google_reverse_image이어야 함 |
image_url | string | yes | 검색할 이미지의 URL (URL 인코딩 필요) |
device | string | no | desktop, mobile, tablet 중 하나 |
google_domain | string | no | 사용할 Google 도메인 |
location | string | no | 지오타겟팅 위치 이름 |
uule | string | no | Google 인코딩 위치 문자열 |
hl | string | no | 인터페이스 언어 코드 |
gl | string | no | 국가 코드 |
lr | string | no | 언어 제한, 형식 lang_xx |
Example request
섹션 제목: “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
섹션 제목: “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://..." } ]}