Making Requests

Basic query only requires to pass username and password. No other parameters are needed. Such query results in a request being made from a random IP address (proxy). Every new request uses a different proxy.

Query parameters

Parameter
Description

customer

Username

sessid

Session ID to keep the same IP in the upcoming queries. The session doesn't expire - you can keep it for unlimited amount of time. Random string, 0-9, and A-Z characters are supported.

password

Password

`` - required parameter

Code examples

In this example, a query to ip.oxylabs.iolocation is performed from a random IP:

curl -x dc.pr.oxylabs.io:10000 -U "customer-USERNAME:PASSWORD" https://ip.oxylabs.io/location

Last updated