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
/api/mobile/pricingPublic, no authentication. Returns the enabled terms with their current prices.
{
"terms": [
{ "term": "3h", "label": "3 hours", "durationHours": 3, "priceCents": 600 },
{ "term": "day", "label": "1 day", "durationHours": 24, "priceCents": 2000 }
],
"currency": "usd"
}Locations
/api/proxies/:id/mobile/locationsRequires proxies:read. The list is cached for 60 seconds.
{
"locations": [
{ "id": "T-Mobile-Akron", "city": "Akron", "state": "OH", "carrier": "T-Mobile", "available": true, "availableSlots": 8 }
]
}Buy a Modem
/api/proxies/:id/mobileRequires a paid plan and the proxies:write and credentials:write scopes. Send an Idempotency-Key header; repeating the same key never charges twice.
| Field | Type | Description |
|---|---|---|
port | integer | 1024–65535, not reserved, no active Secure Share or binding |
term | string | 3h, day, week, month or year |
locationId | string or null | Optional location from the locations list |
os | string | Optional: ios, android or linux |
autoRenew | boolean | Optional. Renew from your balance before the term ends |
expectedPriceCents | integer | The price you were shown. A mismatch returns 409 PRICE_CHANGED |
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 }'{
"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.
| Status | code | Meaning |
|---|---|---|
| 400 | INVALID_TERM, INVALID_PORT | Term not enabled, or port not allowed |
| 402 | INSUFFICIENT_BALANCE | Response includes shortfallCents and balanceCents |
| 403 | ACCOUNT_RESTRICTED | The balance is restricted; a top-up settles it first |
| 409 | PRICE_CHANGED | Response includes the new priceCents |
| 409 | BALANCE_DISABLED | Account balance is not enabled |
| 409 | PORT_IN_USE, PORT_COLLISION_SECURE_SHARE | Choose another port |
| 409 | ORDER_FAILED | The earlier order for this key failed; retry with a new key |
| 503 | MOBILE_CAPACITY_UNAVAILABLE | Mobile capacity is temporarily unavailable. You are not charged |
Renew
/api/proxies/:id/upstreams/:port/renewRequires proxies:write and an Idempotency-Key header. Body: term, expectedPriceCents. Same error codes as buying.
{ "status": "active", "orderId": "mord_...", "expiresAt": "2026-12-11T02:27:08.000Z" }Auto-Renew
/api/proxies/:id/upstreams/:port/auto-renewRequires proxies:write. Body: { "enabled": true, "term": "week" } (term optional). Response: { "autoRenew": true, "term": "week" }.
Rotate IP or Jump to a Random Location
/api/proxies/:id/upstreams/:port/rotateRequires 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
/api/proxies/:id/upstreams/:port/relocateRequires proxies:write. Body: { "locationId": "T-Mobile-Akron" }. Moving is free. Response: { "relocated": true, "locationId": "..." }.
Rotation Schedule
/api/proxies/:id/upstreams/:port/rotation-schedule/api/proxies/:id/upstreams/:port/rotation-schedule/api/proxies/:id/upstreams/:port/rotation-scheduleGET needs proxies:read; PUT and DELETE need proxies:write.
| Field | Values |
|---|---|
mode | same_city (same city and carrier), same_city_carriers (same city, any carrier), full_pool (anywhere in the US pool) |
intervalMinutes | whole number, 1–60 |
GET returns { "schedule": { "mode": "same_city", "intervalMinutes": 10 } } or { "schedule": null }. DELETE returns { "schedule": null }.
OS Network Profile
/api/proxies/:id/upstreams/:port/fingerprintRequires 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
/api/proxies/:id/upstreams/:port/reset-passwordRequires proxies:write and credentials:write. Returns a new password once; the old one stops working.
{ "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.