Skip to main content
Set your key once:
Create a session. The Idempotency-Key header is optional; with it a retry after a lost reply returns the same session instead of starting a second one.
The status is 201. A retry with the same Idempotency-Key answers 201 with the same session_id and a fresh connect_url; no second browser is started. Open a page in the session’s tab:
Fetch a page and get its text back in one call:
Extract an article as Markdown plus page metadata. formats picks what comes back; max_chars cuts the Markdown at a block boundary and reports truncated.
Search the web. No session is needed; the API runs the search on its own browser pool.
Release the session:
The answer is 204 No Content with Location: /v1/session/sess_6ac44536ab704d77b335f09ca281ada1/status. A second DELETE answers 204 again. Reading the session afterwards answers 410 with its terminal record; see Errors.