Use case

Proxies for AI data collection

Training sets and retrieval pipelines need fresh public web data from many sources. Here is how to collect it at scale with proxies, and how to do it responsibly.

Language models and AI products run on text and data from the public web. Teams collect it for two main reasons: to build training and evaluation sets, and to feed retrieval systems that look up current information when a user asks a question. Both need a crawler that can fetch a lot of pages reliably, from many sites and often from several countries. Proxies are part of that toolkit, and so is a clear set of rules about what you collect.

Training data and retrieval are different jobs

A training crawl is a bulk job. You fetch large numbers of pages once or on a slow cycle, clean them, remove duplicates and store them with their source. Throughput and cost per page matter most.

A retrieval fetch happens on demand or on a short schedule. A pipeline refreshes a set of known pages, or fetches a page because a user query needs it. Speed and freshness matter most, and the volume per site is usually small.

Plan the two separately. They need different pacing, different storage and often different proxy types.

Why proxies help

  • Load spreading. A crawler running from a few servers concentrates thousands of requests on a few IPs. Proxies spread that traffic so each address stays at a modest rate.
  • Regional content. News, prices, regulations and product pages differ by country. Country targeting lets you collect the version local readers see.
  • Resilience. If one IP is slowed down, the job keeps going on others.

Proxies do not give you permission. A site that blocks your crawler in robots.txt or its terms has made a choice, and switching IPs to get around it is not acceptable.

Which proxy type fits

Source type Suggested proxy Why
Documentation, open datasets, public sector sites Datacenter proxies Lowest cost per IP, fast, enough for open sources
Sites that limit data center ranges, country-specific pages Residential proxies Home connections in the country you target

Datacenter proxies start at $0.50/IP and are billed per IP for 30 days, so cost does not grow with every page you fetch. Residential proxies start at $1.00/GB and are billed per GB, which makes page weight important: fetch HTML, not images and scripts, unless you need them.

Rotation and session settings

For bulk crawls of independent pages, rotate the residential IP per request. For sources where pagination or a chosen region is stored in a cookie, use a sticky session for the length of that sequence. With datacenter IPs, assign a fixed group of addresses to each large source and keep the per-IP rate low.

Pacing, retries and freshness

  • Respect any crawl-delay a site sets, and keep a per-domain concurrency limit even when you have many IPs.
  • Back off exponentially on 429 and 5xx responses, and stop crawling a site that keeps returning errors.
  • Use conditional requests (If-Modified-Since, ETag) for retrieval refreshes, so unchanged pages cost almost nothing.
  • Prefer sitemaps and RSS feeds to discover new pages instead of re-crawling whole sites.

A short setup outline

  1. List your sources and why you need each one. Check whether the site offers an API, a data dump or a license.
  2. Read each site's robots.txt and terms. Our robots.txt checker shows the rules for a given user agent.
  3. Give your crawler a user agent that names it and links to a page explaining what it does and how to opt out.
  4. Create proxy credentials in the dashboard generator and add them to your fetcher. The Python guide shows the setup.
  5. Store every document with its URL, fetch date and any license information, so you can honor removal requests later.

Checking robots.txt in Python takes a few lines with the standard library:

from urllib import robotparser

rp = robotparser.RobotFileParser()
rp.set_url("https://example.com/robots.txt")
rp.read()

agent = "YourCrawler/1.0"
if rp.can_fetch(agent, "https://example.com/articles/1"):
    delay = rp.crawl_delay(agent)  # None if the site sets no delay
    # fetch the page through the proxy, then wait for the delay

Rules to respect

  • robots.txt. Many sites now include rules aimed at AI crawlers. Follow the group that matches your user agent.
  • Terms of service. Some sites forbid automated collection or AI training use. Respect that.
  • Copyright. Public does not mean free to reuse. Whether a use is allowed depends on the law where you operate and the license of the content. Get legal advice for training sets you plan to publish or sell.
  • Personal data. Avoid collecting it where you can, redact what slips through, and follow the data protection rules that apply to you.

Our acceptable use policy lists what our network may not be used for.

Common pitfalls

  • Crawling the same content many times through different URLs. Normalize URLs and deduplicate early.
  • Storing pages without their source and date, which makes later cleanup and opt-outs impossible.
  • Treating a CAPTCHA or error page as content. Validate text length and structure before you store it.
  • Scaling IPs instead of fixing pacing. If a site pushes back, slow down.

For general scraper design, see our guide to web scraping.

Questions, answered

Can I use proxies to collect AI training data?
Yes, for public data you are allowed to collect. Proxies spread requests and let you fetch country-specific pages, but they do not change what a site permits, so check robots.txt, terms, copyright and data protection rules first.
Should an AI crawler respect robots.txt?
Yes. Many sites publish rules for AI crawlers in robots.txt, and honoring them is the baseline for responsible collection. Treat a disallow as a no, not as a technical hurdle.
Which proxies are best for large crawls?
Datacenter proxies are the cheapest option for open sources such as documentation, public datasets and lightly protected sites. Residential proxies suit sources that limit data center traffic or show different content by country.
How should I handle personal data in scraped text?
Collect only what your purpose needs, filter or redact personal details such as names, email addresses and phone numbers where you can, and follow the data protection laws that apply to you, such as the GDPR in the EU.

Set it up in four steps.

No subscription and no setup fee. Most people are connected within minutes.

  1. Make an account

    An e-mail and a password. No KYC.

  2. Top up with crypto

    USDT and other coins, added to your balance in US dollars.

  3. Buy residential

    Real home IPs that rotate per request or stick for a session.

  4. Connect

    Paste host, port, user and password into your tool or browser profile.

Give every job a clean IP.

Make an account, top up a few dollars in crypto and connect in minutes. No KYC.

  • Real IPs
  • Fresh, clean
  • No KYC
  • Crypto