Skip to content

Image Search Client API

by microsoft.com

API keyHTTPSDevelopment
Open documentation ↗

Overview

The Image Search API lets you send a search query to Bing and get back a list of relevant images. This section provides technical details about the query parameters and headers that you use to request images and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the Web for Images](https://docs.microsoft.com/azure/cognitive-services/bing-image-search/search-the-web).

Image Search Client is a development API from microsoft.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 3 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Development
Base URL
https://api.cognitive.microsoft.com/bing/v7.0
Version
1.0
Endpoints
3
Spec updated
2020-07-22

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.cognitive.microsoft.com/bing/v7.0/images/details" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.cognitive.microsoft.com/bing/v7.0/images/details", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.cognitive.microsoft.com/bing/v7.0/images/details",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/images/detailsThe Image Detail Search API lets you search on Bing and get back insights about an image, such as webpages that include the image. This section provides technic
GET/images/searchThe Image Search API lets you send a search query to Bing and get back a list of relevant images. This section provides technical details about the query parame
GET/images/trendingThe Image Trending Search API lets you search on Bing and get back a list of images that are trending based on search requests made by others. The images are br

Questions

Does the Image Search Client API need an API key?

Yes. The Image Search Client API uses API key authentication; the documentation explains how to get credentials.

Does the Image Search Client API support HTTPS?

Yes, the Image Search Client API is served over HTTPS.

How many endpoints does the Image Search Client API have?

Its OpenAPI description lists 3 endpoints in version 1.0. All of them are shown on this page.

What are alternatives to the Image Search Client API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

Compare alternatives →

Listed from APIs.guru (CC0).