Juno
Developer Portal

Authentication

The Juno Developer API uses a single API Key for authentication. Every request must include your API Key in the X-API-Key request header.

Headers

HeaderDescription
X-API-KeyYour private API Key used to authenticate requests.

Example

curl -X GET "https://api.usejuno.io/v1/developer/rankings" \
  -H "X-API-Key: your_api_key_here"

Obtaining Credentials

API credentials are generated directly from your Juno dashboard:

  1. Log in to your Juno account.
  2. Navigate to Settings.
  3. Click on the Developer tab.
  4. Click Generate New API Key.
  5. Copy the key immediately and store it securely.

⚠️ Caution: Your API Key carries the same privileges as your user account. Keep it secret. Do not expose it in client-side code or public repositories.

Security Best Practices

  • Store credentials in environment variables or a secrets manager.
  • Use server-to-server calls. Do not expose credentials in client-side code.
  • Rotate keys immediately if a compromise is suspected.

Error Responses

StatusMeaning
401Missing or invalid credentials
{
  "statusCode": 401,
  "message": "Unauthorized"
}