API Link
Last updated
Was this helpful?
Last updated
Was this helpful?
If you have not purchased Thordata Residential Proxies package, you cannot use the endpoint generator related functions. Click here to buy now.
Please note: Before using the API link, you need to add the user's IP to the IP whitelist.
Number: The number of IPs extracted
Country/Region: The country/region extracted
Session type: The session types are divided into [Sticky session] and [Rotating session]
Sticky session: The default retention time is 10 minutes and cannot be set
Rotating session: You will get a new IP every time you request
You can also modify the relevant parameters directly in the API link for configuration.
The following is the description of modifying the parameter configuration
Modify the number of extracted IPs:
If you need to adjust the number of extracted IPs, please modify the number
parameter. For example, when extracting 15 IPs, modify the number
parameter to number=15
https://get-ip.thordata.net/api?td-customer=Thor00000001&sesstype=1&number=15
&country=us
Modify the extracted country/region:
If you need to adjust the country/region to be extracted, please modify the country
parameter. For example, to extract the IP address of the United States, modify the country
parameter to country=us
https://get-ip.thordata.net/api?td-customer=Thor00000001&sesstype=1&number=15&country=us
Click here to view the list of supported country/region and codes
To modify the session type:
If you need to change the session type, please modify the sessid
parameter. 1 represents a sticky session and 2 represents a rotating session. For example, if you need to use a rotating session, modify the sessid
parameter to sessid=2
https://get-ip.thordata.net/api?td-customer=Thor00000001&sesstype=2
&number=15&country=us
Error code description:
111
Please request again in 2 seconds
Extraction frequency is too fast
118
Your account is abnormal, please contact customer service
Incorrect Username
114
The extracted IP is empty
No IP matches the criteria