Gemini 3 Months Reseller API

Base URL: https://subcription.online/api/v1/gemini-3m

Authentication

Use a valid Gemini 3 Months CDK as the API credential:

Authorization: Bearer YOUR_G3M_CDK

Alternative header:

X-CDK-Key: YOUR_G3M_CDK
Backend integration is recommended. Direct browser calls are supported through CORS, but never hard-code a shared CDK in public JavaScript; use only the CDK entered by that customer.

Reliability, rate limits and retries

For POST /tasks and POST /batch/tasks, send a new Idempotency-Key5xx response.

Idempotency-Key: 550e8400-e29b-41d4-a716-446655440000

The key must be 8–128 URL-safe characters. A matching retry returns the original response with Idempotency-Replayed: true; a reused key with a different body returns 409 idempotency_conflict. This prevents duplicate tasks and duplicate CDK use.

Limits are applied per CDK, not per shared reseller IP. Customer-initiated checks take priority over background synchronization. On 429, wait for the seconds stated in Retry-After or JSON retry_after before retrying. Suggested polling: one task every 8–15 seconds, or /batch/status every 10 seconds.

Active tasks are also synchronized automatically in the background. A check may temporarily return the last confirmed state while a fresh result is unavailable. Keep the task visible and retry after the indicated delay; do not treat a pending task as a final result.
If a provider request times out, the API may return 202 submission_outcome_unknown. Do not generate a new request or change the key; retry later with the same Idempotency-Key.

Endpoint overview

MethodEndpointFunction
GET/balanceVerify a CDK and get its quota plus the shared queue.
GET/queueGet the shared waiting and processing counts.
POST/tasksSubmit one account.
POST/tasks/{task_id}/cancelCancel a pending task and refund 1 use.
GET/tasksList the authenticated CDK's latest tasks.
GET/tasks/{task_id}Refresh and read one task.
POST/batch/checkCheck up to 200 CDKs.
POST/batch/tasksSubmit up to 200 CDK/account pairs.
POST/batch/statusRefresh up to 200 tasks.
POST/cdk/replaceDestroy the current CDK and issue a clean replacement.
POST/cdk/mergeMerge 2–100 CDKs into one new CDK.
POST/cdk/splitSplit one CDK evenly or by a custom distribution.

GET/balance

curl -H "Authorization: Bearer YOUR_G3M_CDK" \
  https://subcription.online/api/v1/gemini-3m/balance
{
  "success": true,
  "product": "gemini_3_months",
  "total_uses": 100,
  "used_uses": 12,
  "remaining_uses": 88,
  "queue": {"queued": 52, "subscribing": 4, "updated_at": 1795140000}
}

GET/queue

Returns the combined public processing queue. Counts include all jobs handled by the service, while processing-source details remain private.

curl -H "Authorization: Bearer YOUR_G3M_CDK" \
  https://subcription.online/api/v1/gemini-3m/queue
{
  "success": true,
  "queue": {
    "queued": 52,
    "subscribing": 4,
    "updated_at": 1795140000
  }
}

queued is the number waiting; subscribing is the number currently being processed. Refresh every 10–15 seconds.

POST/tasks

Authenticator secret

curl -X POST https://subcription.online/api/v1/gemini-3m/tasks \
  -H "Authorization: Bearer YOUR_G3M_CDK" \
  -H "Idempotency-Key: YOUR-UNIQUE-REQUEST-ID" \
  -H "Content-Type: application/json" \
  -d '{
    "email":"account@gmail.com",
    "password":"CURRENT_PASSWORD",
    "verification_method":"authenticator",
    "secret_key":"BASE32_SECRET"
  }'

Two backup codes

{
  "email": "account@gmail.com",
  "password": "CURRENT_PASSWORD",
  "verification_method": "backup_code",
  "backup_code_1": "12345678",
  "backup_code_2": "87654321"
}

Both backup codes must contain exactly 8 digits and must be different. One accepted task consumes one use. A provider failure or cancellation refunds that use.

{
  "success": true,
  "task": {
    "task_id": 1421,
    "email": "account@gmail.com",
    "status": "pending",
    "remaining_uses": 87,
    "queue_position": 52,
    "queue_total": 52
  }
}
Submitting the same email again with the same CDK returns the existing task with "duplicate": true; it does not consume another use.

GET/tasks/{task_id}

