API v1.0 — Live

Automate Your
Premium Account Sales

Connect your Telegram bot or website to PremiumBhai's catalog. List products, check balances, and fulfill orders — all via a simple REST API.

🚨 API Rate Limits — Please Read Before Integrating

To ensure fair usage and system stability, all API keys are subject to the following limits. Your integration must respect 429 responses and implement proper backoff.

Endpoint Max Requests Cooldown
GET /api/buyer/products 1 90 seconds
GET /api/buyer/balance 1 90 seconds
POST /api/buyer/purchase 5 60 seconds
⚠️

Daily cap: 5,000 total API calls per key per day (resets at midnight UTC).
Exceeding any limit returns 429 Too Many Requests with a retry_after field (in seconds). Your code must wait for retry_after seconds before retrying — hammering the API with repeated requests will not bypass the limit and may result in your key being revoked.

API Endpoints

Browse products, check live stock, view your balance, and place orders.

GET /api/buyer/products

List all available products with real-time stock, pricing, and descriptions. Use the _id field as product_id when purchasing.

GET /api/buyer/balance

Check your current wallet balance in USD. Top up via the Telegram bot.

POST /api/buyer/purchase

Purchase a product using your wallet balance. Delivered account credentials are returned instantly in the response.

GET /api/buyer/products/{product_id}/stock

Check live availability for one product before ordering.

# Example: List all products
import requests

API_KEY = "tgb_your_api_key_here"
BASE_URL = "https://premiumbhai.store"

# Get products
resp = requests.get(f"{BASE_URL}/api/buyer/products", params={"api_key": API_KEY})
products = resp.json()["products"]

for p in products:
    print(f"{p['product_name']} — ${p['usdPricing']} — Stock: {p['stats']['available']}")

# Purchase a product
order = requests.post(f"{BASE_URL}/api/buyer/purchase", json={
    "api_key": API_KEY,
    "product_id": products[0]["_id"],
    "quantity": 1
})
print(order.json())

⚡ Quick Start

1

Get Your API Key

Open @Premium_Bhai_bot → Profile → API Link → Regenerate Key

2

Fund Your Wallet

Add funds via Binance Pay or Crypto in the Telegram bot. This is your purchasing balance.

3

Start Selling

Call the API endpoints from your bot or website. Products are delivered instantly via the response.