Apify
Apify is a cloud platform for web scraping and browser automation. It provides pre-built scrapers (Actors), a scalable infrastructure, and tools for managing crawling jobs. You can configure HypeProxy.io proxies for use with Apify Actors.
Setting Up HypeProxy.io with Apify
Using Proxy Configuration in an Actor
import { Actor } from 'apify';
await Actor.init();
const proxyConfiguration = await Actor.createProxyConfiguration({
proxyUrls: [
'http://username:password@fr.hypeproxy.host:port'
],
});
const crawler = new CheerioCrawler({
proxyConfiguration,
async requestHandler({ request, $ }) {
// Your scraping logic here
},
});
await crawler.run(['https://example.com']);
await Actor.exit();
In Actor Input (JSON)
{
"proxyConfiguration": {
"useApifyProxy": false,
"proxyUrls": [
"http://username:password@fr.hypeproxy.host:port"
]
}
}
Tips
- Use HypeProxy.io mobile proxies for scraping social media and platforms with strict anti-bot protection.
- Configure proxy rotation by adding multiple HypeProxy.io proxy URLs to the
proxyUrlsarray. - Apify's auto-scaling works well with mobile proxies — requests are distributed across your proxy pool.
