Skip to main content
Back to blog

Mobile Proxies Quick Start Guide

Oxylabs Mobile Proxies Quick Start Guide
vytenis kaubre avatar

Vytenis Kaubrė

Last updated by Dovydas Vėsa

2023-05-31

4 min read

AI Summary:

Oxylabs Mobile Proxies use real mobile devices on cellular networks with automatic rotation for reliable public web data access and collection. Users can set them up by creating a product instance and then integrating them via cURL with customizable location and session parameters.

Oxylabs Mobile Proxies run on real mobile devices connected to cellular networks and are equipped with automatic rotation, making them the perfect choice for stable public web data collection. 

Follow this guide to learn how to set up and start using Mobile Proxies with ease. Alternatively, you can teach your coding assistant or AI agent everything about our Mobile Proxies in just a few steps with Agent Skills. Learn how.

Setting up Mobile Proxies

1. Register and create an instance

Start by heading to the Oxylabs Dashboard and create an account. There, click + Add product instance and select Mobile Proxies. Then set an instance name, choose an authentication method, and create the product instance.

Add Oxylabs product instance in the dashboard

2. Get instance credentials

Open your Mobile Proxies instance from the dashboard home section. There, look for your new proxy instance username and password at the top of the overview. These credentials are your access to the IPs.

Find Oxylabs product instance credentials

Starting with Mobile Proxies

After creating your product instance, try a simple cURL example that you can run in your terminal or any other setup you prefer.

cURL example to test Mobile proxies

For your convenience, you can copy the cURL example below:

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

Then, simply paste the cURL example, replace USERNAME and PASSWORD with your credentials, and send the request to get your Mobile IP address.

Location settings

You can use a single backconnect entry node to specify your targeting preferences by adding parameters in the username:

For instance, see an example of a query structure with country and city parameters:

cURL with country and city parameters

The following is an example of this query in code form:

curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-cc-GB-city-london:PASSWORD" https://ip.oxylabs.io/location

Session control

You may include additional parameters in your query to control your session. One of the options is to add sessid-abcde12345 to your username string.

cURL with session parameters

Here's a code example you can copy and use for your convenience:

curl -x pr.oxylabs.io:7777 -U "customer-USERNAME-sessid-randomString123:PASSWORD" https://ip.oxylabs.io/location

By default, each request returns a random IP address as Oxylabs Mobile Proxies rotate automatically. The standard session time is 10 minutes, but you can extend it to 24 hours using the sesstime parameter. 

If you need the same IP for the whole session, you can also use the sessid_oneip parameter. This session type keeps the original IP for as long as the proxy is available, up to the configured session duration. Unlike standard sessid sessions, no new IP will be assigned if the original proxy IP becomes unavailable. Instead, the request will return a 502 error.

For a full list of supported parameters and languages, head to our documentation.

Response codes

See the most common response codes in the table below:

Response Description
400 Bad Request A proxy server can return this error code if the request doesn’t contain a host to connect to or if there was a generic error when parsing an HTTP request. Make sure you formed the request correctly, including the URL in the request, then try again.
407 Proxy Authentication Required The request lacks proxy authentication information, or the username or password is invalid. Include the Proxy-Authorization header in your request, ensure that your username and password are formed correctly, then try again.
500 Internal Server Error The proxy server has encountered an internal error. Retry the request at a later time.
502 Bad Gateway Response Code 502 signifies that the IP assigned to your session ID is no longer available. If you encounter this error, you can wait for one minute as the system automatically assigns a new IP address to your session ID. You can also switch to a new session ID (i.e., change the sessid or sessid_oneip parameter) – to receive a new IP address.
522 Timeout A proxy server didn’t receive a response from the upstream server in time. Retry request.
525 No Exit Found Custom HTTP status code - this means the proxy couldn’t find an exit node that satisfies the request. Change request filter parameters or try again at a later time.

