A headless browser API for your stack.

Our headless browser API gives your code a real Chromium in the cloud. Point Puppeteer or Playwright at one WebSocket and your scripts run as they are. No Chrome to install, no servers to patch, no browsers to restart.
Get API key
Every new account gets 2 hours of free runtime and free AI tokens. No card required.

What I mean by a headless browser API


Running headless Chrome yourself means a server, a Chromium build to keep current, memory leaks, zombie processes and a restart script at 2am. A headless browser API moves the browser off your machine. Your script opens a session over a WebSocket, drives the page with the protocol it already speaks, and closes it. Each session starts on fresh Chrome, so one bad run never poisons the next. You keep your code. We keep the browsers.

Chrome API
1import { chromium } from "playwright";2 3const browser = await chromium.connectOverCDP(4  `wss://cdp-lb.axiom.ai/?token=${process.env.AXIOM_API_KEY}`5);6 7try {8  const context = browser.contexts()[0];9  const page = context.pages()[0] ?? await context.newPage();10  await page.goto("https://example.com");11  await page.screenshot({ path: "out.png", fullPage: true });12} finally {13  await browser.close();14}
Change launch() to connectOverCDP(). The rest of the script stays the same.Read the Chrome API docs

Open a cloud session, scrape a paginated list with one step call, and close it. Swap the selectors for your own page.

Get API key
scrape.mjs
1import { AxiomApi } from '@axiom_ai/api';2 3const axiom = new AxiomApi(process.env.AXIOM_API_KEY);4 5await axiom.browserOpen();6try {7  const rows = await axiom.scrape(8    'https://example.com/products',9    '.product-card',10    'button[data-load-more]',11    200,12    {}13  );14  console.log(rows.length);15} finally {16  await axiom.browserClose();17}18 

FAQ

Headless browser API questions

No. Replace launch() with connect() or connectOverCDP() pointed at our WebSocket. The rest of the script stays the same.

By the time a session is open. Close sessions as soon as the work is done. Every new account starts with 2 hours of free runtime and free AI tokens.

Yes. Every session starts on fresh Chrome, so cookies and state don't carry between runs unless you set them.

Yes. Set a proxy per session, along with viewport and user agent.

Yes. The step functions are exposed over MCP, so Claude, Cursor or your own agent can drive the browser on your API key.

Run your first script on our headless browser API.

Start with 2 hours of free runtime and free AI tokens for AI steps. No card required.