cURL Request Parameters
Below is a list of parameters followed by examples of request types:
Parameter | Description |
USERNAME | Username of proxy user |
mob | Indicates query for mobile proxy |
country | Country code in two-letter format, not case sensitive. For example, nl indicates a proxy in the Netherlands; za for South Africa; it for Italy |
SID | Session ID keeps the same IP for next queries. Otherwise, a new IP is assigned for each new request. The same IP address is used until the end user device disconnects. SID supports any random string from 1 digit to 99999999. The lowest SID can be sid-1, and the highest |
ASN | Add ASN number to request specific network or provider for routing internet traffic |
PASSWORD | Proxy user password |
site URL | User's destination site |
A basic query inserting only USERNAME and PASSWORD will be performed from a random mobile IP address:
curl
-x USERNAME-mob-any:PASSWORD@gw.ntnt.io:5959 "example.site.com"
Request a specific country:
curl
-x USERNAME-mob-nl:PASSWORD@gw.ntnt.io:5959 "example.site.com"
Add the SID (session ID) parameter to use the same IP for next queries. Note that SID must be preceded by a country:
curl
-x USERNAME-mob-any-sid-45456:PASSWORD@gw.ntnt.io:5959" "example.site.com"
Choose proxies from a specific carrier or network by entering an ASN number in your request:
curl
-x USERNAME-mob-ASN number-sid-45456:PASSWORD@gw.ntnt.io:5959" "example.site.
com
"
Note: You can use either country or ASN parameter in each request.
You can search for ASN numbers here.
Last updated