API keys
How API keys work
A StartupAPI API key authenticates StartupAPI API requests, including requests made by Claude Code.
Create a key
Open your dashboard and create one. Copy it immediately — it's shown only once.
Create a key
Use it
For raw API calls, send Authorization: Bearer. For Claude Code, save it as ANTHROPIC_AUTH_TOKEN with the Connect guide.
Open the Connect guideReplace a key
Lost or revoked a key? Create a new one, replace ANTHROPIC_AUTH_TOKEN in the managed configuration block, and open a new shell.
Common mistakes
- Not copying the keyIt's shown once. If you miss it, create a new key.
- Using ANTHROPIC_API_KEYThat variable sends X-Api-Key. StartupAPI requires Authorization: Bearer through ANTHROPIC_AUTH_TOKEN.