Validate keys from your software with one request, and manage keys from your own backend with a token that only has the permissions you give it.
POST or GET the project id, key and device id. The reply says whether the key is valid, why not, when it ends, its tier and fields, and whether an update is available. Every reply carries rate-limit headers.
Replies are signed with HMAC-SHA256, so your server can verify them. A second signature also covers the tier and custom fields.
The Management API creates keys in bulk, looks them up, extends, pauses, revokes, resets devices and manages bans. Tokens have scopes (read, create, update, delete) and can expire, so a bot that only hands out keys cannot delete anything.
Key checks allow 120 requests a minute per IP address and per key. Responses include X-RateLimit headers and a Retry-After on 429.
The key-check endpoints allow cross-origin requests, so browser and Electron apps can use them. Never put a Management API token in code you ship to users.
Compute an HMAC-SHA256 of the answer fields with your project's signing secret and compare it with the signature. The docs show the exact string and code.