Filter Database based on JSON

Hello everyone I’m working on a project where a user could choose a zip code, select the mile radius, and the page will return the database with the matching zip codes. I found an API that returns a JSON with a set of zip code within a set radius. My issue now is how could I use that response to those zip codes to filter my database. I’m having issues with filtering a databases based on multiple values.

1 Like

I have the same exact question as the OP, can anyone help here?

You can use hasSome to filter your dataset with an array of zip codes or a string of zip codes separated by commas. This will return all of the items in your dataset that contain a zip code that matches any of the zip codes in your string or array. Which API are you using to return zip codes based on its radius?

anyone found a solution for this?

That didn’t work.