← All integrations
Language SDK
Use ScrapeUnblocker with Python
The official Python SDK wraps the ScrapeUnblocker API so you get the unblocked page in one call. Our browser renders the page and clears the anti-bot challenge; you get the HTML (or parsed JSON) and hand it to your parser of choice - BeautifulSoup, lxml, pandas, whatever you already use.
Example
pip install scrapeunblocker
from scrapeunblocker import ScrapeUnblocker
client = ScrapeUnblocker(api_key="YOUR_API_KEY")
# Rendered HTML for any URL, anti-bot handled for you
html = client.get_page_source("https://www.example.com")
# Or ask for parsed JSON instead of raw HTML
data = client.get_page_source(
"https://www.example.com",
parsed_data=True,
)
print(data) How it works
- Install the package with pip and grab your API key from the dashboard.
- Create a client and call get_page_source with the target URL.
- The page is rendered and unblocked server-side - you receive clean HTML or JSON.
- Parse it with your usual tools, or use parsed_data=True to skip parsing.
What you get
- One call returns the fully rendered page - no browser to run locally.
- Anti-bot bypass for Cloudflare, DataDome, PerimeterX and Akamai.
- parsed_data=True returns structured JSON for supported targets.
- Works with BeautifulSoup, lxml, pandas and the rest of your stack.
Read the docs: Python SDK docs →
Start scraping in a few lines
500 requests free on signup. No card required to test it.