GeoSweet API Documentation
Welcome to the GeoSweet API documentation. Find everything you need to integrate our powerful location services into your applications.
1. Obtain an API Key
Sign up for a free account to get your API key. You'll need this key to authenticate your requests.
2. Make Your First Request
Use your API key to make a request to one of our endpoints. Here's an example to get coordinates for an address:
curl -X GET "https://api.geosweet.com/v1/geocode?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA" \
-H "Authorization: Bearer YOUR_API_KEY"
3. Explore Endpoints
Check out our available endpoints below for geocoding, reverse geocoding, points of interest, and more.
/v1/geocode GET
Convert addresses into geographic coordinates.
Parameters: `address` (string, required), `country` (string, optional)
/v1/reverse-geocode GET
Convert geographic coordinates into human-readable addresses.
Parameters: `latitude` (float, required), `longitude` (float, required)
/v1/poi GET
Search for points of interest near a location or within an area.
Parameters: `query` (string, optional), `latitude` (float, required), `longitude` (float, required), `radius` (int, optional)