Bing Lens Scraper API
The Bing Lens Scraper API is Bing’s visual search (reverse image search) as structured JSON. Pass the URL of an image and it returns what Bing recognises the image to be, plus the visually-similar images Bing finds across the web — each with its original full-size URL, Bing’s thumbnail, the page hosting it and its pixel dimensions — without you handling proxies, retries or HTML parsing.
Endpoint: https://api.scrapingdog.com/bing/lens
Results are best for distinctive product and object images. For an image Bing cannot match to anything specific,
identified_as is null and images_results may be empty. The response below is shortened — the full response returned 40 results, and two are shown.API Parameters
🔑
Scrapingdog Parameters
api_keyRequiredYour personal API key. Available on your dashboard.
Type: String
📷
Image
urlRequiredThe URL of the image to reverse-search. Must be a publicly reachable image URL (jpg, png, webp …).
Type: StringqueryOptionalAn optional text hint to accompany the image. It is echoed back on the response asquery.
Type: Stringcombined_outputOptionalWhentrue, the raw Bing results page HTML is returned alongside the parsed JSON.
Type: Boolean
API Examples

curl "https://api.scrapingdog.com/bing/lens?api_key=APIKEY&url=https://upload.wikimedia.org/wikipedia/commons/3/3f/Walking_tiger_female.jpg"
import requests url = "https://api.scrapingdog.com/bing/lens" params = { "api_key": "APIKEY", "url": "https://upload.wikimedia.org/wikipedia/commons/3/3f/Walking_tiger_female.jpg", } response = requests.get(url, params=params, timeout=60) if response.status_code == 200: data = response.json() print("Identified as:", data.get("identified_as")) for item in data["images_results"]: print(item["rank"], item["original"]) else: print(f"Request failed with status code: {response.status_code}")
const params = new URLSearchParams({ api_key: "APIKEY", url: "https://upload.wikimedia.org/wikipedia/commons/3/3f/Walking_tiger_female.jpg", }); const response = await fetch(`https://api.scrapingdog.com/bing/lens?${params}`); const data = await response.json(); console.log(data.identified_as, data.images_results);
<?php $url = 'https://api.scrapingdog.com/bing/lens?' . http_build_query([ 'api_key' => 'APIKEY', 'url' => 'https://upload.wikimedia.org/wikipedia/commons/3/3f/Walking_tiger_female.jpg', ]); echo file_get_contents($url);
{
"query": null,
"identified_as": "Bengal tiger",
"total_time_taken": 5.66,
"images_results": [
{
"rank": 1,
"title": "Tigers in India see remarkable population recovery",
"original": "https://earthsky.org/upl/2025/02/female-tiger-India-Wikimedia.jpeg",
"thumbnail": "https://th.bing.com/th/id/R.bfdf9a04b9992832afbde6bec02398ad?rik=hqCMXosWEtlFhA&pid=ImgRaw&r=0",
"source": "earthsky.org",
"link": "https://earthsky.org/earth/tigers-in-india-increased-population-2025/",
"original_width": 800,
"original_height": 441
},
{
"rank": 2,
"title": "Bengal Tiger Walking On The Grass Stock Photo - Download Image Now ...",
"original": "https://media.istockphoto.com/id/1323908323/photo/bengal-tiger-walking-on-the-grass.jpg?s=170667a&w=0&k=20&c=OGj53_VIFqJXdaVQZGDMAxGDZFhAPjykB1I5ilvPYEU=",
"thumbnail": "https://th.bing.com/th/id/R.77d338e0750edfb9048a873b2539ed78?rik=qCk5GzxhdFLK2w&pid=ImgRaw&r=0",
"source": "istockphoto.com",
"link": "https://www.istockphoto.com/photo/bengal-tiger-walking-on-the-grass-gm1323908323-409421674",
"original_width": 508,
"original_height": 339
}
]
}Response Fields
| Field | Description |
|---|---|
| query | The optional query parameter, echoed back (null if not supplied). |
| identified_as | What Bing recognised the image to be (e.g. a product or subject name). null when Bing does not name the subject. |
| total_time_taken | Wall-clock time for the request, in seconds. |
| images_results | Array of visually-similar images Bing found. |
| images_results[].rank | 1-indexed position in Bing's visual results. |
| images_results[].title | Title / caption of the matched image. |
| images_results[].original | Full-size image URL. |
| images_results[].thumbnail | Bing's cached thumbnail URL. |
| images_results[].source | Domain hosting the image. |
| images_results[].link | URL of the page the image appears on. |
| images_results[].original_width | Full-size image width in pixels (when known). |
| images_results[].original_height | Full-size image height in pixels (when known). |