Find the closest active buoy(s) to a given latitude and longitude within a maximum distance.
Uses an optimized two-step approach:
Performance: Optimized for speed using bounding box pre-filtering.
Limit: Use the limit parameter to control how many results are returned (default: 1, max: 20).
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Format: Authorization: Bearer YOUR_API_KEY
Alternative: Pass as query parameter ?api_key=YOUR_API_KEY
Security: API keys are stored as BCrypt hashes (never plain text). Only the hash is stored in the database.
Latitude in decimal degrees (-90 to 90)
-90 <= x <= 90Longitude in decimal degrees (-180 to 180)
-180 <= x <= 180Maximum search radius in kilometers (default: 150)
x >= 0Maximum number of results to return (default: 1, max: 20)
1 <= x <= 20