Geocoding — entry 023 of 80
GeoDataSource
GeoDataSource's Location Search API resolves a latitude/longitude pair to the nearest city (or all cities within 20km) via an access-key-gated GET endpoint at api.geodatasource.com/v2/city, returning JSON or XML with country, region, city, currency, timezone, and sunrise/sunset data. The free tier grants 500 credits/month; paid plans start at $50/month for 10,000 credits. No CORS header is returned, so browser calls need a server-side proxy.
GreatAPIs Score
Auth quickstart
- Sign up with the provider to get an API key.
- Send it on every request as a header
Authorization: <key> - The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Developer reference
Free tier: Nearest City/Nearest Cities APIs support up to 500 queries/month; the separate Location Search Web Service is credit-metered instead (Free 500 credits/month, then paid tiers up to 250,000 credits/$300/month)