If an error originates from our infrastructure, the response will include an X-Error-Description header that provides details about the error and further steps to resolve it. Contact our Support Team for assistance if you run into any other response codes.

Using Endpoint Generator

The Endpoint Generator is an automated tool in Oxylabs Dashboard that’s designed to generate custom lists of Mobile Proxy endpoints. Endpoint Generator can be found in your Mobile Proxy product instance Overview:

We suggest using our Endpoint Generator to easily retrieve a list of endpoints by selecting the necessary parameters. With this tool, you can retrieve a list of endpoints that include:

  • Region – a region based on your location.

  • Proxy protocol – choose from available proxy protocols: HTTP, HTTPS, or SOCKS5.

  • Endpoint type – you can choose between backconnect or country entry.

  • Location settings – select a specific proxy country or city location. Alternatively, leave Any to get a random proxy location.

  • Session type – you can choose from a sticky session to keep your IP address, a rotating session to get a new IP address with each new request, or a one-IP sticky session that doesn’t switch IPs if the connection breaks before the session duration ends.

  • Session duration – Choose the session duration on the slider for your sticky session between 1 minute and 24 hours.

Oxylabs proxy Endpoint Generator settings

Once you have the parameters set up, choose from popular options like cURL, Python, PHP, Node.js, GO, Java, or get integration details (host, port, username/password, and connection protocol)

Oxylabs proxy Endpoint Generator outputs

Overall, the Endpoint generator is a more convenient way to set up your endpoints and export them. You can find more detailed information in our documentation.

Note: The purpose of the Endpoint generator is to create endpoints only. You need your own terminal or other setup to put the endpoints to use.

Usage statistics

The Usage section of your product instance lets you see detailed information on how much traffic you use in any time range, check daily breakdowns, and track the number of successful or failed requests. You can see usage graphs for any selected period and filter by targets or countries.

Residential proxy usage statistics in Oxylabs dashboard

In addition to monitoring your proxy usage, you can also set traffic limits using the dashboard.

To do that, open your Mobile Proxy instance, select Configurator tab, and click Limits & spending. There, you can enable usage limits, configure the details, and choose the action: Disable instance when the limit is reached or Send email alerts without disabling the instance.

Product instance limits in Oxylabs dashboard

Additional resources

If you have any questions, feel free to contact our Support Team or dive into other developer-focused resources for more insights:

Frequently asked questions

What is my proxy IP address?

To find out your proxy IP address, either visit ip.oxylabs.io/location or send a request to it via your terminal – your IP address will be returned to you.

About the author

vytenis kaubre avatar

Vytenis Kaubrė

Technical Content Researcher

Vytenis Kaubrė was a Technical Content Researcher at Oxylabs. Creative writing and a growing interest in technology fueled his work, where he researched and crafted technical content while honing his skills in Python. Off duty, he could often be found working on personal projects, learning about cybersecurity, or relaxing with a book.

All information on Oxylabs Blog is provided on an "as is" basis and for informational purposes only. We make no representation and disclaim all liability with respect to your use of any information contained on Oxylabs Blog or any third-party websites that may be linked therein. Before engaging in scraping activities of any kind you should consult your legal advisors and carefully read the particular website's terms of service or receive a scraping license.

Related articles

Oxylabs Web API Quick Start Guide
Oxylabs Web API Quick Start Guide
Dovydas Vėsa avatar

Dovydas Vėsa

2026-10-07

Guide to Handling Python Requests Timeout
Guide to Handling Python Requests Timeout
vytenis kaubre avatar

Vytenis Kaubrė

2026-10-05

Web Scraping with Claude AI: Python Guide
Agne Matuseviciute avatar

Agnė Matusevičiūtė

2026-10-05

Mobile Proxies starting at $9

Harness the power of our stable proxy pool with over 20M Mobile Proxy IPs around the world.

Get the latest news from data gathering world

Scale up your business with Oxylabs®

Mobile Proxies starting at $9

Harness the power of our stable proxy pool with over 20M Mobile Proxy IPs around the world.