Authentication

Secure your API requests with bearer token authentication

Plus Plan Feature
API Access

The LunaNotes API is available on our premium plans. Upgrade to Plus to get your API key and start building integrations.

Rate Limiting

API requests are limited to 30 requests per second per API key. Exceeding this limit will result in a 429 status code.

Authentication Method

All API requests must include your API key in the Authorization header using the Bearer authentication scheme.

Header Format

Authorization: Bearer YOUR_API_KEY

Header Details

HeaderValueRequired
AuthorizationBearer YOUR_API_KEYrequired

Code Examples

curl https://api.lunanotes.com/v1/notes \
  -H "Authorization: Bearer YOUR_API_KEY"

Security Best Practices

  • • Never expose your API key in client-side code or public repositories
  • • Store API keys securely using environment variables
  • • Rotate your API keys regularly
  • • Use HTTPS for all API requests
Next Steps

Ready to start making API requests? Explore our available endpoints.