Microsoft

Web Search Client

The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more.

Developer tools#openapi#developer-tools#cloud

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more.

Endpoints 1

WebSearch

  • GETThe Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more./search?answerCount=0&cc=string&count=0&freshness=Day&mkt=en-us&offset=0&promote=WebPages&q=string&responseFilter=WebPages&safeSearch=Off&setLang=string&textDecorations=true&textFormat=Raw

API details

Base URL
https://api.cognitive.microsoft.com/bing/v7.0
Authentication
An API key in the Ocp-Apim-Subscription-Key header
Operations
1 operation on 1 pathGET 1
Main resources
WebSearch 1
Response formats
application/json
Description format
Swagger 2.0, API version 1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Web Search Client in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Web Search Client collection, without the publisher's secrets.
  3. Add your credentialsThis API uses an API key in the Ocp-Apim-Subscription-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more.” (GET /search?answerCount=0&cc=string&count=0&freshness=Day&mkt=en-us&offset=0&promote=WebPages&q=string&responseFilter=WebPages&safeSearch=Off&setLang=string&textDecorations=true&textFormat=Raw), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Web Search Client?

The Web Search API lets you send a search query to Bing and get back search results that include links to webpages, images, and more. It is listed under Developer tools and has 1 endpoint.

Who publishes the Web Search Client?

It is listed from Microsoft's public API description (an OpenAPI document), not published by Microsoft on Swastik Codes. Anyone who controls microsoft.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Web Search Client?

Requests go to https://api.cognitive.microsoft.com/bing/v7.0. Endpoint paths are added to this base URL.

How do I authenticate with the Web Search Client?

With an API key in the Ocp-Apim-Subscription-Key header.

How many endpoints does the Web Search Client have?

1 operation on 1 path (1 GET). The largest groups are WebSearch.

Is forking the Web Search Client free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.