Location
Location-related operations
Returns pins within a specified radius of a geographic location using PostGIS spatial queries. Radius is in meters.
Query parameters
latstringRequiredExample:
Latitude in decimal degrees (will be parsed as a number)
40.735554lonstringRequiredExample:
Longitude in decimal degrees (will be parsed as a number)
-73.987968radiusstring · max: 100000OptionalDefault:
Search radius in meters (default: 1000m / 1km, min: 0m, max: 100,000m, will be parsed as a number)
1000Example: 200Responses
200
List of nearby pins with distances
application/json
500
Internal server error
application/json
get
/location/pinsGET /api/location/pins?lat=text&lon=text HTTP/1.1
Host:
Accept: */*
{
"pins": [
{
"id": 1,
"title": "text",
"latitude": 1,
"longitude": 1,
"geoPose": {},
"contentType": "APK",
"contentUrl": "text",
"localizationData": {
"trackingMode": "WORLD",
"worldmapURL": "https://example.com"
},
"zoneId": 1,
"gcpId": 1,
"createdAt": "2025-11-28T11:24:33.821Z",
"updatedAt": "2025-11-28T11:24:33.821Z",
"distance": 123.45
}
]
}