Local Search Client
The Local Search client lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail…
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 Local Search client lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail stores, or other local businesses. The query can specify the name of the local business or it can ask for a list (for example, restaurants near me).
Endpoints 1
LocalSearch
- GETThe Local Search API lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail stores, or other local businesses. The query can specify the name of the local business or it can ask for a list (for example, restaurants near me).
/v7.0/localbusinesses/search?cc=string&mkt=en-us&q=string&localcategories=string&localcircularview=string&localmapview=string&count=string&first=string&ResponseFormat=Json&SafeSearch=Off&SetLang=string
API details
- Base URL
https://api.cognitive.microsoft.com/bing- Authentication
- An API key in the Ocp-Apim-Subscription-Key header
- Operations
- 1 operation on 1 pathGET 1
- Main resources
- LocalSearch 1
- Response formats
application/json- Description format
- Swagger 2.0, API version
1.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Local Search Client in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Local Search Client collection, without the publisher's secrets.
- 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.
- Send a requestPick an endpoint, for example “The Local Search API lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail stores, or other local businesses. The query can specify the name of the local business or it can ask for a list (for example, restaurants near me).” (GET /v7.0/localbusinesses/search?cc=string&mkt=en-us&q=string&localcategories=string&localcircularview=string&localmapview=string&count=string&first=string&ResponseFormat=Json&SafeSearch=Off&SetLang=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Local Search Client?
The Local Search client lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail… It is listed under Developer tools and has 1 endpoint.
Who publishes the Local 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 Local Search Client?
Requests go to https://api.cognitive.microsoft.com/bing. Endpoint paths are added to this base URL.
How do I authenticate with the Local Search Client?
With an API key in the Ocp-Apim-Subscription-Key header.
How many endpoints does the Local Search Client have?
1 operation on 1 path (1 GET). The largest groups are LocalSearch.
Is forking the Local Search Client free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.