Key and place
One active key per account, used from one place at a time.
The key
Format: tgm_live_<prefix>_<secret> (8-character prefix, 43-character secret). The secret is shown only once, at creation; the prefix identifies the key in your panel.
- Keep it in an environment variable (
TGM_API_KEY) or a secret manager, never in committed code. - Send it only in the
Authorization: Bearerheader; a key in a URL gets400 KEY_IN_QUERYand must be replaced. - Never use it in a browser or in an app you give to others.
Replacing the key
Replace it in your panel up to 5 times a day, even while it is locked. The old key stops within seconds (401 KEY_REVOKED); your plan does not change.
One place at a time
A place is one address: an IPv4, or an IPv6 /64 block. One family at a time.
- The first data call made with the key defines the place. Your panel shows it.
- Calls from any other address, including the other IP family of the same machine, get
403 IP_NOT_ALLOWED;seen_ipis the address we saw. A refused call never locks the key. - To move, release the place in your panel (up to 3 times a day): the next data call defines the new one.
seen_ip. Force one family (for example curl -4) to keep the place stable.Proxies and shared addresses
Shared egress networks, such as proxy services and serverless platforms, get 403 PROXY_NOT_SUPPORTED. Call from your own server or connection.
Locked keys
403 KEY_LOCKED says why in reason:
reason | Why | Until when |
|---|---|---|
rate_abuse | Kept calling after 429 instead of waiting. | locked_until and Retry-After say when. |
region_jump | Used from places far apart in a short time, as when a key leaks. | Until you replace the key (locked_until is null). |
manual | We locked it. | Until we release it. |
Plan and account
Your panel shows the key prefix, the place, the modules in force with their end date and today’s units. Every answer also carries X-Quota-Remaining (units left today).
- Plan ended: data calls get
403 PLAN_EXPIRED. Order again on the plan page; the key stays the same. - Suspended account:
403 ACCOUNT_SUSPENDED. Contact us through the feedback chat on the site.