Scrapingbypass API is a standard RESTful service that supports any programming language capable of sending HTTP requests. You can integrate the API using the following languages and tools:
- Command Line:
cURL - Python:
requests,aiohttp,Pyppeteer,Playwright - Go:
net/http,colly - JavaScript / TypeScript:
axios,fetch,Puppeteer,Playwright - Java:
OkHttp,Apache HttpClient - PHP:
cURL extension,Guzzle
Integration Best Practices
To ensure successful validation and bypass, all requests must include your proxy credentials and appropriate browser fingerprint headers.
- Endpoint:
https://api.scrapingbypass.com/v2/get - Authentication: Use the
x-cb-apikeyheader for API authorization. - Consistency: Maintain consistent TLS/JA3 fingerprints across your session to prevent detection by WAFs like Cloudflare.
Sample Implementation (cURL)
curl -X POST "https://api.scrapingbypass.com/v2/get" \
-H "x-cb-apikey: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://target-website.com",
"proxy": "http://user:pass@proxy-host:port",
"part": "desktop"
}'