curl -H "Authorization: Bearer YOUR_G3M_CDK" \
  https://subcription.online/api/v1/gemini-3m/tasks/1421
{
  "success": true,
  "task": {
    "task_id": 1421,
    "email": "account@gmail.com",
    "status": "success",
    "message": "Activation completed",
    "error_code": "",
    "result_url": "",
    "refunded": false,
    "remaining_uses": 87,
    "queue_position": null,
    "queue_total": 52
  }
}

Possible statuses: pending, running, success, failed, cancelled. A newly submitted pending task receives its current queue position in the submit response when the position is available. The position may later change as other tasks complete. queue_position can still be null when the task is outside the measured waiting queue or a fresh position is unavailable. queue_total is the current total waiting. Poll every 8–15 seconds; do not poll every second. If a refresh is deferred, preserve the task and retry using retry_after when provided.

POST/tasks/{task_id}/cancel

Cancels a task that is still waiting in the queue (status: "pending") and automatically refunds 1 use back to the CDK. Rate limit: 120 requests/minute per CDK.

curl -X POST https://subcription.online/api/v1/gemini-3m/tasks/1421/cancel \
  -H "Authorization: Bearer YOUR_G3M_CDK"
{
  "success": true,
  "cancelled": 1,
  "remaining_uses": 88,
  "task": {
    "task_id": 1421,
    "email": "account@gmail.com",
    "status": "cancelled",
    "message": "Activation could not be completed.",
    "error_code": "cancelled",
    "result_url": "",
    "refunded": true,
    "remaining_uses": 88,
    "queue_position": null,
    "queue_total": 0
  }
}
Once a task has entered the running or standby execution queue, cancellation is rejected with HTTP 409 and "error_code": "cannot_cancel_in_queue".

GET/tasks?limit=50

Returns up to 100 latest tasks owned by the authenticated CDK. Every task includes queue_position and queue_total. This endpoint returns cached task state; use GET /tasks/{task_id} when a live task refresh is required.

{
  "success": true,
  "remaining_uses": 87,
  "tasks": [
    {
      "task_id": 1421,
      "email": "account@gmail.com",
      "status": "pending",
      "status_text": "Waiting for a device",
      "error_code": "",
      "refunded": false,
      "queue_position": 12,
      "queue_total": 52
    }
  ]
}

POST/batch/check

Check 1–200 CDKs in one request. No Authorization header is required because every submitted CDK authenticates itself.

{
  "cdks": ["G3M-FIRST", "G3M-SECOND"],
  "cursor": 0
}

The response contains validity, total/used/remaining uses, task count and the latest task for each line. If has_active is true, call again after 10 seconds with the returned next_cursor.

{
  "success": true,
  "total": 2,
  "valid": 1,
  "invalid": 1,
  "has_active": true,
  "next_cursor": 0,
  "results": [
    {
      "line": 1,
      "ok": true,
      "key_mask": "G3M-…IRST",
      "total": 2,
      "used": 1,
      "remaining": 1,
      "task_count": 1,
      "latest_task": {"task_id":1422,"status":"pending","email":"first@gmail.com"}
    },
    {"line":2,"ok":false,"error_code":"invalid_cdk","message":"Invalid or unknown CDK."}
  ]
}

POST/batch/tasks

Submit 1–200 CDK/account pairs atomically. If validation fails on any line, no task is submitted. Send one Idempotency-Key for the complete batch and reuse it only to retry the identical batch.

{
  "entries": [
    {
      "cdk": "G3M-FIRST",
      "email": "first@gmail.com",
      "password": "PASSWORD",
      "verification_method": "authenticator",
      "secret_key": "BASE32_SECRET"
    },
    {
      "cdk": "G3M-SECOND",
      "email": "second@gmail.com",
      "password": "PASSWORD",
      "verification_method": "backup_code",
      "backup_code_1": "12345678",
      "backup_code_2": "87654321"
    }
  ]
}
{
  "success": true,
  "accepted": 2,
  "rejected": 0,
  "total": 2,
  "tasks": [
    {"line":1,"task_id":1422,"email":"first@gmail.com","status":"pending","remaining":0},
    {"line":2,"task_id":1423,"email":"second@gmail.com","status":"pending","remaining":0}
  ]
}

POST/batch/status

Track up to 200 tasks. Every task is verified against its own CDK; mismatched pairs are never returned.

{
  "tasks": [
    {"cdk":"G3M-FIRST","task_id":1422},
    {"cdk":"G3M-SECOND","task_id":1423}
  ],
  "cursor": 0
}

