api---references

Get location by passed coordinates (v1)

Returns a location for the given coordinates with user restrictions.

get/api/v1/references/locations/by-coordinates

Request

  • Base URL: https://api.casafari.com
  • URL: https://api.casafari.com/api/v1/references/locations/by-coordinates
  • Auth: HTTP bearer

Query parameters

latitudenumber required

The latitude coordinate.

longitudenumber required

The longitude coordinate.

langstring

Language to use for the location names in the response. (When the provided language is not supported, the results will be returned in English.)

Response

location_idinteger required

ID of the location.

namestring required

Name of the location.

parent_idinteger required

ID of the parent level location.

administrative_levelstring required

Location administrative level.

Changes

No recorded changes to this operation across all 1 revision of this API.