Skip to the page

Bing Image Search API v7 compatible

Change the address.

Microsoft retired the Bing Search APIs on August 11, 2025, and decommissioned every existing instance. SpecStream answers the Bing Image Search v7 call, GET /v7.0/images/search, in Bing's JSON today.

The switch is one line: https://api.specstream.ai in place of https://api.bing.microsoft.com, and a SpecStream key in the Ocp-Apim-Subscription-Key header. value[].contentUrl is still the image, and hostPageUrl its page.

An image search of up to 10 results costs $0.005, which is $5 per 1,000, the price of a web search, with no plan and no daily limit. The same key runs web search scoring 97.9 F-score on all 1,000 SimpleQA Verified questions.

New accounts get $10 of credit, no card. It covers 2,000 searches.

Bing Image Search API v7 to SpecStream, parameter by parameter and field by field

SpecStreamBing Image Search API v7
AddressGET https://api.specstream.ai/v7.0/images/search, and /bing/v7.0/images/search, the path Microsoft's SDKs buildGET https://api.bing.microsoft.com/v7.0/images/search. Retired on August 11, 2025, with existing instances decommissioned
The keyA SpecStream key in the Ocp-Apim-Subscription-Key header, or subscription-key= in the addressThe subscription key you received when you created a Bing resource in the Azure Portal
`count`1 to 100, and 10 when you send none. Up to 10 results is one search at $0.005, and each started block of 10 more adds $0.006The number of images to return. The default is 35 and the maximum is 150
`offset`From 0. Send the reply's nextOffset as offset for the next pageThe zero based offset: the number of results to skip before returning results
`mkt`, `setLang`, `cc`, `safeSearch`, `freshness`Read. freshness takes Day, Week or MonthMarket, language, country, safe search and age of the images
The reply_type Images, readLink, queryContext.originalQuery, totalEstimatedMatches, currentOffset, nextOffset and valueThe Images answer, with value[] holding each image
`contentUrl` and `hostPageUrl`contentUrl is the image, hostPageUrl and hostPageDisplayUrl the page it is on, and name its titlecontentUrl is a URL to the image on the source website, and hostPageUrl the URL of the webpage that includes the image
Sizes, thumbnail and formatwidth, height, thumbnailUrl, thumbnail {width, height} and encodingFormat (jpeg, png) when the search engines give themSizes, a thumbnail and the format of each image, and contentSize, the image's file size
Left outcontentSize, datePublished, imageId, imageInsightsToken, insightsMetadata, accentColor, webSearchUrl, pivotSuggestions and queryExpansions, because no engine gives themEach is a field of Bing's v7 image reply
ErrorsBing's ErrorResponse: _type and errors[] with code, subCode and message. A 429 comes with Retry-After and charges nothingWhen a request fails, the top level object in the response is the ErrorResponse object
Price per 1,000 searches$5. An image search of up to 10 results is one search at $0.005, the price of a web searchNo longer sold. Microsoft's named replacement, Grounding with Bing Search, costs $14 per 1,000 transactions
Daily limitNone. Calls spend from your balance, inside the spending limit you set on the account or the keyGrounding with Bing Search: 1 million transactions a day, 150 a second

Bing's image search call, on SpecStream

What else Bing Image Search customers can use

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to migrate, step by step

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Set the endpoint to https://api.specstream.ai where your code has https://api.bing.microsoft.com, and put the SpecStream key in the Ocp-Apim-Subscription-Key header. In Python:

import requests

ENDPOINT = "https://api.specstream.ai"  # was https://api.bing.microsoft.com

reply = requests.get(
    f"{ENDPOINT}/v7.0/images/search",
    headers={"Ocp-Apim-Subscription-Key": SPECSTREAM_KEY},
    params={"q": "autumn leaves", "count": 10, "mkt": "en-US"},
    timeout=30,
)
reply.raise_for_status()
for image in reply.json()["value"]:
    print(image["contentUrl"], image["hostPageUrl"], image.get("width"), image.get("height"))

3. In JavaScript:

