How can I select the exit node country of the peer IP using API?

Support Account
Support Account
  • Updated

When using API method, the peer IP specification will be set by flags in the user name section of the request.
Assuming the following user name:
lum-customer-<CUSTOMER_ID>-zone-<ZONE_ID> 

you can simply add flags to the requests as follows:
lum-customer-{YOUR_CUSTOMER_ID}-zone-{YOUR_ZONE}-country-us
The above request will select peer IP from the united state

Note - 
Country select set by the country code:
us = United states

gb = Great britian
de = Germany 
And many more
You can add more flags to the request parameter such as city targeting, DNS resolution type, and session ID
In order to view the API method using your account credentials, check our API and examples page

Share this

Was this article helpful?

0 out of 1 found this helpful