Back to Documentation

API Authentication

Learn how to authenticate with the UXFeed API.

Overview

The UXFeed API uses API keys for authentication. All API requests must include your API key in the request headers.

Getting Your API Key

  1. Log in to your UXFeed account
  2. Navigate to Settings → API
  3. Click "Generate API Key"
  4. Copy and securely store your API key

Important: API keys are only shown once. Store them securely. If you lose your key, you'll need to generate a new one.

Using Your API Key

Include your API key in the Authorization header of all requests:

Authorization: Bearer YOUR_API_KEY_HERE

Example Request

curl https://api.uxfeed.com/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"

Rate Limits

API requests are rate-limited to ensure fair usage:

  • Free Plan: 100 requests per hour
  • Pro Plan: 1,000 requests per hour
  • Team Plan: 10,000 requests per hour

Rate limit information is included in response headers:

X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200

Error Responses

Authentication errors return a 401 status code:

{
  "error": "Unauthorized",
  "message": "Invalid or missing API key"
}

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables to store API keys
  • Rotate API keys regularly
  • Revoke compromised keys immediately
  • Use HTTPS for all API requests