Best proxies for AI training data collection in 2026

The best proxies for AI training data start with datacenter exits. Compare residential, rotating and shared options by geography and session rules.

For permitted training-data collection, start with datacenter proxies when your sources accept them and the United States, Italy or Spain covers your sampling plan. Add residential proxies only when the dataset needs responses from other countries, use Rotating Unmetered for independent parallel fetches, and keep shared proxies for exploration. The proxy is the smallest part of the job: what decides the corpus is what you record, deduplicate and accept, and this guide gives a concrete version of each.

What a proxy does in a training-data pipeline

A proxy changes the network path of a request. It does not grant permission to collect content, establish training rights or prove that a response contains usable text. Your pipeline needs those checks separately.

A failed request is visible. A successful response containing a challenge page, consent notice or repeated navigation text is harder to catch, and without content validation it enters the corpus as an apparently valid record. Define the dataset first (permitted sources, required fields, geography, refresh schedule), then choose the network configuration.

The guide to proxies for data engineering teams covers the adjacent pipeline decisions.

Which proxy type fits which collection task

These rows compare configurations, not measured speeds or acceptance rates.

TaskNode4 productRelevant specificationLimit to plan around
Scheduled bulk collection from permitted sourcesDatacenter proxiesNode4-owned IP blocks in the United States, Italy and SpainThree countries, not worldwide datacenter coverage
Country-specific sampling elsewhereResidential proxies170+ countries, resold from an upstream supplierSourcing needs its own diligence; an exit country is not a document's language or origin
Independent fetches across parallel workersRotating UnmeteredSame owned blocks, billed by concurrent connections (Rotating Datacenter is the same pool billed per GB)The exit is chosen per connection, so a stateful workflow needs a session id
Exploratory extraction testsShared proxiesSame owned blocks, shared with other customersOther customers' activity is outside your control

A session id on Node4's rotating gateway holds one exit for up to 30 minutes from first assignment, and later requests do not restart that clock. Treat it as a scheduling boundary. A plan's connection allowance is a capacity figure, not a statement about how much traffic a source permits, so set a per-source ceiling as well and use the lower of the two.

See Node4's datacenter proxies for the current country list and pricing for the rate per plan.

A provenance record for every document

Store one record per fetched document, written at fetch time, not reconstructed later. The record below is illustrative: the field names are a suggestion, and the values are invented.

{
  "doc_id": "c8e1f0a2-5b7d-4e43-9a51-0d2f6c7b9e14",
  "source_url": "https://docs.example.org/guides/install",
  "canonical_url": "https://docs.example.org/guides/install",
  "fetched_at": "2026-10-31T14:02:11Z",
  "permission_basis": "license:CC-BY-4.0",
  "permission_ref": "https://docs.example.org/license",
  "proxy_product": "datacenter",
  "exit_country_requested": "IT",
  "exit_ip": "203.0.113.24",
  "http_status": 200,
  "content_type": "text/html; charset=utf-8",
  "raw_sha256": "9f2c4b...e71a",
  "text_sha256": "41d0a8...03bc",
  "minhash_bucket": "b17:5521",
  "extractor": "html-main-text",
  "extractor_version": "2.4.1",
  "text_chars": 18342,
  "detected_language": "en",
  "page_type": "article",
  "accepted": true,
  "reject_reason": null
}

Three fields carry most of the weight:

  • permission_basis is required, never defaulted. A record without one is rejected, however clean its text. Proxy access does not establish collection permission, licensing rights or a legal basis for training use.
  • exit_country_requested is request metadata, not a label. Store detected_language separately and classify source origin independently. The example shows an Italian exit returning English text, which is normal.
  • extractor_version lets you re-run or discard a batch when a parser bug is found, without refetching anything.

Apply your retention and privacy rules to these records as well as to the content.

Deduplication rules

Deduplicate after extraction, in this order, and log which rule removed each record:

  1. Canonical URL. Lowercase the host, drop the fragment, strip tracking parameters (utm_*, fbclid, gclid), sort the remaining query parameters, and prefer the page's declared rel=canonical when it is on the same site. One canonical URL keeps one record.
  2. Exact content. Same raw_sha256 means the same bytes: keep the earliest fetch.
  3. Exact text. Normalize the extracted text (Unicode NFC, lowercase, collapse whitespace, replace dates and view counters with a placeholder), hash it as text_sha256. Identical hashes are duplicates even when the HTML differs, which catches mirrors and print views.
  4. Near-duplicate text. Compute MinHash over 5-word shingles and compare candidates from the same bucket. Treat an estimated Jaccard similarity of 0.8 or above as a duplicate and keep the longer document. Tune the threshold on a labeled sample from your own sources.
  5. Boilerplate. Any paragraph that appears on more than a set share of pages from one site (for example 30%) is navigation or a footer: remove it before hashing, or every page on that site looks alike.

