Proxies.ai

Managed Mobile API

Buy, renew, rotate and manage Managed 4G/5G Mobile modems from your account balance.

Buy and manage a dedicated Managed 4G/5G Mobile modem on a port of your Hyperproxy. Purchases are paid from your account balance. For the concepts, see the Managed Proxies guide. Provider accounts you bring yourself use the Managed Proxies API; binding a mobile modem there returns 409 USE_MOBILE_PURCHASE_FLOW.

Terms are identified by key: 3h (3 hours), day (1 day), week (7 days), month (30 days) and year (365 days). Prices are in US cents.

Pricing

GET/api/mobile/pricing

Public, no authentication. Returns the enabled terms with their current prices.

Response
{
  "terms": [
    { "term": "3h", "label": "3 hours", "durationHours": 3, "priceCents": 600 },
    { "term": "day", "label": "1 day", "durationHours": 24, "priceCents": 2000 }
  ],
  "currency": "usd"
}

Locations

GET/api/proxies/:id/mobile/locations

Requires proxies:read. The list is cached for 60 seconds.

Response
{
  "locations": [
    { "id": "T-Mobile-Akron", "city": "Akron", "state": "OH", "carrier": "T-Mobile", "available": true, "availableSlots": 8 }
  ]
}

Buy a Modem

POST/api/proxies/:id/mobile

Requires a paid plan and the proxies:write and credentials:write scopes. Send an Idempotency-Key header; repeating the same key never charges twice.

FieldTypeDescription
portinteger1024–65535, not reserved, no active Secure Share or binding
termstring3h, day, week, month or year
locationIdstring or nullOptional location from the locations list
osstringOptional: ios, android or linux
autoRenewbooleanOptional. Renew from your balance before the term ends
expectedPriceCentsintegerThe price you were shown. A mismatch returns 409 PRICE_CHANGED
bash
curl -X POST https://proxies.ai/api/proxies/proxy-id/mobile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: 6f1f3c0e-0d2b-4e57-9c1e-2d6a4c8b7a10" \
  -H "Content-Type: application/json" \
  -d '{ "port": 3202, "term": "day", "locationId": "T-Mobile-Akron", "os": "ios", "autoRenew": false, "expectedPriceCents": 2000 }'
201 Response
{
  "orderId": "mord_0123456789abcdef01234567",
  "status": "active",
  "duplicate": false,
  "binding": { "id": "pub_abc123", "port": 3202, "mobileTerm": "day" },
  "portUsername": "hyprx-proxy-id-p3202",
  "portPassword": "shown once",
  "expiresAt": "2026-12-10T02:27:08.000Z",
  "fingerprintUnavailable": false,
  "warnings": []
}

The password is returned once. If setup is still finishing, the response is 202 with status: "provisioning" and no password; the modem then appears on the proxy and you can create a new password with reset password. Optional steps that fail (for example, applying a location or OS profile) do not fail the purchase; they appear in warnings.

StatuscodeMeaning
400INVALID_TERM, INVALID_PORTTerm not enabled, or port not allowed
402INSUFFICIENT_BALANCEResponse includes shortfallCents and balanceCents
403ACCOUNT_RESTRICTEDThe balance is restricted; a top-up settles it first
409PRICE_CHANGEDResponse includes the new priceCents
409BALANCE_DISABLEDAccount balance is not enabled
409PORT_IN_USE, PORT_COLLISION_SECURE_SHAREChoose another port
409ORDER_FAILEDThe earlier order for this key failed; retry with a new key
503MOBILE_CAPACITY_UNAVAILABLEMobile capacity is temporarily unavailable. You are not charged

Renew

POST/api/proxies/:id/upstreams/:port/renew

Requires proxies:write and an Idempotency-Key header. Body: term, expectedPriceCents. Same error codes as buying.

Response
{ "status": "active", "orderId": "mord_...", "expiresAt": "2026-12-11T02:27:08.000Z" }

Auto-Renew

PUT/api/proxies/:id/upstreams/:port/auto-renew

Requires proxies:write. Body: { "enabled": true, "term": "week" } (term optional). Response: { "autoRenew": true, "term": "week" }.

Rotate IP or Jump to a Random Location

POST/api/proxies/:id/upstreams/:port/rotate

Requires proxies:write. Body: { "mode": "ip" } (default) or { "mode": "random" }.

  • ip — new IP, once every 60 seconds per port.
  • random — moves the modem to a random new location, once every 3 minutes per port. Response: { "rotated": true, "mode": "random", "cooldownSeconds": 180, "binding": { ... } }.

Calling too soon returns 429 with code: "ROTATION_COOLDOWN" and cooldownSeconds.

Move to a Location

POST/api/proxies/:id/upstreams/:port/relocate

Requires proxies:write. Body: { "locationId": "T-Mobile-Akron" }. Moving is free. Response: { "relocated": true, "locationId": "..." }.

Rotation Schedule

GET/api/proxies/:id/upstreams/:port/rotation-schedule
PUT/api/proxies/:id/upstreams/:port/rotation-schedule
DELETE/api/proxies/:id/upstreams/:port/rotation-schedule

GET needs proxies:read; PUT and DELETE need proxies:write.

FieldValues
modesame_city (same city and carrier), same_city_carriers (same city, any carrier), full_pool (anywhere in the US pool)
intervalMinuteswhole number, 1–60

GET returns { "schedule": { "mode": "same_city", "intervalMinutes": 10 } } or { "schedule": null }. DELETE returns { "schedule": null }.

OS Network Profile

PUT/api/proxies/:id/upstreams/:port/fingerprint

Requires proxies:write. Body: { "os": "ios" } (ios, android or linux). Not every modem supports profiles. When it does not, the call still succeeds with { "os": null, "fingerprintUnavailable": true }.

Reset the Port Password

POST/api/proxies/:id/upstreams/:port/reset-password

Requires proxies:write and credentials:write. Returns a new password once; the old one stops working.

Response
{ "portUsername": "hyprx-proxy-id-p3202", "portPassword": "shown once" }

Common Errors

403 missing scope, 404 proxy or binding not found (bindings you do not own are never revealed), 429 rate limited, 502 MOBILE_UPSTREAM_ERROR the modem request was rejected, 422 CAPABILITY_UNAVAILABLE not available for this modem.