-
PARAMETERS
-
API parametersAll API calls use GET. Choose a query type with
t, then provide either a username withqor a job ID withid.Request parameterstQuery typeAlways required.
u,t,aornqUsernameRequired for
t=u,t=a,t=nidJob IDRequired for
t=tSuccessful responses containapiVersionanddata. Endpoint-specific values are returned insidedata.
-
-
EXAMPLE GET USER INFO
- For profile information of a user:
https://pixomea.com/api.php?t=u&q=USERNAMESample code PHP:// --- API credentials ---$app_key = 'YOUR API KEY'; // Public key of your application$app_secret = 'YOUR API SECRET'; // Private key of your application// --- Safe cURL helper function ---function api_get($url, $headers = []) {$ch = curl_init($url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); // 5 sec connection timeoutcurl_setopt($ch, CURLOPT_TIMEOUT, 8); // 8 sec total timeoutcurl_setopt($ch, CURLOPT_HTTPHEADER, $headers);$result = curl_exec($ch);if ($result === false) {$err = curl_error($ch);die("cURL error: $err\nURL: $url");}return $result;}// --- Step 1: Get authentication token ---$url_token = "https://pixomea.com/api.php?t=token";$json = api_get($url_token, ["X-App-Key: $app_key","X-App-Secret: $app_secret"]);// Clean the response (in case of unexpected output before JSON)if (($pos = strpos($json, '{')) !== false) {$json = substr($json, $pos);}$data = json_decode($json, true);// Verify if token existsif (empty($data['token'])) {die("Error retrieving token: " . ($data['error'] ?? 'Token missing'));}$token = $data['token']; // Use this token for all further requestsprint_r($data);// --- Step 2: Get user info ---$username = 'pppppp'; // Replace with the username to test$url_user = "https://pixomea.com/api.php?t=u&q=" . urlencode($username);$file = api_get($url_user, ["X-Token: $token"]);// Clean JSON responseif (($pos = strpos($file, '{')) !== false) {$file = substr($file, $pos);}$user_data = json_decode($file, true);print_r($user_data);
- For profile information of a user:
-
EXAMPLE GET JOB INFO
- For information about a job:
https://pixomea.com/api.php?t=t&id=IDJOBSample code PHP:// --- API credentials ---$app_key = 'YOUR API KEY';$app_secret = 'YOUR API SECRET';// --- Safe cURL helper function ---function api_get($url, $headers = []) {$ch = curl_init($url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);curl_setopt($ch, CURLOPT_TIMEOUT, 8);curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);$result = curl_exec($ch);if ($result === false) {$err = curl_error($ch);die("cURL error: $err\nURL: $url");}return $result;}// --- Step 1: Get authentication token ---$url_token = "https://pixomea.com/api.php?t=token";$json = api_get($url_token, ["X-App-Key: $app_key","X-App-Secret: $app_secret"]);if (($pos = strpos($json, '{')) !== false) {$json = substr($json, $pos);}$data = json_decode($json, true);if (empty($data['token'])) {die("Error retrieving token: " . ($data['error'] ?? 'Token missing'));}$token = $data['token'];print_r($data);// --- Step 2: Get info for a specific job ---$job_id = '00'; // Replace with the job ID to test$url_job = "https://pixomea.com/api.php?t=t&id=" . urlencode($job_id);$file = api_get($url_job, ["X-Token: $token"]);if (($pos = strpos($file, '{')) !== false) {$file = substr($file, $pos);}$job_data = json_decode($file, true);print_r($job_data);
- For information about a job:
-
EXAMPLE GET ALL JOBS OF A USER
- For information about up to 100 jobs of a user:
https://pixomea.com/api.php?t=a&q=USERNAMESample code PHP:// --- API credentials ---$app_key = 'YOUR API KEY';$app_secret = 'YOUR API SECRET';// --- Safe cURL helper function ---function api_get($url, $headers = []) {$ch = curl_init($url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);curl_setopt($ch, CURLOPT_TIMEOUT, 8);curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);$result = curl_exec($ch);if ($result === false) {$err = curl_error($ch);die("cURL error: $err\nURL: $url");}return $result;}// --- Step 1: Get authentication token ---$url_token = "https://pixomea.com/api.php?t=token";$json = api_get($url_token, ["X-App-Key: $app_key","X-App-Secret: $app_secret"]);if (($pos = strpos($json, '{')) !== false) {$json = substr($json, $pos);}$data = json_decode($json, true);if (empty($data['token'])) {die("Error retrieving token: " . ($data['error'] ?? 'Token missing'));}$token = $data['token'];print_r($data);// --- Step 2: Get all jobs for a user ---$user = 'pppppp'; // Replace with username$url_jobs = "https://pixomea.com/api.php?t=a&q=" . urlencode($user);$file = api_get($url_jobs, ["X-Token: $token"]);if (($pos = strpos($file, '{')) !== false) {$file = substr($file, $pos);}$jobs_data = json_decode($file, true);print_r($jobs_data);
- For information about up to 100 jobs of a user:
-
EXAMPLE GET ALL NODES OF A USER
- For information about up to 100 nodes of a user:
https://pixomea.com/api.php?t=n&q=USERNAMESample code PHP:// --- API credentials ---$app_key = 'YOUR API KEY';$app_secret = 'YOUR API SECRET';// --- Safe cURL helper function ---function api_get($url, $headers = []) {$ch = curl_init($url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);curl_setopt($ch, CURLOPT_TIMEOUT, 8);curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);$result = curl_exec($ch);if ($result === false) {$err = curl_error($ch);die("cURL error: $err\nURL: $url");}return $result;}// --- Step 1: Get authentication token ---$url_token = "https://pixomea.com/api.php?t=token";$json = api_get($url_token, ["X-App-Key: $app_key","X-App-Secret: $app_secret"]);if (($pos = strpos($json, '{')) !== false) {$json = substr($json, $pos);}$data = json_decode($json, true);if (empty($data['token'])) {die("Error retrieving token: " . ($data['error'] ?? 'Token missing'));}$token = $data['token'];print_r($data);// --- Step 2: Get all nodes for a user ---$user = 'pppppp'; // Replace with username$url_nodes = "https://pixomea.com/api.php?t=n&q=" . urlencode($user);$file = api_get($url_nodes, ["X-Token: $token"]);if (($pos = strpos($file, '{')) !== false) {$file = substr($file, $pos);}$nodes_data = json_decode($file, true);print_r($nodes_data);
- For information about up to 100 nodes of a user:
No more server configuration
No more ports, network settings or FTP to manage. Your nodes simply connect.
Fewer blocked renders
Track your jobs, frames and errors before wasting time.
Better organized team
Share projects, comment on jobs and keep everything in one place.
More control
Control your nodes, quotas, files and production.