How to get Foursquare Autocomplete response that are filtered through specified categories?

72 Views Asked by At

Is it possible to use Get Autocomplete Results with categories to filter the response and return addresses, places(filtered with specified categories), geos, and/or searches?

I want to avoid filtering my response inside the app.

2

There are 2 best solutions below

0
Todd S. On

Hello this feature is not available yet. I will submit a feature request to inform the engineering team and understand the feasibility.

Thanks for your question! You can also join our Discord for more direct support.

https://discord.gg/foursquaredevs

0
theUtherSide On

This functionality is available on the Place Search (/v3/places/search) endpoint, which has a categories parameter, which can accept a list of Category IDs.

categories: string Filters the response and returns FSQ Places matching the specified categories. Supports multiple Category IDs, separated by commas.