At most 8 active tasks are refreshed upstream per call; all up to 200 tasks are returned from the current local state. Each returned task includes queue_position and queue_total. Poll every 10 seconds and send the returned next_cursor. This batch endpoint is preferred over polling each task individually.

{
  "success": true,
  "next_cursor": 0,
  "tasks": [
    {
      "task_id": 1422,
      "email": "first@gmail.com",
      "status": "failed",
      "status_text": "Incorrect password",
      "error_code": "wrong_password",
      "refunded": true,
      "remaining": 1,
      "queue_position": null,
      "queue_total": 0
    }
  ]
}

Error contract

All API errors are English and return success:false, a stable error_code and a human-readable message. Important retry codes: rate_limited, upstream_unavailable, submission_outcome_unknown and provider_status_unconfirmed. Account/action errors such as wrong_password, invalid_2fa, payment_profile_exists, captcha_blocked and google_one_already_active should be shown to the customer in your own language.

{
  "success": false,
  "error_code": "rate_limited",
  "message": "Rate limit exceeded. Please retry later.",
  "retry_after": 60
}

CDK management rules

Replace, merge and split use the same restrictions as the CDK website:

POST/cdk/replace

Use the CDK being replaced in the Authorization header. The request body may be empty.

curl -X POST https://subcription.online/api/v1/gemini-3m/cdk/replace \
  -H "Authorization: Bearer G3M-OLD-KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "action": "replace",
  "output_count": 1,
  "total_remaining": 8,
  "keys": [{"cdk":"G3M-NEW-KEY","remaining":8}]
}
The old CDK and its task history are deleted. The replacement receives only the remaining uses and starts with empty task history.

POST/cdk/merge

The Authorization CDK is the first input. Send the other 1–99 unique CDKs in cdks. All input keys are invalidated and one rotated key is returned.

curl -X POST https://subcription.online/api/v1/gemini-3m/cdk/merge \
  -H "Authorization: Bearer G3M-FIRST" \
  -H "Content-Type: application/json" \
  -d '{"cdks":["G3M-SECOND","G3M-THIRD"]}'
{
  "success": true,
  "action": "merge",
  "input_count": 3,
  "output_count": 1,
  "total_remaining": 12,
  "keys": [{"cdk":"G3M-MERGED-KEY","remaining":12}]
}

Task history and duplicate-submission guards from the input CDKs are retained under the merged CDK.

POST/cdk/split

Use the source CDK in the Authorization header. Choose exactly one split mode.

Equal split

{"quantity": 3}

The service distributes all remaining uses as evenly as possible; any remainder is assigned to the first keys.

Custom split

{"parts": [2, 3, 5]}

Each part must be a positive integer and the sum must equal all remaining uses. Both modes create 2–100 keys.

{
  "success": true,
  "action": "split",
  "distribution": "custom",
  "output_count": 3,
  "total_remaining": 10,
  "keys": [
    {"cdk":"G3M-SPLIT-1","remaining":2},
    {"cdk":"G3M-SPLIT-2","remaining":3},
    {"cdk":"G3M-SPLIT-3","remaining":5}
  ]
}

The source key is rotated into the first returned key. Its existing task history stays with that first key; the other output keys start with empty history.

Frontend use

CORS is enabled for this API. A reseller site can use fetch() from its own domain. Single mode sends the customer's CDK in the Authorization header; batch mode sends one CDK inside each entry. The API does not use cookies.

HTTP status codes

StatusMeaning
200Request succeeded or an existing duplicate task was returned.
201New task accepted.
400Invalid email, password or 2FA data.
401Missing or invalid CDK.
403Disabled CDK or wrong product.
404Task does not belong to this CDK.
409No remaining uses, active task, refund history, or an invalid split total.
429Rate limit exceeded.
502/504Provider unavailable or timed out.

Error format

{
  "success": false,
  "error_code": "invalid_2fa",
  "message": "Valid 2FA credentials are required."
}

Task error codes are returned unchanged when available, including wrong_password, 2fa_not_enabled, invalid_2fa, 2fa_option_unavailable_need_backup, 2fa_option_unavailable_need_totp, 2fa_option_unavailable, parental_supervision, payment_risk_blocked, system_channel_error, captcha_blocked, payment_profile_exists, google_one_already_active, login_notification_denied, backup_code_not_enabled, name_field_not_found, cannot_cancel_in_queue, task_not_cancelable, network_error and unknown_error.

CDK-management errors include active_tasks, refund_history, invalid_merge, invalid_split, insufficient_split_quota and split_total_mismatch.