~ / endpoints / Images API

Bing Images Scraper API

Our Bing images scraper turns any query into a ranked list of image results as JSON: the full-size image URL, thumbnail, the source page it lives on, and the source domain, deduped and ready to use, with SafeSearch strict by default.

Get a free API keyFull endpoint list
1,000
free requests / mo
2.6s
median response
JSON
structured output
200
results per call max

Quickstart

cURL
curl "https://api.bingscraperapi.com/api/v1/bing/images?q=coffee+maker&api_key=$API_KEY"
Python
import requests

BASE = "https://api.bingscraperapi.com"
API_KEY = "YOUR_API_KEY"

data = requests.get(
    f"{BASE}/api/v1/bing/images",
    params={"q": "coffee maker", "count": 50, "api_key": API_KEY},
    timeout=30,
).json()

print(data["results_count"], "images for", data["query"])

for img in data["results"]:
    print(img["position"], img["title"])
    print("  image:", img["image"])
    print("  from :", img["source_page"], "(", img["source"], ")")

Response

200 OK
{
  "query": "coffee maker",
  "page": 1,
  "results_count": 10,
  "total_results": 10,
  "results": [
    {
      "position": 1,
      "id": "i5.walmartimages.com/seo/espresso-machine-15-bar-lcd-display-espresso-maker-grinder-milk-frother-pid-temperature-control-professional-coffee-maker-latte-cappuccino-8-8-oz-bea_6a612ec9-8286-4829-9a98-7f9bdf113e7d.0434cb09f6717bab071bed60dfcb584a.jpeg",
      "title": "Espresso Machine 15 Bar, LCD Display Espresso Maker with Grinder, Milk ...",
      "image": "https://i5.walmartimages.com/seo/Espresso-Machine-15-Bar-LCD-Display-Espresso-Maker-Grinder-Milk-Frother-PID-Temperature-Control-Professional-Coffee-Maker-Latte-Cappuccino-8-8-Oz-Bea_6a612ec9-8286-4829-9a98-7f9bdf113e7d.0434cb09f6717bab071bed60dfcb584a.jpeg",
      "thumbnail": "https://ts2.mm.bing.net/th?id=OIP.aN4c9qFX6iwjFKhIgGr1zAHaHT&pid=15.1",
      "source_page": "https://www.walmart.com/ip/Espresso-Machine-15-Bar-LCD-Display-Espresso-Maker-Grinder-Milk-Frother-PID-Temperature-Control-Professional-Coffee-Maker-Latte-Cappuccino-8-8-Oz-Bea/15316058437",
      "source": "walmart.com"
    },
    {
      "position": 3,
      "id": "pisces.bbystatic.com/image2/bestbuy_us/images/products/6534/6534183_rd.jpg",
      "title": "Cuisinart CoffeeCenter 12-Cup Coffee Maker Barista Bar 4-In-1 ...",
      "image": "https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6534/6534183_rd.jpg",
      "thumbnail": "https://ts2.mm.bing.net/th?id=OIP.Tl7in4fSbDtS2ixBzFc4aQHaHa&pid=15.1",
      "source_page": "https://www.bestbuy.com/site/cuisinart-coffeecenter-12-cup-coffee-maker-barista-bar-4-in-1-coffeemaker-black/6534183.p",
      "source": "bestbuy.com"
    }
  ]
}
FieldTypeDescription
querystringThe query that was searched, echoed back from your request.
pageintegerThe page number for this response, from the first offset.
results_countintegerNumber of image results returned on this page.
resultsarrayThe image results, each with position, id, title, image, thumbnail, source_page, and source.
results[].imagestringThe full-size image URL (murl), the direct link to the image file.
results[].thumbnailstringThe Bing-hosted thumbnail URL (turl).
results[].source_pagestringThe page the image appears on (purl), the source of the image.
results[].sourcestringThe source page's domain, e.g. walmart.com, cleaned of any www prefix.

Params

ParameterRequiredDefaultNotes
qrequired-The image search term, e.g. coffee maker. This is the required input for the images scraper.
urloptional-A full bing.com/images/search URL to parse instead of building one from q. Pass q or url.
countoptional50Max results to return, 1 to 200. Best-effort; the mapped list is capped at this. Defaults to 50.
firstoptional-Result offset for pagination. Pass a higher value to page deeper into the image grid.
countryoptionalUSTwo-letter market region, e.g. GB or DE. Sets mkt=en-XX so results are the stable national set rather than the proxy exit-IP geo. Defaults to US.
safe_searchoptionalstrictSafeSearch level: strict, moderate, or off. Defaults to strict so adult content is filtered.
api_keyrequired-Your API key, passed as a query parameter. Get one free at signup.

Use it for

>

Image dataset building

Query a term and collect full-size image URLs with their source pages to assemble a labeled image dataset for training or reference.
>

Product image sourcing

Pull product photos for a query and see which retailer page each lives on via source_page and source, useful for catalogs and comparisons.
>

Visual and brand monitoring

Search your brand or product name and track which images Bing surfaces and where they are hosted, so you can spot unauthorized use.
>

Reverse-lookup of sources

Use the source_page and source fields to trace an image back to the pages that publish it across the web.

How it works

  1. Send a GET request with your target and API key.
  2. We route through residential proxies, handle anti-bot, and parse the response.
  3. You get validated JSON back, ready to use.

Pricing

PlanPriceBest for
Free1,000 requestsTesting and small jobs
Pro$0.60 / 1kProduction workloads
Pay-as-you-go$0.90 / 1kSpiky or one-off volume

Median response 2.6s. You only pay for successful requests.

FAQ

What is a Bing images scraper?

A Bing images scraper reads the results from a Bing image search and returns them in a structured format. Our Bing images scraper API takes a query and returns each result's full-size image URL, thumbnail, source page, source domain, and a stable id as JSON, deduplicated, from a single request, with SafeSearch strict by default.

How does the scraper get the full-size image URL?

Bing embeds each image result's real URLs in a JSON object on the anchor's m attribute, with the inner quotes HTML-escaped. Our scraper decodes and parses that object per result and maps murl to image, turl to thumbnail, and purl to source_page, so you get the direct file URL and its source page without parsing the page yourself.

Can I control SafeSearch?

Yes. The safe_search parameter accepts strict, moderate, or off and defaults to strict. Bing localizes SafeSearch by IP and can leak adult results on ambiguous queries, so we force the level you set on every request. Leave it at strict for clean results, or set it to off deliberately when you need unfiltered output.

How many image results can I get per call?

The count parameter accepts 1 to 200 and defaults to 50. It is best-effort: we cap the mapped list at your count, and the actual number depends on how many usable results the page renders. Use the first parameter as an offset to page deeper into the image grid across multiple calls.

Why are results pinned to the US market?

Without an explicit market, Bing localizes the image results to the IP it sees, so a query from a rotating proxy pool comes back with foreign-localized, non-reproducible results and unstable counts. We pin mkt=en-US by default, or the market you set with the country parameter, so the image set is the stable national one on every call.

Is scraping Bing images legal?

Scraping publicly visible image search results is generally treated as lower risk than scraping data behind a login, but the images themselves are often under copyright. This is not legal advice: you are responsible for respecting Bing's terms, the source sites' terms, and the copyright of each image. Collecting image URLs and metadata for research or indexing differs from republishing the images, so use the data accordingly.

Get images api as JSON
Free plan, 1,000 requests. No credit card required.
Get a free API key All endpoints