API
Authentication
All API requests require an API key passed in the x-api-key header.
Getting an API Key
- Sign in to ScienceStack
- Go to Settings → API
- Click "Generate API Key"
- 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
| Plan | Requests/min | Requests/day |
|---|---|---|
| Free | 10 | 100 |
| Pro | 60 | 10,000 |
| Enterprise | Custom | Custom |
Rate limit headers are included in responses:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1642531200Error Responses
| Status | Description |
|---|---|
| 401 | Missing or invalid API key |
| 403 | API key valid but lacks permission |
| 429 | Rate limit exceeded |
{
"error": {
"code": "unauthorized",
"message": "Invalid API key"
}
}