Fetch any URL or query WHOIS data through a mix of datacenter and residential (ISP) proxies. No browser needed. One GET request.
curl 'https://api.scrapeapi.dev/?url=https://httpbin.org/ip'
Base URL: https://api.scrapeapi.dev/
Unauthenticated: 100 requests/day. With API key: unlimited.
| Param | Description |
|---|---|
| url | URL to scrape. Must include http:// or https://. required* |
| whoisQuery | IP address for WHOIS lookup. required* |
| whoisServer | Custom WHOIS server (optional, validated against allowlist). |
| whoisPort | Custom WHOIS port (optional, 1-65535). |
| headers | Custom HTTP headers as JSON object, e.g. {"Accept":"text/html","Cookie":"sid=abc"}. Max 20
headers. Only printable ASCII. Some internal headers like Host and
Transfer-Encoding are blocked. |
| forceProxy | Set to 1 to route request through a random proxy from the pool. URL scraping only. |
| forceVpn | Set to 1 to route request exclusively through a VPN backend. |
| type | Response content-type. text/plain or application/json. |
| key | API key for authenticated access (or use X-API-Key header). |
* Provide either url or whoisQuery,
not both.
curl 'https://api.scrapeapi.dev/?url=https://httpbin.org/ip'
curl 'https://api.scrapeapi.dev/?url=https://www.google.com/search?q=web+scraping'
curl 'https://api.scrapeapi.dev/?url=https://www.amazon.com/dp/B0D1XD1ZV3'
curl 'https://api.scrapeapi.dev/?url=https://www.ebay.com/sch/i.html?_nkw=raspberry+pi'
curl 'https://api.scrapeapi.dev/?url=https://www.google.com/maps/search/restaurants+near+me'
curl 'https://api.scrapeapi.dev/?url=https://httpbin.org/headers&headers=%7B%22Accept%22%3A%22application%2Fjson%22%2C%22Referer%22%3A%22https%3A%2F%2Fgoogle.com%22%2C%22Accept-Language%22%3A%22en-US%22%7D'
curl 'https://api.scrapeapi.dev/?url=https://httpbin.org/user-agent&headers=%7B%22User-Agent%22%3A%22MyBot%2F1.0%22%7D'
curl 'https://api.scrapeapi.dev/?whoisQuery=8.8.8.8&type=text/plain'
curl 'https://api.scrapeapi.dev/?whoisQuery=68.144.0.0&whoisServer=whois.arin.net&type=text/plain'
curl -H 'X-API-Key: YOUR_KEY' 'https://api.scrapeapi.dev/?url=https://example.com'
import requests, json
r = requests.get('https://api.scrapeapi.dev/', params={
'url': 'https://httpbin.org/headers',
'headers': json.dumps({
'Accept': 'application/json',
'Accept-Language': 'de-DE',
})
})
print(r.text)
const params = new URLSearchParams({
url: 'https://httpbin.org/headers',
headers: JSON.stringify({ Accept: 'application/json', Referer: 'https://google.com' })
});
const r = await fetch('https://api.scrapeapi.dev/?' + params);
console.log(await r.text());
Pick an example or type your own URL:
Enter an IP or pick one:
$0.005 per successful request. Only pay for what you use.
No credit card needed for the free tier. Just start making requests.