How to search nearby based on business chain
The SearchNearby API enables you to query nearby business chains. You can include or exclude specific business chains in your search. This feature allows end users to explore neighborhoods, discover points of interest, and more.
To use the SearchNearby API, you need to provide a QueryPosition, which can be:
-
A device position
-
An IP-based position
-
A map's viewport center
Alternatively, users can provide a city name or place, and the application can bias results based on the geo-coordinates of that location.
For more information about supported business chains, see Business Chains filter.
Potential use cases
-
Explore businesses in the vicinity
-
Expand your business by finding nearby B2B customers
Examples
The following example demonstrates how to search for nearby Starbucks locations.
Developer Tips
-
You can use
ExcludeBusinessChains
to exclude certain business chains from your results. -
You can exclude or include multiple business chains.