Call your Bing Custom Search instance from the Portal
After you've configured your custom search experience, you can test it from within the Bing Custom Search portal.
Create a search query
After you've signed into the Bing Custom Search portal, select your search instance and click the Production tab. Under Endpoints, select an API endpoint (for example, Web API). Your subscription determines what endpoints are shown.
To create a search query, enter the parameter values for your endpoint. Note that the parameters displayed in the portal may change depending on the endpoint you choose. See theCustom Search API reference for more information.
Some important parameters are below:
|Query||The search term to search for. Only available for Web, Image, Video, and Autosuggest endpoints|
|Custom Configuration ID||The configuration ID of the selected Custom Search instance. This field is read only.|
|Market||The market that results will originate from. Only available for the Web, Image, Video, and Hosted UI endpoints.|
|Subscription Key||The subscription key to test with. You can select a key from the dropdown list or enter one manually.|
Clicking Additional Parameters reveals the following parameters:
|Safe Search||A filter used to filter webpages for adult content. Only available for the Web, Image, Video, and Hosted UI endpoints.|
|User Interface Language||The language used for user interface strings. For example, if you enable images and videos in Hosted UI, the Image and Video tabs use the specified language.|
|Count||The number of search results to return in the response. Available only for Web, Image, and Video endpoints.|
|Offset||The number of search results to skip before returning results. Available only for Web, Image, and Video endpoints.|
After you've specified all required options, click Call to view the JSON response in the right pane. If you select the Hosted UI endpoint, you can test the search experience in the bottom pane.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.