How to Reduce Geocoding API Usage in a Geographic Places Searchbox?

Hi everyone,

I’ve noticed that the geographic places Searchbox is generating a lot of Geocoding API requests. After 2 letters are typed, each additional letter triggers an API call, which quickly adds up and increases costs.

I’d like to optimize this by requiring at least 4 characters before the autocomplete suggestions appear.

Does anyone have experience implementing this? Any advice would be appreciated!

Thanks you
Thibaut

Hey @thibautranger,

Are you using the native searchbox element?

Yes, the native searchbox element with choices style set as “geographic places”

The native searchbox doesn’t have many options to customize how often it polls the Geocoding API, I’d recommend making looking in the plugin marketplace that allows for that