Skip to content

Custom Search Client API

by microsoft.com

API keyHTTPSDevelopment
Open documentation ↗

Overview

The Bing Custom Search API lets you send a search query to Bing and get back search results customized to meet your custom search definition.

Custom 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 1 endpoints.

At a glance

Authentication
API key
HTTPS
Yes
CORS
Unknown
Category
Development
Base URL
https://api.cognitive.microsoft.com/bingcustomsearch/v7.0
Version
1.0
Endpoints
1
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/bingcustomsearch/v7.0/search" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
JavaScript
const response = await fetch("https://api.cognitive.microsoft.com/bingcustomsearch/v7.0/search", {
  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/bingcustomsearch/v7.0/search",
    headers={
    "Accept": "application/json",
    "X-API-Key": "YOUR_API_KEY",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/searchThe Custom Search API lets you send a search query to Bing and get back web pages found in your custom view of the web.

Questions

Does the Custom Search Client API need an API key?

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

Does the Custom Search Client API support HTTPS?

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

How many endpoints does the Custom Search Client API have?

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

What are alternatives to the Custom Search Client API?

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

Compare alternatives →

Listed from APIs.guru (CC0).