httpx.
Prefer no dependencies? The API is plain HTTP, so you can skip the package and
call it with
requests / httpx directly - see Raw HTTP at the bottom.Quickstart
Get parsed JSON instead of HTML
The killer feature:get_parsed() returns structured data extracted using Schema.org, __NEXT_DATA__, or AI-generated rules - no per-site parsers to maintain.
Scrape a Google SERP
Force a country
proxy_country works on every method.
Capture cookies and the proxy used
Fetch an image
eBay search
Listings from any of the 19 regional eBay marketplaces as JSON:exactMatches is False when eBay found nothing for the keyword and answered with its own loosely-related suggestions instead. Full field list on the eBay Search plugin page.
Skyscanner plugins
Flights, hotels and car hire as JSON. Resolve a place name to entity IDs, then search:Async
Every method has an async twin onAsyncClient. For high-throughput crawls, cap concurrency to your plan’s limit with a semaphore.
Error handling
Non-2xx responses raise typed exceptions, all subclasses ofScrapeUnblockerError. Transient failures (429, 502, 503, 504 and network errors) are retried automatically with exponential backoff.
The
402 and 404-422 exceptions were added in 0.1.6; before that they arrived as a bare APIError. Nothing was removed, so except APIError handlers written against earlier versions keep working. See all status codes in Errors.Raw HTTP (without the package)
The API is plain HTTP, so you can call it withrequests or httpx directly - no SDK required.
getPageSource, serpApi, and getImage; every parameter shown above maps to a query parameter of the same name.
