Developers

MobileVPN API docs

Route requests from scripts through mobile, residential and datacenter proxies with one gateway and one login, and read your balance, orders and devices from the account API.

Gateway hostpx.mobilevpn.shop
HTTP and HTTPS8800
SOCKS58900
Sign-inUsername and password, or up to 10 allowlisted IPv4
Username

Proxy username format

Your account has one proxy username and one password, both on the Proxies page of the dashboard. Settings go into the username after _zone_, joined by underscores, and the password stays the same.

Build a username

Your usernamemv7t3k9_zone_mob_cc_us_sid_a1b2_ttl_30
zonemob, res, unl, isp, dc, dcsRequired. Chooses the product the request is counted against.
ccus, gb, jp ...Mobile, Residential and Unlimited. Two-letter country code: 56 countries for mobile lines, 65 for residential.
carriertmobile, vodafone ...Mobile only, optional. The carrier name in lowercase with spaces and symbols removed.
citylos_angelesResidential and Unlimited only, optional. Lowercase, with underscores for spaces.
sida1b2Optional session name in letters and digits. Reuse it to keep the same IP.
ttl1 to 60Minutes the session keeps its IP. Mobile lines also rotate on this timer.

Names lose accents and spaces: Sao Paulo is sao_paulo and T-Mobile is tmobile. Static ISP covers 60 countries, both datacenter products 18.

Examples

Use a proxy with curl, Python requests and Node

Each example asks a public IP echo service which address it sees, so you can confirm the exit before pointing real work at the gateway. The code follows the username you built above.

HTTP and HTTPS on port 8800

curl -x http://px.mobilevpn.shop:8800 \
  --proxy-user "mv7t3k9_zone_mob_cc_us_sid_a1b2_ttl_30:YOUR_PASSWORD" \
  "https://api.ipify.org?format=json"

SOCKS5 on port 8900, names resolved by the gateway

curl --socks5-hostname px.mobilevpn.shop:8900 \
  --proxy-user "mv7t3k9_zone_mob_cc_us_sid_a1b2_ttl_30:YOUR_PASSWORD" \
  "https://api.ipify.org?format=json"

Rotation and sticky sessions

Without a session name, residential products give a new IP on each request. Add sid and ttl to hold one IP for up to 60 minutes; on mobile lines the same timer sets when the line moves to a new IP.

  • A new sid gives a fresh IP straight away
  • Run parallel sessions with one name each
  • Lines can change early, so retry once on 502
mv7t3k9_zone_mob_cc_gb_carrier_vodafone_sid_feed3_ttl_10

IP allowlist

Tools that cannot send a proxy password can sign in by source address instead. Add up to 10 public IPv4 addresses on the Proxies page once your account has a proxy order.

  • Public IPv4 only; private ranges are refused
  • Anyone behind a listed address can spend your traffic
  • Remove an address the day you stop using it
Gateway

Proxy error codes

HTTP clients receive these status codes from the gateway. SOCKS5 clients get the matching SOCKS reply, such as an authentication failure.

407Authentication neededThe username or password was not accepted, or the request came from an address that is not on your allowlist.
403Not allowedSign-in worked, but there is no active order for that zone, the traffic on it has run out, or the destination is not permitted.
429Too many connectionsYou opened more parallel connections than the product allows, for example over 200 on Unlimited Residential. Slow down and retry.
502Exit failedThe exit line could not finish the request, often because a mobile or home line changed or went offline. Retry, with a new sid on sticky sessions.
503No line freeNothing matched the country, city or carrier at that moment. Retry shortly, or remove the city or carrier to widen the choice.
504Target too slowThe website you called did not answer in time. Raise the client timeout or try again.
Account API

Account API reference

Read your balance, orders, devices and proxy usage, and place orders, from your own tools. Requests use HTTPS, JSON with snake_case fields and a secret key in the Authorization header.

