Integrate our product catalog into your own bot or platform
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.
Parameters
| Name | Type | Description |
|---|---|---|
| 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"
}
| Name | Type | Description |
|---|---|---|
| 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
}
]
}
stats.available = 0 are currently out of stock.
Request Body (JSON)
| Name | Type | Description |
|---|---|---|
| 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
Error Response
{
"error": {
"message": "Insufficient balance. Need $3.20, have $1.00"
}
}
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}'