---
title: "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."
method: GET
path: "/search"
tags: ["WebSearch"]
---

# 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`

## Query parameters

- `answerCount` integer
- `cc` string
- `count` integer
- `freshness` 'Day' | 'Week' | 'Month'
- `mkt` string
- `offset` integer
- `promote` string[]
- `q` string, required
- `responseFilter` string[]
- `safeSearch` 'Off' | 'Moderate' | 'Strict'
- `setLang` string
- `textDecorations` boolean
- `textFormat` 'Raw' | 'Html'

## Headers

- `X-BingApis-SDK` 'true', required
- `Accept` string
- `Accept-Language` string
- `Pragma` string
- `User-Agent` string
- `X-MSEdge-ClientID` string
- `X-MSEdge-ClientIP` string
- `X-Search-Location` string

## Response `200`

Success.

- SearchResponse
  - `_type` string, required

## Other responses

- `default` — An error has occurred. Check the response type and/or status code for more details.

---

[API](https://skmtc.dev/azure/apis/web-search-client.md) · [All operations](https://skmtc.dev/azure/apis/web-search-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/web-search-client/revisions/56e1974c9f0b/schema)
