Skip to content

Latest commit

 

History

History
172 lines (131 loc) · 4.58 KB

README.md

File metadata and controls

172 lines (131 loc) · 4.58 KB

Geolink

Geolink provides robust geolocation APIs designed for developers. Integrate precise directions, text-based search, accurate geocoding, and reverse geocoding effortlessly into your applications.

Geolink


🚀 Get Started with Geolink

  1. Visit: Geolink
  2. Sign Up: Enter your email to receive your API key instantly.
  3. Integrate: Use the provided API keys to start leveraging Geolink services in your app.

💻 API Endpoints

Explore our APIs to harness the power of Geolink:

Directions API

  • Endpoint: /directions
  • Description: Get accurate routes between locations.

Sample Request Parameters:

  • origin_latitude
  • origin_longitude
  • destination_latitude
  • destination_longitude
  • language (optional)
  • country (optional)
  • key

Sample Request:

GET /directions?origin_latitude=40.712776&origin_longitude=-74.005974&destination_latitude=34.052235&destination_longitude=-118.243683&key=YOUR_API_KEY

Sample Response:

{
  "success": true,
  "data": [
    {
      "distance_meters": 4500000,
      "distance_text": "4500 km",
      "duration_seconds": 162000,
      "duration_text": "45 hours",
      "waypoints": [
        { "lat": 40.712776, "lng": -74.005974 },
        { "lat": 39.904202, "lng": 116.407394 },
        { "lat": 34.052235, "lng": -118.243683 }
      ]
    }
  ]
}

Test it: Try Directions API


Text Search API

  • Endpoint: /text_search
  • Description: Search for places and points of interest using text queries.

Sample Request Parameters:

  • query
  • latitude
  • longitude
  • language (optional)
  • country (optional)
  • key

Sample Request:

GET /text_search?query=Eiffel&latitude=48.856613&longitude=2.352222&key=YOUR_API_KEY

Sample Response:

{
  "data": [
    {
      "short_address": "Eiffel Tower",
      "long_address": "Champ de Mars, 5 Avenue Anatole France, 75007 Paris, France",
      "latitude": 48.858844,
      "longitude": 2.294351
    }
  ],
  "success": true
}

Test it: Try Text Search API


Geocode API

  • Endpoint: /geocode
  • Description: Convert addresses into geographic coordinates.

Sample Request Parameters:

  • query
  • language (optional)
  • country (optional)
  • key

Sample Request:

GET /geocode?query=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY

Sample Response:

{
  "success": true,
  "data": {
    "latitude": 37.4224764,
    "longitude": -122.0842499,
    "long_address": "1600 Amphitheatre Parkway, Mountain View, CA 94043, USA",
    "short_address": "1600 Amphitheatre Parkway"
  }
}

Test it: Try Geocode API


Reverse Geocode API

  • Endpoint: /reverse_geocode
  • Description: Convert geographic coordinates into readable addresses.

Sample Request Parameters:

  • latitude
  • longitude
  • language (optional)
  • country (optional)
  • key

Sample Request:

GET /reverse_geocode?latitude=37.4224764&longitude=-122.0842499&key=YOUR_API_KEY

Sample Response:

{
  "data": {
    "address": "1600 Amphitheatre Parkway, Mountain View, CA 94043, USA",
    "sub_address": "1600 Amphitheatre Parkway"
  },
  "success": true
}

Test it: Try Reverse Geocode API


🔗 Connect with Us!

WhatsApp Gmail LinkedIn

Remember to replace YOUR_API_KEY with your actual API key in the example links provided.