top of page
Key Features

 JavaScript Rendering 

The API automatically renders JavaScript on the target page, ensuring you capture dynamic content that relies on client-side scripts, making it ideal for comprehensive scraping tasks.

 Fast and Reliable 

Retrieve the complete page source quickly, regardless of the target site's complexity.

​

​

​

 Anti-Bot Bypass 

Seamlessly bypasses anti-bot services, enabling you to scrape pages that are otherwise difficult to access.

​

​

​

​

 Proxy Flexibility 

By default, the API uses a random European proxy, but you can specify a desired country from the following list: DE, US, GB, FR, AU, PL. Additionally, you can request to add almost any country to this list.

Endpoints
POST /get_page_source
Description

​Fetches the full HTML source of a webpage.​​

Parameters

url (string) (required):

The URL of the webpage you want to fetch.

​​​

proxy_country (string) (optional):

If no proxy is set, the service will automatically use a random proxy from a European country. You can specify a desired country from the following list: DE, US, GB, FR, AU, PL.

CURL *hnd = curl_easy_init();

 

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(hnd, CURLOPT_URL, "https://scrapeunblocker.p.rapidapi.com/get_page_source?url=https%3A%2F%2Fbot.sannysoft.com%2F");

 

struct curl_slist *headers = NULL;

headers = curl_slist_append(headers, ""x-rapidapi-key: API key obtained from RapidAPI"');

headers = curl_slist_append(headers, "x-rapidapi-host: scrapeunblocker.p.rapidapi.com");

headers = curl_slist_append(headers, "Content-Type: application/json");

headers = curl_slist_append(headers, "Accept-Encoding: gzip, deflate");

curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

 

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{}");

 

CURLcode ret = curl_easy_perform(hnd);

POST /get_image
Description

Returns the image as a byte stream from the provided URL. The API will fetch the image and provide it in binary format, making it easy to integrate into other applications or services.

Parameters

url (string) (required):

The URL of the webpage you want to fetch.

​​​

proxy_country (string) (optional):

If no proxy is set, the service will automatically use a random proxy from a European country. You can specify a desired country from the following list: DE, US, GB, FR, AU, PL.

CURL *hnd = curl_easy_init();

 

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST"); curl_easy_setopt(hnd, CURLOPT_URL, "https://scrapeunblocker.p.rapidapi.com/get_page_source?url=https%3A%2F%2Fbot.sannysoft.com%2F");

 

struct curl_slist *headers = NULL;

headers = curl_slist_append(headers, ""x-rapidapi-key: Sign Up for Key"');

headers = curl_slist_append(headers, "x-rapidapi-host: scrapeunblocker.p.rapidapi.com");

headers = curl_slist_append(headers, "Content-Type: application/json");

headers = curl_slist_append(headers, "Accept-Encoding: gzip, deflate");

curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

 

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{}");

 

CURLcode ret = curl_easy_perform(hnd);

bottom of page