const params = new URLSearchParams({ q: "autumn leaves", count: "10" });
const res = await fetch(`https://api.specstream.ai/v7.0/images/search?${params}`, {
  headers: { "Ocp-Apim-Subscription-Key": process.env.SPECSTREAM_KEY },
});
const data = await res.json();
for (const image of data.value) console.log(image.contentUrl, image.hostPageUrl);

4. Code built on Microsoft's SDK joins /bing/v7.0 to its endpoint: set that endpoint to https://api.specstream.ai and the call lands on /bing/v7.0/images/search, which answers the same way. In Python that is ImageSearchClient(endpoint="https://api.specstream.ai", credentials=CognitiveServicesCredentials(SPECSTREAM_KEY)), and client.images.search(query=..., count=...) stays as it is. Tested on November 10, 2026 with azure-cognitiveservices-search-imagesearch 2.0.1.

5. Send count when you want more than 10 images, read the size and thumbnail fields with a default, and drop any read of contentSize. To page, send nextOffset as offset. On a 429, wait the seconds in Retry-After and send the call again; nothing was charged.

Frequently asked questions

Something we didn't answer? Talk to a human

Is the Bing Image Search API retired?
Yes, since August 11, 2025, when Microsoft retired the Bing Search APIs and decommissioned existing instances. SpecStream answers the v7 image call at https://api.specstream.ai/v7.0/images/search today.
What replaces the Bing Image Search API?
SpecStream answers the same GET /v7.0/images/search call in Bing's JSON, at $5 per 1,000 searches. Microsoft points to Grounding with Bing Search at $14 per 1,000 transactions, which gives developers no raw content to read.
Does my Bing Image Search code need changes?
One line: the endpoint becomes https://api.specstream.ai and the Ocp-Apim-Subscription-Key header takes a SpecStream key. q, count, offset, mkt and safeSearch stay, and value[].contentUrl is still the image.
Which Bing image fields does SpecStream not return?
Nine: contentSize, datePublished, imageId, imageInsightsToken, insightsMetadata, accentColor, webSearchUrl, pivotSuggestions and queryExpansions. width, height, thumbnailUrl, thumbnail and encodingFormat come back when the search engines give them.
How much does a Bing compatible image search cost?
$0.005 for up to 10 images, which is $5 per 1,000, the price of a web search, and each started block of 10 more adds $0.006. There is no plan and no daily limit, and a call stopped by a 429 is not charged.
Does SpecStream do reverse image search, like Bing Visual Search?
No. SpecStream searches images by words: q is the query, as on Bing's /v7.0/images/search call.

Sources

SpecStream wrote this page. Each Microsoft figure comes from Microsoft's own pages, and each other provider's figure from that company's own page. The route's behavior is taken from its code.

  1. Microsoft, Bing Search APIs retiring on August 11, 2025learn.microsoft.com/en-us/lifecycle/announcements/bing-search-api-retirement, read Nov 10, 2026
  2. Bing Image Search API v7, endpointslearn.microsoft.com/en-us/bing/search-apis/bing-image-search/reference/endpoints, read Nov 10, 2026
  3. Bing Image Search API v7, query parameterslearn.microsoft.com/en-us/bing/search-apis/bing-image-search/reference/query-parameters, read Nov 10, 2026
  4. Bing Image Search API v7, response objectslearn.microsoft.com/en-us/bing/search-apis/bing-image-search/reference/response-objects, read Nov 10, 2026
  5. Bing Image Search API v7, headerslearn.microsoft.com/en-us/bing/search-apis/bing-image-search/reference/headers, read Nov 10, 2026
  6. Microsoft, Bing APIs and Grounding with Bing pricingmicrosoft.com/en-us/bing/apis, read Nov 10, 2026
  7. Microsoft, Grounding with Bing toolslearn.microsoft.com/en-us/azure/foundry/agents/how-to/tools/bing-tools, read Nov 10, 2026
  8. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 10, 2026
  9. Brave Search APIbrave.com/search/api/, read Nov 10, 2026
  10. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  11. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026