web

Headless Browser Render

Fetch a web page and return its title and raw HTML (up to 200,000 characters). No browser engine is used and JavaScript is not executed, despite the name. POST /v1/render with {url} and get one JSON object back. Pages are cached for 5 minutes. Pay per request in USDC; no account, no API key.

post/v1/headless-browser-render

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/headless-browser-render
  • Auth: none required

Request body

urlstring required

The page URL (http or https).

Response

The upstream response, served after payment settles.

object required

For POST /v1/render, a JSON object with url, title, html, js_rendered (false) and a cache flag. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field.

Changes

No recorded changes to this operation across all 1 revision of this API.