Skip to main content
GET
/
locations
/
geodata
Fetch Geo Data by Lat & Lon
curl --request GET \
  --url http://staging.qshop.ng/apiv2/locations/geodata
{
  "msg": "<string>",
  "data": {
    "geoNames": [
      {
        "lng": "<string>",
        "geonameId": 123,
        "name": "<string>",
        "fclName": "<string>",
        "toponymName": "<string>",
        "fcodeName": "<string>",
        "adminName1": "<string>",
        "lat": "<string>",
        "fcl": "<string>",
        "fcode": "<string>",
        "population": 123,
        "adminCode1": "<string>",
        "countryId": "<string>",
        "countryCode": "<string>",
        "countryName": "<string>",
        "adminCodes1": {
          "ISO3166_2": "<string>"
        }
      }
    ]
  },
  "success": true
}

Query Parameters

longitude
string
latitude
string

Response

200 - application/json
msg
string
required
data
object
required
success
boolean
required