API Agent HTTP API · v3.8+

API Reference

The Zeddro Agent exposes a local JSON HTTP API on port 35000 — launch isolated profiles, drive real browser sessions, test proxies and power automation from your own scripts.

Overview

Zeddro’s programmatic interface is the local Agent API. The Zeddro Agent (Windows, macOS, Linux) runs a lightweight HTTP server on 127.0.0.1:35000 that controls real browser sessions on your machine — the same API that powers the dashboard and Automation Workflows.

Base URL

http://127.0.0.1:35000

How it works

  • Local & fast — requests stay on your machine; no latency and no rate limits.
  • JSON in, JSON out — send POST bodies as application/json; every response is JSON.
  • Browser-callable — CORS is open (Access-Control-Allow-Origin: *) with Private Network Access, so the web dashboard talks to the Agent directly.
  • Human-paced control — the /action endpoint types, clicks and scrolls with realistic pacing, which is what Automation Workflows use under the hood.
Where do profiles live? Profiles, fingerprints and proxies are managed in the cloud dashboard at app.zeddro.com. The Agent syncs them locally — the API drives sessions: launch, control and stop.

Quick Start

Make sure the Zeddro Agent is installed and running, then call the status endpoint:

1 · Check the Agent

# Terminal / curl curl http://127.0.0.1:35000/status
{ "success": true, "agent": "Zeddro Agent", "version": "3.8.9", "chrome": true, "machineId": "a1b2c3d4", "running": 0, "profiles": [] }

2 · Launch your first profile

curl -X POST http://127.0.0.1:35000/launch \ -H "Content-Type: application/json" \ -d '{"profile_id": 123}'

A real browser window opens with the profile’s fingerprint, cookies, session and proxy applied — exactly like pressing Launch in the dashboard.

Responses & Errors

Every endpoint returns a consistent envelope — check success first:

// Success { "success": true, ...payload } // Failure — HTTP 400 / 404 / 500 { "success": false, "error": "Profile is already running" }

Status codes

CodeMeaning
200Request succeeded
400Validation or launch failure — the error field explains why
404Unknown route, or the target profile isn’t running on this device
500Internal Agent error

Agent Status

GET /status

Agent info plus every profile currently running on this machine.

Response

{ "success": true, "agent": "Zeddro Agent", "version": "3.8.9", "chrome": true, "machineId": "a1b2c3d4", "running": 2, "profiles": [ { "id": 123, "name": "FB Ads — US 01", "pid": 5112, "launchedAt": 1733059200123 } ] }
GET /status/{id}

Check whether a specific profile is running on this device. Returns 404 when the profile isn’t active.

Launch a Profile

POST /launch

Open a profile in a real browser session with its fingerprint, cookies and proxy applied. The dashboard sends the full profile payload; for your own scripts, profile_id is enough for profiles the Agent already synced.

Request body

FieldDescription
profile_id integer requiredProfile ID from the dashboard
browser_type stringchrome (CloakBrowser) or firefox (Camoufox) — default chrome
proxy object{type, host, port, username, password} — http, https or socks5
fingerprint objectOverride fingerprint fields — timezone, locale, userAgent, WebGL, screen…
cookies arrayCookies to inject into the session before it starts
sync_token · sync_url stringSession sync credentials — set automatically when the dashboard launches

Example

{ "profile_id": 123, "browser_type": "chrome", "proxy": { "type": "http", "host": "res.proxy.example.com", "port": 8080, "username": "user", "password": "pass" } }

Response

{ "success": true, "pid": 5112, "profileId": 123, "name": "FB Ads — US 01" }
Already running? Launching a profile that’s open returns { "success": false, "error": "Profile is already running" }. Sessions restore their tabs automatically via session sync.

Stop Profiles

POST /stop/{id}

Gracefully stop a running profile. Session data (tabs, storage, history) is synced back to the cloud before the browser closes.

{ "success": true, "message": "Profile stopped" }
POST /stop-all

Stop every running profile on this device.

{ "success": true, "stopped": 3 }

Screenshot

POST /screenshot

Capture the active tab as a base64 JPEG — the same call Automation uses for run-history screenshots.

{ "profile_id": 123 }
{ "success": true, "data": "/9j/4AAQSkZJRgABAQ…", "mime": "image/jpeg" }

Actions

Human-paced page control on a running profile — the engine behind Automation Workflows. Every action returns { "success": true, "detail": "…" }.

POST /action
{ "profile_id": 123, "action": "type", "params": { "selector": "input[name=q]", "text": "hello", "human": true } }

Available actions

ActionParams & behaviour
click{selector, index} — human-style click with movement
hover{selector, index} — moves the cursor naturally over the element
type{selector, text, clear, human} — per-character typing with delays
scroll{mode} — pixels or element scrolling
wait_element{selector, timeout, visible} — waits up to 120s for a selector
press_key{key} — e.g. Enter, Escape
social{platform, count, text, duration} — like feed, comment, browse feed, search (Google), inbox check (Gmail)
No-code alternative: compose these same actions visually with schedules and run history in Automation Workflows.

Proxy Test

POST /proxy/test

Test a proxy through the Agent — returns the exit IP, geo info and latency. This is what the Check button in the dashboard calls.

Request body

{ "host": "res.proxy.example.com", "port": 8080, "username": "user", "password": "pass", "type": "http", "checker": "ip-api" }

Response

{ "success": true, "message": "Proxy working! IP: 84.17.42.9", "ip": "84.17.42.9", "proxy": "res.proxy.example.com:8080", "info": { "country": "United States", "city": "Chicago", "isp": "…", "latency": 412 } }