High-Speed Automation API

Bot Integration & Account Queue API

Connect your Python harvesting bots, desktop automation software, and multi-threaded worker instances with our ultra-fast account queues. Our API guarantees single-use auto-purge upon retrieval, zero account overlap between threads, and isolated storage for general accounts and Instagram bots.

0.05s
Average Response
100%
Auto-Purge Safe
Isolated
Instagram Pipeline
JSON
Standard REST

1 Authentication & Request Headers

Every automation request is cryptographically bound to an active customer license and machine HWID.

Required HTTP Headers

Header Key Required Value Description
Content-Type application/json Specifies that payload data is formatted as JSON.
Accept application/json Instructs the server to return responses exclusively in JSON format.

Payload Credentials

license_key Required

The unique license issued to the customer (e.g. LTB@zamanmithu or AT-XXXX-PRO). Verified for active status and expiration.

hwid Required

Hardware ID string of the client machine. On the very first request, the server automatically registers and locks the license to this HWID.

2 General Accounts API (Store & Fetch)

Push harvested general email/accounts into the queue or fetch them with automatic one-time consumption.

POST

/api/v1/accounts/store

Push / Ingest Accounts

Harvesting bots push newly created or farmed accounts into the customer's database. Supports single account push, JSON array bulk upload, or raw multiline text block.

Field Type Requirement Description
license_key string Required Active customer license key.
hwid string Required Registered machine Hardware ID.
email string Optional* Account email or username (for single push).
password string Optional* Account password (for single push).
2fa string Optional Two-factor secret key / TOTP token (aliases two_factor_secret).
accounts array Bulk Mode Array of objects: [{"email": "...", "password": "...", "2fa": "..."}, ...]
accounts_text string Text Mode Raw newline-separated accounts in email|password or email|password|2fa format.
Request Payload (Bulk / Single)
{
  "license_key": "LTB@zamanmithu",
  "hwid": "96ad4510-684c-45a4-b41f-ae12850589ab",
  // Option A: Single push with 2FA
  "email": "harvested_bot1@example.com",
  "password": "P@ssw0rd2026!",
  "2fa": "JBSWY3DPEHPK3PXP",
  // Option B: Bulk array push (optional)
  "accounts": [
    {"email": "user1@site.com", "password": "Pass123", "2fa": "2FASECRET1"},
    {"email": "user2@site.com", "password": "Pass456"}
  ]
}
Success Response (200 OK)
{
  "status": "success",
  "message": "Account stored successfully",
  "account": {
    "id": 80920,
    "email": "harvested_bot1@example.com",
    "2fa": "JBSWY3DPEHPK3PXP"
  }
}
POST

/api/v1/accounts/fetch

Auto-Purged Upon Consumption

Retrieves one or multiple available accounts from the customer's queue. Fetched accounts are instantly deleted from the database in the same transaction. Multiple worker threads or separate servers can call this endpoint concurrently without ever receiving duplicate accounts.

Field Type Requirement Description
license_key string Required Active customer license key.
hwid string Required Machine Hardware ID bound to this key.
count integer Optional Number of accounts to fetch (1 to 100). Default is 1.
Request Payload (JSON)
{
  "license_key": "LTB@zamanmithu",
  "hwid": "96ad4510-684c-45a4-b41f-ae12850589ab",
  "count": 1 // Optional: 1, 5, 10, etc.
}
200 OK (Purged & Consumed)
{
  "status": "success",
  "message": "Account retrieved and purged from database",
  "account": {
    "id": 78478,
    "email": "target_worker@domain.com",
    "password": "SecretP@ssword",
    "2fa": "JBSWY3DPEHPK3PXP"
  },
  "count": 1
}
404 Not Found (Queue Empty)
{"status": "error", "message": "No accounts available in queue"}

3 Instagram Dedicated Bot API (Isolated Module)

Specialized high-speed endpoints for Instagram creator bots, warmups, and direct consumption.

Isolated Table
POST

/api/v1/instagram/store

Push Instagram Accounts

Instagram account generation bots push newly farmed accounts into the dedicated instagram_accounts repository. Supports custom 2FA keys, cookies, or structured metadata within account_data.

Field Type Requirement Description
license_key string Required Customer license key.
hwid string Required Machine HWID bound to license.
username string Optional* Instagram handle or email address.
password string Optional* Account password.
2fa string Optional Two-factor secret key / TOTP token (aliases two_factor_secret).
account_data string Optional* Complete raw string (e.g. user|pass|2fa). *Either username or account_data required.
accounts array Bulk Mode Bulk array of Instagram account objects (supports 2fa).
Request Payload (JSON)
{
  "license_key": "LTB@zamanmithu",
  "hwid": "96ad4510-684c-45a4-b41f-ae12850589ab",
  "username": "growth_insta_01",
  "password": "IgStrongSecret!2026",
  "2fa": "JBSWY3DPEHPK3PXP",
  "account_data": "growth_insta_01|IgStrongSecret!2026|JBSWY3DPEHPK3PXP"
}
Success Response (200 OK)
{
  "status": "success",
  "message": "Instagram account stored successfully",
  "account": {
    "id": 1,
    "username": "growth_insta_01",
    "2fa": "JBSWY3DPEHPK3PXP"
  }
}
POST

