Skip to Content
Performance Tips

Performance Tips

Filter to the area needed

Country, state, city, and postcode filters reduce the amount of data sent. Use format=geojson for geographic features and JSON for general processing.

Allow time for large responses

The Locations API returns the full matching set in one response. Set a request timeout appropriate for large results and fetch from a backend job when the result is too large for a page request.

Cache successful snapshots

Keep the latest successful response and its attribution. Refresh at a cadence appropriate to the source and application. See snapshot retention and data coverage.

Last updated on