Base URLhttps://api.mobilevpn.shop/v1HeaderAuthorization: Bearer mv_sk_...

Getting a key

Create a key on the API page of your dashboard after your first top-up. Keys start with mv_sk_, belong to one account and appear once: we keep only a hash and the last four characters. Making a new key ends the old one at once.

Keep keys in environment variables or a secrets manager, never in a web page, a phone app or a public repository. Proxy traffic never needs this key.

Example request

curl https://api.mobilevpn.shop/v1/balance \
  -H "Authorization: Bearer $MV_API_KEY"
GET/balance

Read your balance

Current balance in US dollars, bonus included, and the time it last changed.

Response 200

{
  "balance_usd": 84.20,
  "currency": "USD",
  "updated_at": "2026-11-25T09:14:03Z"
}
GET/orders?limit=20

List orders

Your plans and packs, newest first, with status and end dates. Use limit (1 to 100) and the cursor from next_cursor to page through.

Response 200

{
  "orders": [
    {
      "id": "ord_8k2m4q",
      "product": "vpn-plus",
      "qty": 24,
      "total_usd": 87.29,
      "status": "active",
      "created_at": "2026-11-02T18:40:11Z",
      "ends_at": "2028-11-02T18:40:11Z"
    }
  ],
  "next_cursor": null
}
POST/orders

Place an order

Buy a VPN plan or a proxy pack from your balance. qty must be one of the product packs. country is needed for Pro (the dedicated IP country) and for Static ISP and datacenter IPs. A new order starts as processing.

Request body

{
  "product": "mobile-proxies",
  "qty": 10,
  "country": null
}

Response 200

{
  "code": "MV3F9A1C02B7",
  "product": "mobile-proxies",
  "qty": 10,
  "total_usd": 7.30,
  "status": "processing",
  "balance_usd": 76.90
}
GET/devices

List VPN devices

Every device on your plan with its city, protocol and Double VPN entry country, plus how many slots the plan has.

Response 200

{
  "devices": [
    {
      "id": "dev_3f8a",
      "name": "iPhone 15",
      "country": "jp",
      "city": "Tokyo",
      "protocol": "wireguard",
      "via": "ch"
    }
  ],
  "used": 1,
  "max": 10,
  "plan": "plus"
}
GET/proxies/usage

Proxy traffic and IPs left

One row per proxy product on your account: traffic left for GB products, days left for Unlimited, IP counts for monthly IPs.

Response 200

{
  "usage": [
    { "product": "mobile-proxies", "remaining_gb": 41.6, "used_gb_today": 1.2 },
    { "product": "datacenter-proxies", "ips": 25, "country": "de", "ends_at": "2026-12-20T00:00:00Z" }
  ]
}
GET/allowlist

Read the IP allowlist

The public IPv4 addresses that may use your proxies without a password, up to 10.

Response 200

{
  "ips": ["203.0.113.24"],
  "max": 10
}
PUT/allowlist

Replace the IP allowlist

Send the full list you want to keep. Private ranges and duplicates are rejected, and an empty list turns password-free access off.

Request body

{
  "ips": ["203.0.113.24", "198.51.100.7"]
}

Response 200

{
  "ips": ["203.0.113.24", "198.51.100.7"],
  "max": 10
}

Account API errors

Errors return the HTTP status and a body such as {"error": {"code": "invalid_key", "message": "..."}}.

401invalid_keyThe key is missing, mistyped or has been replaced by a newer one.
402not_enough_balanceThe balance is lower than the order total. Top up, then place the order again.
403topup_requiredKeys work after the first top-up on the account is credited.
404not_foundThe order, device or path does not exist on this account.
422invalid_inputA field failed validation, for example a private IP in the allowlist.
429rate_limitedToo many calls in a short time. Wait the seconds given in Retry-After.

Plug a mobile line into your scripts

Top up in crypto, buy a proxy pack and your username, password and allowlist are ready on the Proxies page.