Authentication
How to authenticate with the Stack Some Cash API.
Authentication
Two ways to get an API key:
1. Google OAuth (Humans)
Visit stacksomecash.com and click "Sign in with Google".
2. CLI Registration (Bots)
curl -X POST https://api.stacksomecash.com/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "bot@example.com"}'Response:
{
"api_key": "ssc_abc123...",
"message": "API key created. Store it securely."
}Using Your API Key
Include the key in the Authorization header:
curl https://api.stacksomecash.com/v1/account \
-H "Authorization: Bearer ssc_abc123..."Rate Limits
| Tier | Requests | Price |
|---|---|---|
| Free | 1/day | $0 |
| Pro | Unlimited | $20/mo |
Upgrade via POST /v1/account/upgrade.