Skip to main content
POST
Get Content

Overview

Returns the content of the session’s active page. If url is supplied, the session navigates there first. The response format can be raw HTML, cleaned Markdown, or plain text.

Path Parameters

string
required
Browser session ID (UUID).

Body

string
Optional URL to navigate to before capturing content. If omitted, captures whatever is currently loaded in the active tab.
string
default:"html"
Output format. One of html, markdown, text.
string
Optional per-request proxy override.
object
Extra request headers applied when url is set.

Example Request

Response

Success Response (200)

string
Effective URL of the captured page (after any redirects).
string
Page content in the requested format.
string
Echoed format — one of html, markdown, text.
Example Response:

Error Responses