The acceptance gate before scaling

Run a pilot of a few hundred URLs per source with the exact extractor and proxy configuration you plan to scale. The thresholds below are illustrative starting points; the point is to write yours down before the pilot, not after.

Check on the pilot batchIllustrative thresholdIf it fails
Records with a permission_basis100%Stop; fix the source list
Transport success (2xx, no proxy error)95% or moreSplit failures by layer before changing proxy type: gateway refusals (connect_status other than 200), destination answers (403, 429) and transport errors (nonzero curl exit, no status)
Challenge, consent or error pages among 2xx responses1% or lessAdd a page-type classifier; do not count these as fetched
Required fields present after extraction98% or moreFix the extractor for that source
Exact plus near-duplicate rateUnder 10%Check URL canonicalization and pagination
Language matches the sampling plan95% or moreRevisit the source list; do not relabel by exit country
Share of records from the largest single sourceUnder your cap (for example 20%)Rebalance before scaling, or one site dominates the corpus

A batch that passes every row can scale, one step at a time, with the same gate re-run on a sample of each larger batch. A batch that fails any row is fixed first. More workers on a failing configuration only produce more rejected records.

Test one authorized request

Use an approved source URL and your proxy credentials from environment variables. This assumes an HTTP proxy; do not substitute a SOCKS5 endpoint without changing the scheme.

: "${PROXY_URL:?Set your HTTP proxy endpoint}"
: "${PROXY_USER:?Set your proxy username}"
: "${PROXY_PASSWORD:?Set your proxy password}"
: "${SOURCE_URL:?Set an authorized source URL}"

curl -q --silent --show-error --fail-with-body \
  --noproxy '' \
  --proxy "$PROXY_URL" \
  --proxy-user "$PROXY_USER:$PROXY_PASSWORD" \
  --connect-timeout 10 \
  --max-time 60 \
  --dump-header response.headers \
  --output response.body \
  --write-out 'connect_status=%{http_connect} status=%{http_code} total_seconds=%{time_total}\n' \
  "$SOURCE_URL"

sha256sum response.body   # raw_sha256 for the provenance record

The 10-second connection timeout and 60-second total timeout are example client settings, not provider performance claims.

Read connect_status before status. For an HTTPS source it is the gateway's answer to the tunnel request, and anything other than 200 means the request never reached the source. On a Node4 gateway a 407 there covers more than a wrong password: no active plan for the product behind that hostname, a used-up data allowance and an unregistered source address all answer the same way (fixing 407 errors, authentication). A 429 there, with X-Node4-Conn-Limit in response.headers, is the Rotating Unmetered connection limit, not the source rate-limiting you (connection limits). Once connect_status is 200, status is the source's own answer, and a 429 or 403 there is the source's decision. A nonzero curl exit code with no status from either is a transport failure, such as a timeout or a reset; connection issues covers those.

Inspect the saved body even when the status indicates success: a consent page or application error can arrive as HTTP 200, so transport success and extraction success need separate counters. Honor rate-limit responses and source instructions; changing exits does not resolve a permission problem.

FAQ

What are the best proxies for AI training data collection?

Datacenter proxies are the starting choice when permitted sources accept them and their countries match your dataset requirements. Residential proxies fit broader geographic sampling, while Rotating Unmetered fits independent parallel requests.

Are residential proxies always better than datacenter proxies?

No. Residential proxies address different network and geographic requirements; they do not guarantee cleaner documents, fewer challenges or permission to use content for training.

Does Node4 own its residential proxy addresses?

No. Node4 resells residential addresses sourced from an upstream supplier. Its datacenter, shared and rotating products use owned IP blocks in the United States, Italy and Spain.

How should I measure a proxy collection test?

Measure accepted records against the gate above, not completed requests. Keep the source set and extractor constant when comparing proxy configurations, or a parser change will look like a network improvement.