API

Authentication

All API requests require an API key passed in the x-api-key header.

Getting an API Key

  1. Sign in to ScienceStack
  2. Go to Settings → API
  3. Click "Generate API Key"
  4. Copy and store your key securely

Warning: API keys are shown only once. Store them securely — you won't be able to view them again.

Using Your API Key

Include the x-api-key header in all requests:

curl -X GET "https://sciencestack.ai/api/v1/papers/1706.03762" \
  -H "x-api-key: sk_live_your_key_here"

Rate Limits

PlanRequests/minRequests/day
Free10100
Pro6010,000
EnterpriseCustomCustom

Rate limit headers are included in responses:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1642531200

Error Responses

StatusDescription
401Missing or invalid API key
403API key valid but lacks permission
429Rate limit exceeded
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid API key"
  }
}
    Authentication