Using a Tor Proxy
This example shows how to make a request with or without a browser using a Tor anonymizer proxies.
By default, no proxy is used which can quickly result in the ScrAPI server IP address being banned. You can use a proxy which provides IP rotation to avoid this.
This use a Tor anonymizer proxy, simply set the proxyType
parameter to Tor
.
Using a Tor proxy is the only way to access .onion websites. Tor is easily detected and will trigger captchas quite often.
Example Request
GET https://api.scrapi.tech/v1/scrape?url=https://deventerprise.com&proxyType=Tor
POST https://api.scrapi.tech/v1/scrape
{
"url": "http://a4ygisnerpgtc5ayerl22pll6cls3oyj54qgpm7qrmb66xrxts6y3lyd.onion/index.html",
"useBrowser": false,
"proxyType": "Tor"
}
Testing
If you want to test this request or a variation of it, head to the Playground or the OpenAPI page.