LocalSDK

Authentication

Authenticate with the LocalSDK API using Bearer tokens.

Base URL

All API requests are made to:

https://api.localsdk.com

Authentication

The LocalSDK API uses Bearer token authentication. Include your API key in the Authorization header of every request.

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.localsdk.com/api/v1/locations/current

Getting your API key

  1. Sign in to the LocalSDK Dashboard
  2. Navigate to API Keys
  3. Create or copy your key

Unauthenticated endpoints

The following endpoints do not require authentication:

EndpointDescription
GET /healthCheck if the API is running
GET /docsReturns the OpenAPI specification

Error responses

CodeDescription
401Missing or invalid API key
403API key does not have permission for this resource
429Rate limit exceeded — varies by API key tier

Rate Limits

Rate limits vary by API key tier. If you exceed your limit, the API returns a 429 status code. Contact support to increase your limits.

Data Retention

Location data is retained for 1 year. Recent data (last 7 days) is served from DynamoDB for fast access. Older data is queried from Athena/S3.

On this page