Back to catalog
🗺️

GeoDataSource

API Key

Geocoding of city name by using latitude and longitude coordinates

🗺️GeocodingHTTPS

GeoDataSource

Distance and bearing between cities

From CityToronto
To CityVancouver
Distance Km3,364.2
Bearing Degrees289.4
UnitKilometers

Sample Response

response.json
1{
2 "from_city": "Toronto",
3 "to_city": "Vancouver",
4 "distance_km": 3364.2,
5 "bearing_degrees": 289.4,
6 "unit": "kilometers"
7}

Code Snippets

request.sh
1"color:#c084fc">curl -X "color:#fbbf24">GET "https://www.geodatasource.com/web-service" \
2 "color:#60a5fa">-H "Authorization: Bearer YOUR_API_KEY"
View Documentation

Similar APIs