Documentation Index
Fetch the complete documentation index at: https://docs.thebuoy.app/llms.txt
Use this file to discover all available pages before exploring further.
Getting an API Key
API access is currently by invitation. To request credentials, email thomas@thebuoy.app. Once your request is approved, you’ll receive an API key. Store it securely — it’s shown only once and cannot be retrieved later. If you lose it, we can generate a new one, which immediately invalidates the old one.If your key is compromised, contact support to rotate it.
Using Your API Key
Include your API key in every request using theAuthorization header:
Header authentication (recommended)
Query parameter (alternative)
If you can’t set headers, pass the key as a query parameter:Public Endpoints
Two endpoints do not require authentication and are available to anyone:| Endpoint | Description |
|---|---|
GET /api/v2/buoys/search | Search buoys by name or identifier |
GET /api/v2/buoys/nearest | Find the nearest buoy to coordinates |
Authentication Errors
401 Unauthorized — missing key
401 Unauthorized — invalid key
Rate Limit Headers
Every authenticated response includes these headers so you can track your usage:| Header | Description |
|---|---|
X-RateLimit-Limit | Your hourly request quota |
X-RateLimit-Remaining | Requests remaining this hour |
X-RateLimit-Reset | Unix timestamp when the quota resets |
429 Too Many Requests: