4 ms·
Pricing is 0.6¢/request, which means you can easily rack up a large bill if you're not careful/clever. For example, autocomplete on key press (most common use c
by KMnO4 2y ago
Pricing is 0.6¢/request, which means you can easily rack up a large bill if you're not careful/clever. For example, autocomplete on key press (most common use case) for San Francisco would potentially search S, Sa, San, "San ", San F, San Fr, etc. for up to 8 cents for that one search.
This doesn't seem like something that even really needs an API. A quick google search provided me with a CSV of cities 47,000 cities including county code, population, location, etc. Trimming that down only important items I was able to get a 400kb file that I could easily embed in any app/webpage and search against instantly.
The "high-precision geolocation data for enhanced accuracy" claim is also quite dubious. Even in the blog's example, it's showing Winter Garden to 8 decimal places. Am I to believe that a) it's accurate to 1.1mm (0.04in), and that b) something as large as a city needs to be that precise? You shouldn't need more than 3 decimal places (111m accuracy), or in many cases 2 (1.11km) to describe the location of a city.