Scrape any URL (Web Unlocker)
unlocker_scrapeScrape any public website through Bright Data's Unlocker, bypassing CAPTCHAs and anti-bot blocks. Recommended when a site blocks direct requests or you need a screenshot.
Instructions
Always spends Bright Data credit. For read-only fetches prefer smart_scrape — it tries a free direct request first and only falls back here when the site actively blocks it. Use unlocker_scrape directly only when you need screenshot output, want to force Bright Data unconditionally, or smart_scrape has already confirmed the site is hard-blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full target URL including https:// | |
| zone | No | Override the Unlocker zone name. | |
| method | No | HTTP method. | GET |
| country | No | 2-letter ISO country code for the exit IP, e.g. us, gb, de. | |
| headers | No | Custom request headers (requires the Custom Headers feature on the zone). | |
| data_format | No | Output transform: html, markdown, or a PNG screenshot. | markdown |
| wait_for_text | No | Text that must appear on the page before returning. | |
| wait_for_selector | No | CSS selector that must appear before returning (x-unblock-expect). |