What Local API is
The server listens on 127.0.0.1 only. The default port is 45678; you can change it in Settings → Integrations. It accepts GET and POST requests with the same result, so a command written for curl can be repeated with an HTTP client without rewriting the request.
The API is optional. When it is enabled, Local API is available to programs on the same computer. It does not open a port to the local network, and there is no request rate limit.
What you can control
The API covers the daily operations of the manager. The method list is short and can be reviewed at once.
- Service state:
/statuschecks that the server is running and reachable. - Browsers: start, stop and check the active profile through v1 and v2 paths.
- Profiles: create, update, list, delete, move between groups and clear the cache.
- Groups, proxies and extensions: list and edit the objects that profile settings refer to.
- Launch data: the response includes a CDP WebSocket, a debug port and an empty
webdriverfield.
How a request is handled
Every method uses the same JSON envelope. A successful call returns code: 0, the message success and a data object. An API error returns code: -1, an empty data object and a message that explains the cause. Ombra sends HTTP 200 for these errors as well, so check code before reading data.
Unknown paths return HTTP 404 and unsupported methods return HTTP 405, both in the same envelope. This separates routing mistakes from errors in a valid request.
CDP access
Starting a profile returns data.ws.puppeteer, a WebSocket address for the Chrome DevTools Protocol. Pass it to Playwright or Puppeteer and work with the pages of that profile. data.ws.selenium contains 127.0.0.1:<debug_port> for clients that expect a host and port; debug_port is a string, and webdriver is empty because Ombra does not provide chromedriver.
The CDP connection is the supported way to automate pages. Local API controls the profile lifecycle; page actions, DOM access and CAPTCHA state go over CDP.
What the API does not cover
- There are no REST methods for CAPTCHA state. Use the
OmbraCDP domain instead; see CAPTCHA over CDP. - Share Profile and cloud browser methods answer with an error because they need an Ombra server.
- The API does not bypass the plan limit on concurrent profiles or install the browser for you.
The API is compatible with the AdsPower Local API in paths, parameters and response shape, with the differences listed in AdsPower compatibility.
Where to start
Enable the server
Turn on Local API and, if needed, the API key in Enable Local API and API key.
Learn the envelope
Read the status codes and headers in Requests and responses.
Launch a profile
Run the first launch in Launch and stop a profile and connect a client from Playwright and Puppeteer.