Get API key

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_key Required
    Your personal API key. Available on your dashboard.

    Type: String
📷

Image

  • url Required
    The URL of the image to reverse-search. Must be a publicly reachable image URL (jpg, png, webp …).

    Type: String
  • query Optional
    An optional text hint to accompany the image. It is echoed back on the response as query.

    Type: String
  • combined_output Optional
    When true, the raw Bing results page HTML is returned alongside the parsed JSON.

    Type: Boolean

API Examples

API result preview
Code to Integrate
curl "https://api.scrapingdog.com/bing/lens?api_key=APIKEY&url=https://upload.wikimedia.org/wikipedia/commons/3/3f/Walking_tiger_female.jpg"
API Response
{
  "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

FieldDescription
queryThe optional query parameter, echoed back (null if not supplied).
identified_asWhat Bing recognised the image to be (e.g. a product or subject name). null when Bing does not name the subject.
total_time_takenWall-clock time for the request, in seconds.
images_resultsArray of visually-similar images Bing found.
images_results[].rank1-indexed position in Bing's visual results.
images_results[].titleTitle / caption of the matched image.
images_results[].originalFull-size image URL.
images_results[].thumbnailBing's cached thumbnail URL.
images_results[].sourceDomain hosting the image.
images_results[].linkURL of the page the image appears on.
images_results[].original_widthFull-size image width in pixels (when known).
images_results[].original_heightFull-size image height in pixels (when known).