How to get nearby locations data?

I’d like to create a section for nearby locations (on a react pages setup), similar to the one on this page. Since these locations aren’t linked to the main entity, how do I get their data through the stream?

Hi @Michael_Woon1 ,

To replicate that functionality, you can take advantage of Yext’s Geosearch API, which does the following:

Gets multiple Entities with addresses near a given geographical point, ordered by proximity to that point and restricted to a radius.

Here’s an example of how the API is implemented by our Professional Services team, in their component.

Best,
Luc