You can create a key with query parameters using the API. You can then add a filter on every search. If you need to generate a specific key each time, you must do this in the back end and pass it to your front end. If you are only using front end code and can't generate a key in your case, you should use the limited key.