Fetch real-time data from 100+ websites,No development or maintenance required.
Over 100 million real residential IPs from genuine users across 190+ countries.
SCRAPING SOLUTIONS
Get accurate and in real-time results sourced from Google, Bing, and more.
With 120+ prebuilt and custom scrapers ready for any use case.
No blocks, no CAPTCHAs—unlock websites seamlessly at scale.
Execute scripts in stealth browsers with full rendering and automation
PROXY INFRASTRUCTURE
Over 100 million real residential IPs from genuine users across 190+ countries.
Reliable mobile data extraction, powered by real 4G/5G mobile IPs.
For time-sensitive tasks, utilize residential IPs with unlimited bandwidth.
Fast and cost-efficient IPs optimized for large-scale scraping.
SCRAPING SOLUTIONS
PROXY INFRASTRUCTURE
DATA FEEDS
Full details on all features, parameters, and integrations, with code samples in every major language.
LEARNING HUB
ALL LOCATIONS Proxy Locations
TOOLS
RESELLER
Get up to 50%
Contact sales:partner@thordata.com
Products $/GB
Fetch real-time data from 100+ websites,No development or maintenance required.
Get real-time results from search engines. Only pay for successful responses.
Execute scripts in stealth browsers with full rendering and automation.
Bid farewell to CAPTCHAs and anti-scraping, scrape public sites effortlessly.
Dataset Marketplace Pre-collected data from 100+ domains.
Over 100 million real residential IPs from genuine users across 190+ countries.
Reliable mobile data extraction, powered by real 4G/5G mobile IPs.
For time-sensitive tasks, utilize residential IPs with unlimited bandwidth.
Fast and cost-efficient IPs optimized for large-scale scraping.
Data for AI $/GB
Pricing $0/GB
Docs $/GB
Full details on all features, parameters, and integrations, with code samples in every major language.
Resource $/GB
EN $/GB
产品 $/GB
AI数据 $/GB
定价 $0/GB
产品文档 $/GB
资源 $/GB
简体中文 $/GB
-G and -d flags for clean query parameter handling instead of manual string concatenation--connect-timeout, --retry, and proper proxy authenticationcURL (Client for URLs) is the Swiss Army knife of data engineering. While most developers know how to run a basic curl google.com, relying on default commands in a production scraping environment is a recipe for getting blocked.
Modern websites employ sophisticated defenses—like TLS fingerprinting (JA3) and behavior analysis—that can instantly detect standard cURL requests. In this advanced guide, we move beyond the basics. We will cover how to structure production-ready GET requests, how to debug connection drops, and most importantly, how to integrate Residential Proxies to stay anonymous.
All commands in this guide were tested against httpbin.org and real-world endpoints using cURL 8.4.0 on Ubuntu 22.04 LTS. Proxy rotation tests were conducted using Thordata’s residential proxy network with 100+ sequential requests to verify IP diversity.
A GET request is the standard HTTP method for retrieving data without modifying server-side resources. However, to a server’s anti-bot system, a naked cURL request looks suspicious because it lacks the “metadata” that a real browser sends.
Here is the simplest command possible (which typically gets blocked by protected sites):
curl http://httpbin.org/get
User-Agent: curl/8.4.0. This is an immediate red flag. Over 85% of protected sites block this. Always spoof this to look like a Chrome or Firefox browser using the -A or -H flag.
Don’t concatenate strings manually (e.g., ?q=item). Use -G and -d to let cURL handle URL encoding automatically.
curl -G -d "search=iphone 15" -d "sort=price_asc" http://httpbin.org/get
Scraping targets often redirect. Use -L to follow them, but set a limit to avoid loops.
curl -L --max-redirs 5 http://httpbin.org/redirect-to?url=http://httpbin.org/get
Use -v to see headers, or --trace-ascii for raw byte data.
curl -v http://example.com
curl --trace-ascii debug_dump.txt http://example.com
Standard cURL has a unique TLS handshake signature (JA3 fingerprint) that differs from browsers. Advanced systems like Cloudflare detect this in milliseconds.
When testing standard cURL (v8.4.0) against Cloudflare-protected sites, requests were blocked within 1-3 attempts even with clean residential IPs. The blocking occurred before rate limiting, indicating fingerprint-based detection. For these cases, use the Thordata Web Scraping API which impersonates browser TLS signatures.
This script demonstrates how to rotate IPs using Thordata’s gateway.
#!/bin/bash
# Configuration
PROXY="http://$THORDATA_SCRAPER_TOKEN:@gate.thordata.com:22225"
TARGET="http://httpbin.org/ip"
echo "🔄 Starting Proxy Rotation Test..."
for i in {1..3}
do
echo "Request #$i..."
# -x: Specify proxy server
curl -x "$PROXY" \
--connect-timeout 5 \
--retry 2 \
-A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/120.0.0.0" \
"$TARGET"
echo -e "\n----------------"
done
| Tool | Pros | Cons | Best For |
|---|---|---|---|
| cURL (Bash) | Extremely Fast, minimal resource usage. | Detected by TLS fingerprinting, no JS. | API testing, static pages. |
| Selenium | Full JavaScript, mimics user. | Very Slow, high CPU usage. | Complex SPAs. |
| Scraping API | Bypasses Blocks, auto-scaling. | Per-request cost. | High-volume enterprise scraping. |
Mastering cURL is essential for quick diagnostics and API testing. However, for production scraping against protected targets, relying solely on cURL flags is often insufficient. Consider integrating specialized tooling that handles headers, fingerprint rotation, and proxy management automatically.
Frequently asked questions
How do I fix “curl: (56) Proxy CONNECT aborted”?
This error typically indicates the proxy server rejected the connection. Common causes include: invalid or expired authentication token, exceeding concurrent connection limits, or the proxy being temporarily unavailable. Check your Thordata dashboard for status.
Can cURL execute JavaScript?
No. cURL only retrieves raw HTML. If content is generated by React or Vue.js, cURL will receive an empty page. Use a headless browser or Thordata’s Universal Scraper with js_render=true.
What is the difference between -H and -A flags?
The -A flag is a shortcut specifically for setting the User-Agent. The -H flag is generic for any header (e.g., -H "Authorization: Bearer..."). Both can set User-Agent, but -A is shorter.
About the author
Kael is a Senior Technical Copywriter at Thordata. He works closely with data engineers to document best practices for bypassing anti-bot protections. He specializes in explaining complex infrastructure concepts like residential proxies and TLS fingerprinting to developer audiences.
The thordata Blog offers all its content in its original form and solely for informational intent. We do not offer any guarantees regarding the information found on the thordata Blog or any external sites that it may direct you to. It is essential that you seek legal counsel and thoroughly examine the specific terms of service of any website before engaging in any scraping endeavors, or obtain a scraping permit if required.
Looking for
Top-Tier Residential Proxies?
您在寻找顶级高质量的住宅代理吗?
出海的隐性成本:你不需要更努力,你需要对的伙伴
本文梳理跨境企业在海外注册、开户和合规环节最常遇到的实际问题 ...
Xyla Huxley
2026-09-08
Residential Proxy vs Datacenter Proxy: Which One Should You Choose?
Understand the key differences ...
greta
2026-09-07
Best Residential Proxies in 2026: How to Choose the Right Provider
Learn how to compare residenti ...
greta
2026-09-07
Is Free Proxy Reliable? Shortcomings and Alternatives
Many users initially prefer free proxies due to cost co […]
Unknown
2026-09-07
簽下企業級代理合約之前:Oxylabs 與 Thordata 的總成本審視
企業級代理合約是靠信任買單、按用量定價的——而後者正是預算被 ...
Xyla Huxley
2026-09-07
Video Datasets for AI Training: Why High-Quality Video Data Matters for Multimodal AI Models
Explore why video datasets are ...
flora
2026-09-07
Residential Proxies Explained: How Businesses Use Proxy Infrastructure for Reliable Web Data Collection
Learn how residential proxies ...
flora
2026-09-07
住宅代理健檢報告:千萬級 IP 池為什麼還是被封(附 Thordata vs. Decodo 誠實比較)
IP 池規模是代理市場裡最常被引用、預測力卻最低的數字。真正 ...
Xyla Huxley
2026-09-07
60 億支影片,到底能訓練出什麼?
每一個影片資料集的推銷簡報都從一個大數字開始。這篇文章要談的 ...
Xyla Huxley
2026-09-07