Skip to main content
Use hx web to run Hyperbrowser’s Web API (fetch, crawl, search) and inspect aggregate job history (jobs) directly from your terminal. Fetch, crawl, and search run synchronously by default. For fetch and crawl, pass --async to enqueue a background job and poll it later; on search, --async is accepted for compatibility but still waits for the result.

Fetch (hx web fetch)

Fetch a single URL in markdown, html, links, screenshot, or branding format using --format (for structured JSON extraction with a prompt or schema, pass --json-body or --body):

Verified hx web fetch Subcommands & Flags

  • Subcommands: fetch [url], create [url], status <job-id>, wait <job-id>, get <job-id>, details <job-id>, list (ls), stop <job-id>.
  • fetch [url] flags: --format (markdown, html, links, screenshot, branding), --save-screenshot, --output, --raw, --async, --timeout, --body, --json-body.
  • create [url] flags: --url, --body, --json-body.
  • wait <job-id> flags: --poll-interval, --timeout.
  • list (ls) flags: --url, --status, --since, --page, --limit.

Crawl (hx web crawl)

Crawl linked pages starting from a root URL:

Verified hx web crawl Subcommands & Flags

  • Subcommands: crawl [url], create [url], status <job-id>, wait <job-id>, get <job-id>, details <job-id>, page <job-id> <page-id>, list (ls), stop <job-id>.
  • crawl [url] flags: --max-pages, --include-patterns, --exclude-patterns, --follow-links, --ignore-sitemap, --timeout, --wait-timeout, --poll-interval, --async, --body, --json-body.
  • create [url] flags: --url, --body, --json-body.
  • wait <job-id> flags: --poll-interval, --timeout, --page, --batch-size.
  • get <job-id> flags: --page, --batch-size.
  • list (ls) flags: --page, --limit.

Query the web and retrieve structured results:

Verified hx web search Subcommands & Flags

  • Subcommands: search [query], create [query], status <job-id>, wait <job-id>, get <job-id>, list (ls), stop <job-id>.
  • search [query] flags: --async, --body, --json-body, --poll-interval, --timeout.
  • create [query] flags: --query, --body, --json-body, --timeout.
  • wait <job-id> flags: --poll-interval, --timeout.
  • list (ls) flags: --page, --limit.

Unified Web Job History (hx web jobs)

View recent web jobs across fetch, web_crawl, scrape, extract, and web_search in a single table sorted newest-first:
Flags: --kind, --status, --page, --limit.