๐ก IPTV Trial API
Programmatically generate IPTV trial accounts across every panel you have access to. Authenticate once with your master API key โ pick the panel via the URL path.
Base URL
https://automaticiptv.com/api/v1
Workflow
- Grab your API key from /api-key (login required, one-time setup).
- Call
GET /api/v1/panelsto see which IPTV panels you can use. - Hit
POST /api/v1/trial/{iptv_key}with a customer email โ trial credentials come back as JSON.
๐ Authentication
Every request requires your API key sent as a Bearer token. The X-API-Key header is also accepted.
curl https://automaticiptv.com/api/v1/panels \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch("https://automaticiptv.com/api/v1/panels", { headers: { "Authorization": "Bearer YOUR_API_KEY" } }); const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/panels"); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"], ]); $data = json_decode(curl_exec($ch), true);
import requests resp = requests.get( "https://automaticiptv.com/api/v1/panels", headers={"Authorization": "Bearer YOUR_API_KEY"}, ) print(resp.json())
โฑ๏ธ Rate Limits
60 requests per minute per API key. Excess calls receive HTTP 429
with a Retry-After header (seconds). Every successful response includes:
| Header | Meaning |
|---|---|
X-RateLimit-Limit | Total allowed per minute. |
X-RateLimit-Remaining | Calls still allowed in the current minute. |
Retry-After | Seconds until the bucket resets โ only on 429. |
Trial creation is additionally throttled by your per-panel cooldown setting (same email + same panel cannot generate twice inside the window).
โ ๏ธ Error Codes
All errors come back as JSON with success: false and an error message. HTTP status indicates the failure class.
| Status | Meaning |
|---|---|
400 | Unknown iptv_key in URL. |
401 | Missing or invalid API key. |
402 | Subscription expired. |
403 | API disabled, account banned, or no access to this panel. |
405 | Wrong HTTP method. |
422 | Invalid email or missing required field. |
429 | Rate limit OR per-email cooldown active. |
502 | Trial generation failed at the IPTV panel (captcha, panel down). |
503 | Backend mis-configured. |
๐ฏ Create Trial
Generates a new trial line on the chosen panel and (optionally) queues the credentials email.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
iptv_key | string | Required | One of the values from Panel Keys. |
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Required | Customer email โ also used for cooldown bucketing. |
send_email | boolean | Optional | Default true. false returns credentials in JSON only โ no delivery email. |
website | string | Optional | URL used to render {website} and {download} placeholders in the email template. |
Request example
curl -X POST https://automaticiptv.com/api/v1/trial/opplex_trial \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]","send_email":true}'
const res = await fetch("https://automaticiptv.com/api/v1/trial/opplex_trial", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ email: "[email protected]", send_email: true }) }); const data = await res.json(); console.log(data);
$ch = curl_init("https://automaticiptv.com/api/v1/trial/opplex_trial"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json", ], CURLOPT_POSTFIELDS => json_encode([ "email" => "[email protected]", "send_email" => true, ]), ]); $data = json_decode(curl_exec($ch), true);
import requests resp = requests.post( "https://automaticiptv.com/api/v1/trial/opplex_trial", headers={"Authorization": "Bearer YOUR_API_KEY"}, json={"email": "[email protected]", "send_email": True}, ) print(resp.json())
Success response โ 200
{
"success": true,
"iptv_key": "opplex_trial",
"iptv_name": "Opplex IPTV Panel",
"data": {
"server": "http://yourserver.com:8080",
"username": "trial_a1b2c3",
"password": "x9k2m",
"expiry": "24 Hours",
"m3u_url": "http://yourserver.com:8080/get.php?username=...&type=m3u_plus",
"connections": "1"
},
"email_queued": true,
"cooldown": false
}๐บ List Panels
Returns every IPTV panel in the system together with your has_access flag โ handy for building a panel picker.
Request example
curl https://automaticiptv.com/api/v1/panels \
-H "Authorization: Bearer YOUR_API_KEY"const data = await (await fetch("https://automaticiptv.com/api/v1/panels", { headers: { "Authorization": "Bearer YOUR_API_KEY" } })).json();
$ch = curl_init("https://automaticiptv.com/api/v1/panels"); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"], ]); $data = json_decode(curl_exec($ch), true);
import requests data = requests.get( "https://automaticiptv.com/api/v1/panels", headers={"Authorization": "Bearer YOUR_API_KEY"}, ).json()
Success response โ 200
{
"success": true,
"panels": [
{
"iptv_key": "opplex_trial",
"iptv_name": "Opplex IPTV Panel",
"has_access": true,
"endpoints": {
"trial": "/api/v1/trial/opplex_trial",
"paid": "/api/v1/paid/opplex_trial",
"extend": "/api/v1/extend/opplex_trial",
"status": "/api/v1/status/opplex_trial"
}
}
]
}๐ Panel Status
Returns the cached panel-login state plus your account summary. Cheap โ never triggers a live ping.
Request example
curl https://automaticiptv.com/api/v1/status/opplex_trial \
-H "Authorization: Bearer YOUR_API_KEY"const data = await (await fetch("https://automaticiptv.com/api/v1/status/opplex_trial", { headers: { "Authorization": "Bearer YOUR_API_KEY" } })).json();
$ch = curl_init("https://automaticiptv.com/api/v1/status/opplex_trial"); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_API_KEY"], ]); $data = json_decode(curl_exec($ch), true);
Success response โ 200
{
"success": true,
"iptv_key": "opplex_trial",
"iptv_name": "Opplex IPTV Panel",
"has_access": true,
"panel_logged_in": "logged_in",
"session_started_at": 1735420000,
"session_age_sec": 3600,
"account": {
"email": "[email protected]",
"role": "user",
"subscription_ends": "2026-12-31",
"last_used_at": "2026-06-26 15:32:11",
"rate_limit_per_min": 60
}
}๐ Create Paid Line
Create a new paid subscription line on the chosen panel using your saved panel credentials. Authenticates with your API key โ no session or CSRF token needed.
curl -X POST https://automaticiptv.com/api/v1/paid/panel_starsharetv \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"plan":"1m"}'
const res = await fetch("https://automaticiptv.com/api/v1/paid/panel_starsharetv", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ plan: "1m" }), }); const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/paid/panel_starsharetv"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json", ], CURLOPT_POSTFIELDS => json_encode(["plan" => "1m"]), ]); $data = json_decode(curl_exec($ch), true);
import requests resp = requests.post( "https://automaticiptv.com/api/v1/paid/panel_starsharetv", headers={"Authorization": "Bearer YOUR_API_KEY"}, json={"plan": "1m"}, ) print(resp.json())
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
plan | string | Required | 1m ยท 3m ยท 6m ยท 12m |
mac | string | MAC panels only | Customer device MAC โ required for Glo IPTV. Format: AA:BB:CC:DD:EE:FF. |
Success response โ 200
{
"success": true,
"iptv_key": "panel_starsharetv",
"iptv_name": "StarShare TV",
"subscription": {
"username": "739281046",
"password": "284736102",
"plan": "1m",
"plan_label": "1 Month",
"subscription_expires_at": "2026-12-14 10:30:00",
"server_url": "http://ss.example.com:8080",
"m3u_link": "http://ss.example.com:8080/get.php?username=...&type=m3u_plus"
}
}โฐ Extend Line
Extend an existing paid line. The new duration is added on top of the current expiry โ not from today. The line must already exist on the panel (created via API or dashboard).
curl -X POST https://automaticiptv.com/api/v1/extend/panel_starsharetv \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"username":"739281046","plan":"1m"}'
const res = await fetch("https://automaticiptv.com/api/v1/extend/panel_starsharetv", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json", }, body: JSON.stringify({ username: "739281046", plan: "1m" }), }); const data = await res.json();
$ch = curl_init("https://automaticiptv.com/api/v1/extend/panel_starsharetv"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ "Authorization: Bearer YOUR_API_KEY", "Content-Type: application/json", ], CURLOPT_POSTFIELDS => json_encode([ "username" => "739281046", "plan" => "1m", ]), ]); $data = json_decode(curl_exec($ch), true);
import requests resp = requests.post( "https://automaticiptv.com/api/v1/extend/panel_starsharetv", headers={"Authorization": "Bearer YOUR_API_KEY"}, json={"username": "739281046", "plan": "1m"}, ) print(resp.json())
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
username | string | Required | The customer's existing username on this panel. |
plan | string | Required | 1m ยท 3m ยท 6m ยท 12m |
Success response โ 200
{
"success": true,
"iptv_key": "panel_starsharetv",
"iptv_name": "StarShare TV",
"subscription": {
"username": "739281046",
"plan": "1m",
"plan_label": "1 Month",
"subscription_expires_at": "2027-01-14 10:30:00"
}
}๐ท๏ธ Supported Panels
Use these iptv_key values in the /paid/ and /extend/ endpoints. The panel must be configured in your Settings before you can use it.
| iptv_key | Panel | Notes |
|---|---|---|
panel_starsharetv | StarShare TV | |
b1g_trial | B1G | |
panel_opplex | Opplex | |
plixi_trial | Plixi | |
glo_trial | Glo IPTV | MAC address required |
๐ Paid Line Plan Keys
Use these values as the plan body parameter in Create / Extend calls.
StarShare
| plan | Label |
|---|---|
trial | 1 Day Trial |
1m | 1 Month |
3m | 3 Months |
6m | 6 Months |
12m | 12 Months |
Opplex
| plan | Label |
|---|---|
trial | 12 Hour Trial |
1m | 1 Month |
3m | 3 Months |
6m | 6 Months |
12m | 12 Months |
Glo IPTV
| plan | Label |
|---|---|
trial | 2 Day Trial |
1m | 1 Month |
3m | 3 Months |
6m | 6 Months |
12m | 12 Months |
GeoIPTV
| plan | Label | Billing |
|---|---|---|
1m | 1 Month | Xtream-Masters account |
3m | 3 Months | Xtream-Masters account |
6m | 6 Months | Xtream-Masters account |
12m | 12 Months | Xtream-Masters account |
๐ฌ WhatsApp Commands
The system includes a built-in WhatsApp bot. You type a short command into WhatsApp โ the bot automatically creates or extends a line and replies with the credentials.
How it works
- You type a command on your connected WhatsApp phone.
- The bot receives it via webhook, parses the command, and runs the action on the panel.
- Credentials (or a confirmation) are sent back to the same WhatsApp chat immediately.
- The line is also synced to Sub Auto Reminder automatically (paid & extend only).
๐ฏ Trial Command
Send a trial line to a customer. The command is based on your configured Trigger Phrase (default: ok sending trial). The IPTV alias can appear at any position within the phrase.
Format
| Pattern | Example |
|---|---|
sending {alias} trial | sending starshare trial |
ok sending {alias} trial | ok sending opplex trial |
| MAC-based panel: append MAC after alias | sending glo trial 00:1A:79:11:22:33 |
# Standard panel trial sending starshare trial # With optional "ok" prefix ok sending opplex trial # MAC-based panel (Glo IPTV) โ MAC address required sending glo trial AA:BB:CC:11:22:33
ok trials), the alias still inserts at the same position โ e.g. ok trials starshare. The ok prefix is always optional.
๐ Paid Line Command
Create a new paid subscription line. Command is fixed โ no trigger phrase involved.
Format
sending {plan} {alias}
# Examples
sending 1m starshare
sending 3m b1g
ok sending 6m opplex
sending 12m plixi| Part | Values | Notes |
|---|---|---|
plan | 1m ยท 3m ยท 6m ยท 12m ยท 14m | Duration to create. |
alias | See Panel Aliases | Identifies the IPTV panel. |
Bot reply
โ *StarShare 1 Month Subscription* ๐ค *Username:* 739281046 ๐ *Password:* 284736102 ๐ *Host Url:* http://ss.example.com:8080 ๐ *M3U:* http://ss.example.com:8080/get.php?username=... โฐ *Expiry:* 2027-01-14 10:30:00
Supported panels
| Panel | Aliases |
|---|---|
| StarShare | starshare ยท star |
| B1G | b1g |
| Opplex | opplex ยท op |
| Plixi | plixi ยท fastiptv |
โฐ Extend Command
Extend the duration of an existing paid line. You need to know the customer's username on that panel.
Format
extending {plan} {alias} {username}
# Examples
extending 1m starshare username123
extending 3m b1g 739281046
ok extending 6m opplex myuser99| Part | Values | Notes |
|---|---|---|
plan | 1m ยท 3m ยท 6m ยท 12m ยท 14m | Duration to add on top of current expiry. |
alias | See supported panels above | Same panels as paid line command. |
username | string | The customer's existing panel username. |
Bot reply
โ *StarShare Line Extended โ 1 Month* ๐ค *Username:* username123 โฐ *New Expiry:* 14 Feb 2027
๐ท๏ธ WhatsApp Panel Aliases
Use these short aliases in WhatsApp commands. For paid/extend commands use the aliases listed above under supported panels. All trial aliases are listed below.
| Alias(es) | Panel | Type |
|---|---|---|
starshare ยท star | StarShare TV | Trial + Paid |
b1g | B1G | Trial + Paid |
opplex ยท op | Opplex | Trial + Paid |
plixi ยท fastiptv | Plixi | Trial + Paid |
glo | Glo IPTV | Trial (MAC required) |
geo | GeoIPTV | Trial |
restream | GeoIPTV Streams | Trial |
hellosky ยท sky | HelloSky | Trial |
rolex | Rolex | Trial |
5glive ยท 5g | 5G Live | Trial |
zum | Zum | Trial |
rynex | Rynex | Trial |
infinity | Infinity | Trial |
hexa4k ยท h4k | Hexa 4K | Trial |
my8k ยท 8k | My 8K | Trial |
๐ Reset API Key
Rotates your API key. The previous key stops working immediately. You can authenticate this call with either the current API key (headless) or a logged-in dashboard session (browser).
Request example
curl -X POST https://automaticiptv.com/api/v1/key-reset \
-H "Authorization: Bearer YOUR_API_KEY"Success response โ 200
{
"success": true,
"api_key": "<new-key-here>",
"rotated_at": "2026-06-26T15:32:11+00:00"
}๐ท๏ธ Panel Keys Reference
Pass one of these values as the {iptv_key} path parameter.
opplex_trial
rynex_trial
infinity_trial
b1g_trial
panel_starsharetv
panel_opplex
zum_trial
hexa4k_trial
rolex_trial
geoiptvs_trial
geo_trial
5glive_trial
hellosky_trial
glo_trial
my8k_trial
plixi_trial