The public REST API v1.1 connects Aether's Account Checker, your internal spreadsheets, or an AI orchestrator directly to your online Aether Instagram and Aether YouTube desktop machines. Below is the verified blueprint: exact token scopes, endpoints, a ready-to-paste AI prompt, and working Python and Node.js examples.
1. Issuing an API Key & Required Scopes
- Open Account Portal → API Access (REST v1.1) (available with any active paid subscription).
- Generate a personal key (
ae_live_*) with two scopes enabled:account_checker— batch profile analytics viaPOST /api/v1.1/account-checker;remote— inspect connected machines, switch DB groups, apply presets, edit scheduler rules, and enqueue start/stop commands.
- Send the token via
Authorization: Bearer YOUR_API_KEYorX-API-Key: YOUR_API_KEY. Full interactive reference is published at /api-docs.
Security note: full keys are revealed once at creation time and stored server-side only as SHA-256 hashes. Keepae_live_*in environment variables such asAETHER_API_KEYrather than source files.
2. Core Endpoints for Check → Filter → Launch Workflows
| Method & Endpoint | Scope | Purpose & Key Payload Fields |
|---|---|---|
POST /api/v1.1/account-checker |
account_checker |
Accepts {"accounts": ["@u1", ...], "platform": "auto", "force_refresh": false} (up to 30 items). Returns data.accounts[] with status, followers, and analytics (buckets, avg_views, avg_er_pct, zero_views_pct). |
GET /api/v1.1/remote/instances |
remote |
Lists connected desktop machines (supports ?product=ig&online=1). Includes instance_id, state, presets[], db_groups[], active_db_group, and scheduler. |
POST /api/v1.1/remote/command |
remote |
Queues an action (returns HTTP 202 + data.command_id): set_db_group, apply_preset, set_mode, set_threads, start, soft_stop, stop, restart, set_scheduler, get_logs. |
GET /api/v1.1/remote/command?id=... |
remote |
Polls command execution status (pending / acked / done / failed / expired) and output. |
GET / POST /api/v1.1/remote/scheduler |
remote |
Reads or updates weekly scheduler rules and pushes changes straight to the desktop app. |
3. Ready-to-Use AI Automation Prompt
Paste this specification into your coding assistant or agent workflow to build custom integrations without inventing endpoints:
Build an automation script against Aether Tools REST API v1.1 (base URL https://aethertools.com/api/v1.1).
Auth header: Authorization: Bearer <AETHER_API_KEY> from env. Rate limit: 60 req/min.
Step 1: POST /account-checker with {"accounts": [...], "platform": "instagram"}.
Filter accounts where status == "active", analytics.avg_views >= 500, and analytics.zero_views_pct < 40.
Step 2: GET /remote/instances?product=ig&online=1 and pick an instance where remote_enabled == true and state != "running".
Step 3: Sequentially enqueue POST /remote/command and poll GET /remote/command?id=<command_id> until status == "done":
1) {"instance_id": ID, "command": "set_db_group", "group_name": "Valid accounts"}
2) {"instance_id": ID, "command": "apply_preset", "preset": "Warmup Balanced"}
3) {"instance_id": ID, "command": "start"}
Do not invent undocumented fields; handle HTTP 409 and 429 with backoff.
4. Working Python Example
import os
import time
import requests
BASE_URL = "https://aethertools.com/api/v1.1"
API_KEY = os.environ["AETHER_API_KEY"]
HEADERS = {"Authorization": f"Bearer {API_KEY}", "Content-Type": "application/json"}
def wait_command(cmd_id: int, timeout_s: int = 45) -> dict:
deadline = time.time() + timeout_s
while time.time() < deadline:
res = requests.get(f"{BASE_URL}/remote/command", params={"id": cmd_id}, headers=HEADERS, timeout=15)
res.raise_for_status()
cmd = res.json()["data"]["command"]
if cmd["status"] in ("done", "failed", "expired"):
return cmd
time.sleep(2)
raise TimeoutError(f"Command {cmd_id} timed out")
def send_and_wait(instance_id: str, command: str, **extra) -> dict:
res = requests.post(
f"{BASE_URL}/remote/command",
json={"instance_id": instance_id, "command": command, **extra},
headers=HEADERS,
timeout=15,
)
res.raise_for_status()
return wait_command(res.json()["data"]["command_id"])
check_res = requests.post(
f"{BASE_URL}/account-checker",
json={"accounts": ["@brand_one", "@brand_two"], "platform": "instagram"},
headers=HEADERS,
timeout=30,
)
check_res.raise_for_status()
healthy = [
a["handle"]
for a in check_res.json()["data"]["accounts"]
if a.get("status") == "active" and (a.get("analytics") or {}).get("avg_views", 0) >= 500
]
if healthy:
inst_res = requests.get(f"{BASE_URL}/remote/instances", params={"product": "ig", "online": 1}, headers=HEADERS, timeout=15)
inst_res.raise_for_status()
idle = [i for i in inst_res.json()["data"]["instances"] if i.get("remote_enabled") and i.get("state") in ("idle", "done")]
if not idle:
raise RuntimeError("No idle online Aether Instagram instances found")
inst_id = idle[0]["instance_id"]
send_and_wait(inst_id, "set_db_group", group_name="Valid accounts")
send_and_wait(inst_id, "set_threads", threads=4)
started = send_and_wait(inst_id, "start")
print("Run started:", started["status"], started["result_text"])
5. Working Node.js Example (Fetch API)
const BASE_URL = "https://aethertools.com/api/v1.1";
const HEADERS = {
Authorization: `Bearer ${process.env.AETHER_API_KEY}`,
"Content-Type": "application/json",
};
async function api(path, options = {}) {
const res = await fetch(`${BASE_URL}${path}`, { ...options, headers: HEADERS });
const json = await res.json();
if (!res.ok || !json.ok) {
throw new Error(`${res.status} ${json.error || "api_error"}: ${json.message || ""}`);
}
return json.data;
}
async function runCommand(instanceId, command, extra = {}) {
const queued = await api("/remote/command", {
method: "POST",
body: JSON.stringify({ instance_id: instanceId, command, ...extra }),
});
for (let i = 0; i < 22; i++) {
await new Promise((r) => setTimeout(r, 2000));
const { command: cmd } = await api(`/remote/command?id=${queued.command_id}`);
if (["done", "failed", "expired"].includes(cmd.status)) return cmd;
}
throw new Error(`Command ${queued.command_id} timed out`);
}
async function main() {
const check = await api("/account-checker", {
method: "POST",
body: JSON.stringify({ accounts: ["@brand_one", "@brand_two"], platform: "auto" }),
});
const alive = check.accounts.filter((a) => a.status === "active");
if (!alive.length) return console.log("No active profiles.");
const { instances } = await api("/remote/instances?product=ig&online=1");
const target = instances.find((i) => i.remote_enabled && i.state !== "running");
if (!target) throw new Error("All online instances are busy.");
await runCommand(target.instance_id, "set_db_group", { group_name: "Valid accounts" });
const started = await runCommand(target.instance_id, "start");
console.log("Started:", started.status, started.result_text);
}
main().catch(console.error);