Apify Proxy Integration
Using Bright Data proxies with Apify boosts web scraping efficiency by ensuring secure, anonymous data extraction and reducing the risk of IP blocks and detection.
- 72M+ Residential IPs
- Sticky and rotating sessions
- 99.95% success rate
- Geo-location targeting - FREE
What is Apify?
Apify is a powerful web scraping, data extraction, and web RPA platform. It can automate anything you can do manually in a web browser, and run it at scale. Apify Store has hundreds of ready-to-use scraping tools that just require you to change a few settings.
Proxies are often an essential part of web scraping. You should always secure your identity when web scraping and you may also need to deal with anti-scraping measures and other restrictions deployed by your target website.
That’s where Bright Data comes in 💪
Bright Data’s proxies can help you successfully complete your scraping and automation tasks. Bright Data proxies seamlessly integrate with Apify so you can perform your job without being blocked.
How to setup Apify
with Bright Data proxies:
Head over to Bright Data:
- Log in into your Bright Data account and go to the dashboard
- Click on Proxies & Infra and create a zone
- You can choose between Datacenter, Residential, ISP, & Mobile IPs
- Configure and create the zone according to your project requirements
- Click on the Settings icon next to the zone name.
- Get the username and password.
Head over to Apify:
- Head over to apify.com and log in into your account.
- Once you’re in Apify Console, click on Actors in the left-hand menu.
- Under the Store tab you’ll find Web scraper. We’ll use this as our example. Click on it.
- Navigate to the Input tab.
- Enter lumtest as start URL to scrape : https://lumtest.com/myip.json
- In the Page function paste this code :
async function pageFunction(context) {
// jQuery is handy for finding DOM elements and extracting data from them.
// To use it, make sure to enable the "Inject jQuery" option.
const $ = context.jQuery;
// Select the element using the 'body > pre' CSS selector and extract its text content.
const data = $('body > pre').text();
// Return an object with the extracted data. It will be stored in the resulting dataset.
return {
data: data
};
}
- Then scroll down to find proxy and browser configuration.
- Click on own proxy and input your proxy credentials in the following format.
- http://username:[email protected]:33335 and password can be taken from the zone settings that we just created.
- The hostname for Bright Data proxies is :brd.superproxy.io and the port is 33335.
- This is what the final Bright Data proxy URL will look like: http://lum-customer-c_375eb5c4-zone-zone5:[email protected]:33335
- Then just click Start.
- You can then preview and download the data as HTML, JSON, CSV, Excel, XML, and RSS feed, or view it in the output tab
- To confirm that Apify used the proxy, go to your Bright Data dashboard, navigate to proxies and then check the event log.
⚠️Important note: If you are using Bright Data’s Residential Proxies, Web Unlocker or SERP API, you need to install an SSL certificate to enable end-to-end secure connections to your target website(s). This is a simple process, see https://docs.brightdata.com/general/account/ssl-certificate#installation-of-the-ssl-certificate for instructions.
Get proxies for Apify
Alimentado por una infraestructura de proxy residencial galardonada
Más de 72 millones de IP residenciales, la mejor tecnología de su clase y con capacidad de apuntar a cualquier país, ciudad, operador y ASN, hace de nuestros servicios de proxy premium la mejor opción para los desarrolladores.
Tipos de proxy para cada necesidad
Proxies residenciales
- 72,000,000 IPs
- Disponible en 195 países
- La red IP rotativa más grande compuesta por pares verdaderos
- Acceso y recopilación de datos en todos los sitios web sofisticados
Proxies datacenter
- 1,600,000 IPs
- Disponible en 98 países
- Reservas disponibles de IPs dedicadas y compartidas
- Acceso rápido a sitios web no complejos
Proxies ISP
- +700,000 IPs
- Disponibles en 35 países
- IPs verdaderas estáticas y residenciales sin rotación de IPs
- La mejor opción para iniciar sesión en múltiples cuentas
Proxies mobile
- 7,000,000+ IPs
- Disponible en 195 países
- La red IP 3G/4G compuesta con verdaderos pares más grande del mundo
- Verificación de publicidad para dispositivos móviles
Proxy Network Pricing
El líder en la categoría de proxies y recopilación de datos
Se recopilan 650 TB de datos públicos cada día
Nuevas características se lanzan todos los días
Sirviendo a 7 de las 10 principales universidades del mundo
Calificación más alta de Trustpilot en la industria: 4.6/5
La mejor experiencia del cliente en la industria
Lanzamientos de nuevas funciones todos los días
Para responder a cualquier pregunta justo cuando lo necesite
Tablero de rendimiento de la red en tiempo real
Para optimizar su rendimiento
ara cumplir con sus objetivos de recopilación de datos