Authentication and keys
Create, use and rotate your dataset keys.
Get a key
Verify your email, start Free or choose a plan, then create a key. Free starts at once; payment confirmation starts a paid plan. Copy the key once; only its hash is stored.
No account? Pay per call in USDC instead.
Send the key
bash
export GLOOM_DATASETS_KEY=gds_...
curl https://api.gloom.sh/v1/gpu/prices \
-H "Authorization: Bearer $GLOOM_DATASETS_KEY"Keep keys server-side. x-api-key also works; Authorization takes precedence.
Key format
Use gds_. Gloom Pro (gloom_mcp_) and News (gloom_news_) keys return 401 wrong_key; other invalid keys return 401 invalid_key. Dataset keys also read the News API at no credit cost.
Rotate or revoke
Create a replacement, update your environment, then revoke the old key. Revoked or lost keys cannot be recovered.