API Link

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.

1

Add IP Whitelist

Click [Whitelist] to add IP whitelist

Click [Batch Add] in the upper right corner

Enter the IP you want to add and click Confirm to save

2

Whitelist added completed

3

Select [Whitelisted IPs] in the endpoint generator authentication method and select [API link]

4

Configure extraction parameters

  1. Number: The number of IPs extracted

  2. Country/Region: The country/region extracted

  3. 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

5

Extract and use

Click [Generate result] to generate an IP list or copy the API link to configure and use

The displayed IP is not the actual IP used, so the displayed IP is the same. When actually used, different ports are used and the IPs are different.

Error code description:

Error Code
Return
Describe

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

Last updated

Was this helpful?