For detailed usage, checkout the Crawl API Reference.
Installation
Usage
Response
The Start Crawl JobPOST /crawl endpoint will return a jobId in the response which can be used to get information about the job in subsequent requests.
GET /crawl/{jobId}/status will return the following data:
GET /crawl/{jobId} will return the following data:
pending, running, completed, failed. The results will be an array of scraped pages in the data field.
To see the full schema, checkout the API Reference.
Crawl Options
You can configure various options for the crawl job:- maxPages: Maximum number of pages to crawl (default: 10, max: 100)
- followLinks: Whether to follow links on the crawled pages (default: true)
- ignoreSitemap: Whether to ignore the sitemap (default: false)
Session Configurations
You can also provide configurations for the session that will be used to execute the crawl job, such as using a proxy or solving CAPTCHAs. To see all the different available session parameters, checkout the API Reference or Session Parameters.Scrape Configurations
You can also provide optional scrape options for the crawl job such as the formats to return, only returning the main content of the page, setting the maximum timeout for navigating to a page, etc.Hyperbrowser’s CAPTCHA solving and proxy usage features require being on a
PAID plan.