/api/v1/instagram/fetch

Instantly Purged From Instagram DB

Instagram automation bots request available Instagram accounts. The account is instantly deleted upon fetch, ensuring only one bot worker ever touches that specific Instagram account.

Field Type Requirement Description
license_key string Required Customer license key.
hwid string Required Machine HWID bound to license.
count integer Optional Quantity of accounts to pull (1 to 100). Default is 1.
Request Payload (JSON)
{
  "license_key": "LTB@zamanmithu",
  "hwid": "96ad4510-684c-45a4-b41f-ae12850589ab",
  "count": 1
}
200 OK (Purged & Consumed)
{
  "status": "success",
  "message": "Instagram account retrieved and removed from database",
  "account": {
    "id": 1,
    "username": "growth_insta_01",
    "password": "IgStrongSecret!2026",
    "2fa": "JBSWY3DPEHPK3PXP",
    "account_data": "growth_insta_01|IgStrongSecret!2026|JBSWY3DPEHPK3PXP"
  },
  "count": 1
}

4 Production Python Integration Code

Copy-paste ready Python code with error handling, retry logic, and multi-thread safe consumption.

pip install requests
autotools_general_accounts.py
import requests
import time

# Server Configuration
API_BASE_URL = "https://www.server.bdfolio.com"
LICENSE_KEY  = "YOUR_LICENSE_KEY_HERE"
HWID         = "YOUR_HWID_OR_MACHINE_GUID"

HEADERS = {
    "Content-Type": "application/json",
    "Accept": "application/json"
}

def push_account(email, password, two_factor=None):
    """Push a newly harvested single account into the queue with optional 2FA."""
    url = f"{API_BASE_URL}/api/v1/accounts/store"
    payload = {
        "license_key": LICENSE_KEY,
        "hwid": HWID,
        "email": email,
        "password": password,
        "2fa": two_factor
    }
    resp = requests.post(url, json=payload, headers=HEADERS, timeout=10)
    data = resp.json()
    if resp.status_code == 200 and data.get("status") == "success":
        print(f"[+] Successfully pushed account: {email}")
        return True
    print(f"[-] Push failed: {data.get('message')}")
    return False

def push_bulk_accounts(accounts_list):
    """Push a batch of accounts in one high-speed HTTP request."""
    url = f"{API_BASE_URL}/api/v1/accounts/store"
    payload = {
        "license_key": LICENSE_KEY,
        "hwid": HWID,
        "accounts": accounts_list # e.g. [{"email": "a@x.com", "password": "123", "2fa": "SECRET"}]
    }
    resp = requests.post(url, json=payload, headers=HEADERS, timeout=15)
    return resp.json()

def fetch_account():
    """
    Fetches one available account and immediately purges it from the database.
    Returns (email, password, two_factor) or None if queue is empty.
    """
    url = f"{API_BASE_URL}/api/v1/accounts/fetch"
    payload = {
        "license_key": LICENSE_KEY,
        "hwid": HWID,
        "count": 1
    }
    resp = requests.post(url, json=payload, headers=HEADERS, timeout=10)
    if resp.status_code == 200:
        acc = resp.json().get("account", {})
        return acc.get("email"), acc.get("password"), acc.get("2fa")
    elif resp.status_code == 404:
        print("[*] Queue empty: No accounts available right now.")
        return None
    print(f"[-] Fetch Error: {resp.text}")
    return None

# Automation Consumer Loop Example:
if __name__ == "__main__":
    print("[*] Starting Bot Consumer Worker...")
    while True:
        account = fetch_account()
        if not account:
            time.sleep(10) # Sleep 10s if queue is empty
            continue

        email, password, two_factor = account
        print(f"[>] Working with account: {email} | Password: {password} | 2FA: {two_factor}")
        # Run your automation logic here...

5 Desktop Software License Verification

Startup verification endpoint for desktop tools with HWID binding and Death Switch security.

POST

/api/v1/verify

Field Type Description
license_key string Customer subscription license key.
hwid string Client hardware identifier (MachineGuid or Motherboard serial).
product_slug string Identifier of the software tool (e.g. web-pro).
200 Success
{"status": "success", "session_token": "..."}

Active license authorized for launch.

403 Pending
{"status": "pending", "message": "Approval required"}

Device awaits Admin HWID authorization.

403 Death Switch
{"action": "kill", "message": "Banned"}

Immediate process termination order.

6 Response Status Code Reference

Standard HTTP status codes and error representations returned by all endpoints.

Status Code Meaning Trigger Condition Action to Take
200 OK Success Request processed, account stored or retrieved. Proceed with automation task.
401 Unauthorized Authentication Failure Invalid license key, HWID mismatch, or expired key. Verify credentials in customer dashboard.
403 Forbidden Access Blocked Device permanently banned or pending admin approval. Contact admin support.
404 Not Found Queue Empty No accounts currently available in the customer queue. Sleep/backoff and poll again.
422 Unprocessable Validation Error Missing required fields (e.g. no password or account data). Correct payload JSON structure.