Reverse geocoding API suggests locations matching text query and sorted by current location of customer. Full URL for requests is https://api.strues-maps.lt/v1/reverse. Only successful requests are counted towards hard limits and are billed.
point.long=long
Longitude of address or location. Longitude must be supplied in WGS84 projection, also known as EPSG 4326.
point.lat=lat
Latitude of address or location. Latitude must be supplied in WGS84 projection, also known as EPSG 4326.
size=number
Number of matching results to return.
api_key=your_personal_api_key
Api key is provided after registration. Api key is used for service configuration like hard limits and billing.
signature=your_personal_signature
Signature which must be used with api key is provided after registration.
200
- Successful response
Request was successfully. Response body contains distance and duration of the fastest route between all pairs of supplied coordinates.
400
- Bad request exception
Returned if parameters are not provided or provided in an invalid format.
401
- Unauthorized
Returned if api key or signature is invalid.
429
- Too many requests
Returned if hard limits are reached.
402
- Payment required
Returned if user has insufficient funds to make a request.
500
- Internal server error
Returned if unexpected error has occurred. We are working on it to resolve it.
Response body contains data in GeoJSON format.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
24.081432,
54.961336
]
},
"properties": {
"id": "relation/7306770",
"layer": "venue",
"source": "openstreetmap",
"name": "Kauno tarptautinis oro uostas",
"street": "Oro uosto g",
"housenumber": "4",
"confidence": 0.8,
"distance": 29,
"accuracy": "point"
},
"bbox": [
24.0509198,
54.9595084,
24.122255,
54.9669672
]
},
],
"bbox": [
23.926172,
54.915673,
24.122255,
54.9669672
]
}
type
- "FeatureCollection"
features[i]
- list of features matching query
features[i].type
- "Feature"
features[i].geometry.type
- "Point"
features[i].geometry.coordinates
- Longitude and latitude of location
or address. Coordinates must be supplied in
WGS84 projection, also known as EPSG 4326.
features[i].properties.id
- id of location or address.
features[i].properties.layer
- "venue"
features[i].properties.source
- "openstreetmap"
features[i].properties.name
- name of location or address.
features[i].properties.housenumber
- house number of location.
features[i].properties.street
- street name of location.
features[i].properties.postalcode
- postal code of location.
features[i].properties.distance
- distance from supplied coordinates in meters.
features[i].properties.confidence
:
1.0
: distance is less than 1m
0.9
: distance is less than 10m
0.8
: distance is less than 100m
0.7
: distance is less than 250m
0.6
: distance is less than 1km
0.5
: distance is more than 1km
features[i].properties.accuracy
- "point"
features[i].bbox
- bounding box of feature.
bbox
- bounding box of feature collection.