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.
Why Bing makes Bing Images data hard
Bing Image Search has no open public API since the Azure Bing Search service closed to new customers, and the image page hides each result's real URLs inside a JSON blob on the anchor's m attribute with the inner quotes HTML-escaped. We parse that blob per result, map it to clean fields, dedupe by image URL, and force SafeSearch so adult results do not leak on ambiguous queries.
The Bing Images Scraper API, one request away
curl "https://api.bingscraperapi.com/api/v1/bing/images?q=coffee+maker&api_key=$API_KEY" 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"], ")") Parameters
| Parameter | Required | Default | Notes |
|---|---|---|---|
q | required | - | The image search term, e.g. coffee maker. This is the required input for the images scraper. |
url | optional | - | A full bing.com/images/search URL to parse instead of building one from q. Pass q or url. |
count | optional | 50 | Max results to return, 1 to 200. Best-effort; the mapped list is capped at this. Defaults to 50. |
first | optional | - | Result offset for pagination. Pass a higher value to page deeper into the image grid. |
country | optional | US | Two-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_search | optional | strict | SafeSearch level: strict, moderate, or off. Defaults to strict so adult content is filtered. |
api_key | required | - | Your API key, passed as a query parameter. Get one free at signup. |
Fields returned by the Bing Images Scraper API
{
"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"
}
]
} | Field | Type | Description |
|---|---|---|
query | string | The query that was searched, echoed back from your request. |
page | integer | The page number for this response, from the first offset. |
results_count | integer | Number of image results returned on this page. |
results | array | The image results, each with position, id, title, image, thumbnail, source_page, and source. |
results[].image | string | The full-size image URL (murl), the direct link to the image file. |
results[].thumbnail | string | The Bing-hosted thumbnail URL (turl). |
results[].source_page | string | The page the image appears on (purl), the source of the image. |
results[].source | string | The source page's domain, e.g. walmart.com, cleaned of any www prefix. |
results[].id | string | A stable identifier for the image, used for de-duplication. |
What this data is good for
Image dataset building
Product image sourcing
Visual and brand monitoring
Reverse-lookup of sources
Content and moodboards
SEO image research
Why our Bing Images Scraper API is reliable
Send one query and get parsed Bing image results back as validated JSON: full-size URL, thumbnail, source page, and source domain, deduped by image URL, with SafeSearch strict by default so adult content does not leak on ambiguous terms. Requests flow through rotating proxies with anti-bot handling and automatic retries at a 2.6s median, and the market is pinned to en-US for a reproducible result set.
Full image and source URLs
SafeSearch enforced
Deduplicated results
Pinned, reproducible market
Anti-bot and proxy rotation
Validated JSON schema
Choosing between the Bing Images Scraper API and the Bing API
| Our API | DIY (requests / headless) | Bing Image Search API (Azure) | |
|---|---|---|---|
| Image results as JSON | Parsed, deduped, one call | You parse the iusc m-blob yourself | JSON, but being retired |
| Availability | Live and maintained | Depends on your setup | Closed to new customers, sunsetting |
| Full-size and source URLs | image, thumbnail, source_page | You extract murl, turl, purl | Provided in the API |
| SafeSearch | Strict by default, configurable | You set adlt yourself | Configurable |
| Setup | API key only | Proxies, headless browser, parsers | Azure account and resource keys |
| Anti-bot and proxies | Built in | You build and maintain it | Not applicable |
Straightforward pricing
| Plan | Price | Best for |
|---|---|---|
| Free | 1,000 requests | Testing and small jobs |
| Pro | $0.60 / 1k | Production workloads |
| Pay-as-you-go | $0.90 / 1k | Spiky or one-off volume |
Median response 2.6s. You only pay for successful requests.
FAQ
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.
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.
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.
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.
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.
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.