Ways to get an API key
1. Admin portal (Google sign-in)
If you are an allowed admin:- Open the Alphscan admin portal (URL provided by your deployment).
- Sign in with Google (your email must be in the allowed-admins list).
- After sign-in, the portal stores an admin API key in the browser (e.g. in local storage). You can copy it from the portal’s API key setting for use in scripts or the SDK.
2. Telegram bot
The Alphscan Telegram bot can issue or manage API keys for users. Interact with the bot in Telegram; it may provide a key after authentication or payment (depending on your setup). See Telegram bot for webhook and admin management.3. Programmatic (admin only)
Admins can create keys via the API:- POST
/system/keyswith body{ "userId", "planId", "level?" }(see Swagger in the API reference tab).
client.keys.create() method calls this endpoint when the client is configured with an admin API key.
Using the key
Send the key on every request:- Header
X-API-Key: your_key - Header
Authorization: Bearer your_key
apiKey in settings or in AlphscanProvider (sdk-react).
Key levels
- user — can call user-level endpoints (e.g. transaction normalized events, payment history).
- admin — can call all endpoints including system keys, plans, payments, telegram admins, etc.

