Discussions

Ask a Question
Back to all

How can I get the complete list of cities supported by TravClan, and how should wrong city names be handled in search?

I am integrating the TravClan (Volt) Locations Search API into my Spring Boot (Java 1.8) application.

I would like to understand:

Is there any API or data source provided by TravClan that returns the complete list of supported cities/locations (including city IDs or codes)?

If a user enters a wrong or misspelled city name (for example: "delhee" instead of "delhi"),

Does the Locations Search API handle typo correction internally?

Or is it recommended to handle spelling correction / fuzzy search on our backend before calling the API?

What is the best practice recommended by TravClan for handling invalid or misspelled city names in production systems?

This information will help us design a robust location search experience and avoid maintaining duplicate or inconsistent city data.