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 number up to 9 digits. The lowest SID can be sid-1, and the highest SID can be sid-999999999.

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:[email protected]:5959 "https://example.site.com"

Request a specific country:

curl-x  USERNAME-mob-nl:[email protected]:5959 "https://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-947045456:[email protected]:5959" https://example.site.com

Choose proxies from a specific carrier or network by entering an ASN number in your request:

curl -x USERNAME-res_sc-ASN{number}sid-947045456:[email protected]:5959" "https://example.site.com"

Note: You can use either country or ASN parameter in each request.

You can search for ASN numbers here.


Last updated