---
title: "The Custom Search API lets you send a search query to Bing and get back web pages found in your custom view of the web."
method: GET
path: "/search"
tags: ["CustomSearch"]
---

# The Custom Search API lets you send a search query to Bing and get back web pages found in your custom view of the web.

`GET /search`

## Query parameters

- `customConfig` string, required
- `cc` string
- `count` integer
- `mkt` string
- `offset` integer
- `q` string, required
- `safeSearch` 'Off' | 'Moderate' | 'Strict'
- `setLang` string
- `textDecorations` boolean
- `textFormat` 'Raw' | 'Html'

## Headers

- `X-BingApis-SDK` 'true', required
- `Accept` string
- `Accept-Language` 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.net/azure/apis/cognitiveservices-customsearch.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-customsearch/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-customsearch/versions/bd737e0f4a25/schema)
