AIMaker Reseller API

Integrate our product catalog into your own bot or platform

https://api.aimaker.live
Authentication

All requests require an API key. Pass it as a key query parameter (GET) or in the JSON body (POST). Contact @AIMaker_support to get your API key.

Your balance in the Telegram bot is your API balance. Top up via the bot, spend via the API.
Endpoints
GET /api/telegram-buyer/balance Check your balance

Parameters

NameTypeDescription
key required string Your API key

Example Request

GET https://api.aimaker.live/api/telegram-buyer/balance?key=YOUR_API_KEY

Response

{
  "balance": 125.50,
  "balanceText": "$125.50",
  "usdtBalance": 125.50,
  "currency": "USD"
}
GET /api/telegram-buyer/products List available products
NameTypeDescription
key required string Your API key

Example Request

GET https://api.aimaker.live/api/telegram-buyer/products?key=YOUR_API_KEY

Response

{
  "products": [
    {
      "_id": "42",
      "product_name": "ChatGPT Plus | 1M | To your account",
      "category": "ChatGPT",
      "usdPricing": 3.20,
      "pricing": 3.20,
      "walletCurrency": "USD",
      "stats": { "available": 156 },
      "isSlotProduct": false
    }
  ]
}
Note: Only auto-delivery products are listed. Products with stats.available = 0 are currently out of stock.
POST /api/telegram-buyer/purchase Purchase a product

Request Body (JSON)

NameTypeDescription
key required string Your API key
product_id required string Product ID from /products endpoint (_id field)
quantity integer Number of items to purchase (default: 1)

Example Request

POST https://api.aimaker.live/api/telegram-buyer/purchase
Content-Type: application/json

{
  "key": "YOUR_API_KEY",
  "product_id": "42",
  "quantity": 1
}

Success Response

{
  "orderCode": "ORD-20260415-0012",
  "deliveredAccounts": [
    {
      "user": "account@email.com",
      "password": "p4ssw0rd",
      "verifyEmail": ""
    }
  ],
  "totalCharged": 3.20,
  "quantity": 1
}

Status Codes

200 — Purchase successful

400 — Bad request (missing fields, manual product)

401 — Invalid API key

402 — Insufficient balance

404 — Product not found

500 — Purchase failed (upstream error)

Error Response

{
  "error": {
    "message": "Insufficient balance. Need $3.20, have $1.00"
  }
}
Code Examples
Python
Node.js
cURL
import aiohttp
import asyncio

API_KEY = "YOUR_API_KEY"
BASE    = "https://api.aimaker.live"

async def main():
    async with aiohttp.ClientSession() as s:
        # Get balance
        async with s.get(
            f"{BASE}/api/telegram-buyer/balance",
            params={"key": API_KEY}
        ) as r:
            balance = await r.json()
            print(f"Balance: ${balance['balance']}")

        # Get products
        async with s.get(
            f"{BASE}/api/telegram-buyer/products",
            params={"key": API_KEY}
        ) as r:
            data = await r.json()
            for p in data["products"]:
                print(f"{p['product_name']} — ${p['usdPricing']} [{p['stats']['available']}]")

        # Purchase
        async with s.post(
            f"{BASE}/api/telegram-buyer/purchase",
            json={
                "key": API_KEY,
                "product_id": "42",
                "quantity": 1
            }
        ) as r:
            result = await r.json()
            if "error" in result:
                print(f"Error: {result['error']['message']}")
            else:
                print(f"Order: {result['orderCode']}")
                for acc in result["deliveredAccounts"]:
                    print(f"  {acc['user']}:{acc['password']}")

asyncio.run(main())
const API_KEY = "YOUR_API_KEY";
const BASE = "https://api.aimaker.live";

// Get balance
const bal = await fetch(
  `${BASE}/api/telegram-buyer/balance?key=${API_KEY}`
).then(r => r.json());
console.log(`Balance: $${bal.balance}`);

// Get products
const { products } = await fetch(
  `${BASE}/api/telegram-buyer/products?key=${API_KEY}`
).then(r => r.json());
products.forEach(p =>
  console.log(`${p.product_name} — $${p.usdPricing} [${p.stats.available}]`)
);

// Purchase
const result = await fetch(`${BASE}/api/telegram-buyer/purchase`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    key: API_KEY,
    product_id: "42",
    quantity: 1
  })
}).then(r => r.json());

if (result.error) {
  console.log(`Error: ${result.error.message}`);
} else {
  console.log(`Order: ${result.orderCode}`);
  result.deliveredAccounts.forEach(a =>
    console.log(`  ${a.user}:${a.password}`)
  );
}
# Balance
curl "https://api.aimaker.live/api/telegram-buyer/balance?key=YOUR_API_KEY"

# Products
curl "https://api.aimaker.live/api/telegram-buyer/products?key=YOUR_API_KEY"

# Purchase
curl -X POST "https://api.aimaker.live/api/telegram-buyer/purchase" \
  -H "Content-Type: application/json" \
  -d '{"key":"YOUR_API_KEY","product_id":"42","quantity":1}'
Rate Limits & Notes
Rate limit: 60 requests per minute per API key.

Partial purchases: If requested quantity exceeds stock, the API will deliver what's available and charge only for delivered items.

Balance: Top up your balance via the @aimaker_shop_bot Telegram bot.

Support: @AIMaker_support