Making Request
Basic Queries
Execute requests with only USERNAME
and PASSWORD
. Uses random residential IPs that rotate with each request.Every new request will use a different proxy.
Code Example
The following example illustrates how to query ipinfo.thordata.com
using a randomly assigned IP address, with the request formatted for HTTPS to ensure secure and reliable communication.
curl -x "https://td-customer-USERNAME:[email protected]:9999" "https://ipinfo.thordata.com"
Targeted Requests
Thordata allows embedding geo-targeting and session parameters directly in your username to specify proxy locations (Continent/Country/state/city) or control Session.
Example: Using a proxy from Melbourne, Australia with a 10-minute sticky session
curl -x "http://td-customer-USERNAME-country-au-state-victoria-city-melbourne-sessid-au123-sesstime-10:[email protected]:9999" "https://ipinfo.thordata.com"
Request Parameters
username
Proxy account credential
td-customer-username
continent
Target continent (omit for random)
continent-asia
country
Two-letter country code (omit for random)
country-au
state
Target state (omit for random)
state-victoria
city
Target continent can be set without the "state" parameter
city-melbourne
session
Required for Sticky IP and switching IPs.
sessid-au123456
sessTime
IP duration (1-90 minutes)
sesstime-10
password
Proxy account password
password
asn
Specific ISP (omit for random)
asn-AS1221
Last updated
Was this helpful?