ProxyApp API

Order residential proxy packages, list credentials, generate targeted proxies, extend subscriptions, and top up bandwidth. Authenticated requests use the same API key as SMSPool.

Authentication

Base URL: https://www.proxyapp.net/api

Get your key from SMSPool settings. Send it as a Bearer token in the Authorization header. A key field in a POST body works too. Keep the key out of the URL: a URL is saved in browser history and can be recorded by proxies and logs on the way to us. JSON bodies are accepted on POST endpoints.

Use of the API is subject to the SMSPool Terms of Service. Article 11 covers API use: sanctions and geographic restrictions, what you must require of your own users if you resell the service, and the safekeeping of keys.

curl "https://www.proxyapp.net/api/balance" \
  -H "Authorization: Bearer YOUR_API_KEY"

Errors

Failed responses use HTTP 400, 401, 404, or 429 and always include a success of 0 and a message. HTML is stripped from messages so they are safe to show as-is.

Error response
{
  "success": 0,
  "message": "..."
}

Proxy formats & targeting

The host and port are shared. Each package has its own username (the unique identifier) and password. Targeting is appended to the password.

Password parameters
-country-USExit from a specific country
-region-NYNarrow to a state or region
-city-newyorkNarrow to a city
-session-…Sticky session: keep the same IP for about 5 minutes

Formats: ip:port:user:pass, user:pass:ip:port, ip:port@user:pass, user:pass@ip:port.

Password with targeting
password-country-US-region-NY-city-newyork-session-Ab15CdEfgHijklm

List purchasable packages

GET /api/packages Public

Returns every plan you can order, including bandwidth, price, and the effective rate per GB. Each plan can also be bought as a package that never expires: never_expires_price is what that costs.

curl "https://www.proxyapp.net/api/packages"
Response
{
  "success": 1,
  "packages": [
    {
      "id": 3,
      "name": "Growth",
      "gb": 25,
      "price": 55,
      "rate_per_gb": 2.2,
      "length_days": 31,
      "never_expires_price": 275,
      "never_expires_rate_per_gb": 11
    }
  ]
}

Purchase a package

POST /api/order API key

Charges your SMSPool balance and creates a new proxy package. Existing packages stay active. Pass recurring=1 to renew that same plan from balance when fewer than 5 days remain. Recurring renewals never charge a card. Pass never_expires=1 to buy the same bandwidth as a package that never expires, for the never_expires_price listed by /api/packages; such a package is never renewed, so recurring is ignored. Check the blocklist endpoint before ordering if you care about a specific target domain.

Parameters
package int · required Package id from /api/packages
coupon string · optional Optional coupon code. Applies to this purchase only, not later renewals
recurring int · optional Set to 1 to renew this plan automatically from balance
never_expires int · optional Set to 1 to buy this plan as a package that never expires, at its never_expires_price
curl -X POST "https://www.proxyapp.net/api/order" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "package=3"
Response
{
  "success": 1,
  "message": "Package purchased successfully.",
  "proxy": {
    "identifier": "SojSBfptwh",
    "host": "104.16.0.1",
    "port": 8000,
    "username": "SojSBfptwh",
    "password": "xK91mPq2Ab",
    "expires_at": "2026-09-23 22:01:52",
    "never_expires": 0,
    "is_active": 1,
    "package": "Growth",
    "package_gb": 25
  }
}

List your packages

GET /api/proxies API key

Returns every package on the account. Usage numbers come from cache unless you pass live=1 (slower, one provider lookup per package).

Parameters
live int · optional Set to 1 to refresh usage from the provider
curl "https://www.proxyapp.net/api/proxies" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "success": 1,
  "count": 2,
  "proxies": [
    {
      "identifier": "SojSBfptwh",
      "username": "SojSBfptwh",
      "is_active": 1,
      "package": "Growth",
      "traffic_balance_formatted": "18.59 GB"
    }
  ]
}

Get one package

GET /api/proxy API key

Looks up a package by its unique identifier (the proxy username) and returns live credentials, expiry, and remaining data. For a package that never expires, never_expires is 1 and expires_at is null.

Parameters
id string · required Package identifier, e.g. SojSBfptwh
curl "https://www.proxyapp.net/api/proxy?id=SojSBfptwh" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "success": 1,
  "proxy": {
    "identifier": "SojSBfptwh",
    "host": "104.16.0.1",
    "port": 8000,
    "username": "SojSBfptwh",
    "password": "xK91mPq2Ab",
    "status": "ACTIVE",
    "expires_at": "2026-09-23 22:01:52",
    "never_expires": 0,
    "is_active": 1,
    "traffic_balance_formatted": "18.59 GB",
    "extend_cost": 20.45
  }
}

Generate proxy lines

POST /api/generate API key

Builds one or more connection strings for a package. Country, region, and city are appended to the password. Sticky sessions keep the same IP for about 5 minutes.

Parameters
id string · required Package identifier
country string · optional ISO country code from /api/locations
region string · optional Region / state id
city string · optional City id
sticky int · optional 1 to enable a sticky session
amount int · optional How many lines to generate (1–100)
format string · optional 1 or ip_port_user_pass, 2 user_pass_ip_port, 3 ip_port_at_user_pass, 4 user_pass_at_ip_port
curl -X POST "https://www.proxyapp.net/api/generate" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "id=SojSBfptwh&country=US&sticky=1&amount=2&format=1"
Response
{
  "success": 1,
  "count": 2,
  "format": "ip_port_user_pass",
  "proxies": [
    "104.16.0.1:8000:SojSBfptwh:xK91mPq2Ab-country-US-session-Ab15Cd",
    "104.16.0.1:8000:SojSBfptwh:xK91mPq2Ab-country-US-session-Xy92Zq"
  ]
}

Rotate a password

POST /api/password API key

Generates a new random password for that package only. Other packages are unchanged.

Parameters
id string · required Package identifier
curl -X POST "https://www.proxyapp.net/api/password" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "id=SojSBfptwh"
Response
{
  "success": 1,
  "message": "Proxy password updated.",
  "identifier": "SojSBfptwh",
  "username": "SojSBfptwh",
  "password": "nR84tLq0Pm"
}

Targeting locations

GET /api/locations Public

Lists countries, regions, or cities you can pass to /api/generate.

Parameters
type string · required countries, regions, or cities
country string · optional Required for regions and usually for cities
region string · optional Optional region filter for cities
curl "https://www.proxyapp.net/api/locations?type=regions&country=US"
Response
{
  "success": 1,
  "type": "regions",
  "data": [
    { "id": "NY", "name": "New York" }
  ]
}

Blocklist check

GET /api/blocklist Public

Checks whether a domain is blocked on the network. Use this before you buy a package for a specific target.

Parameters
domain string · required Domain or full URL
curl "https://www.proxyapp.net/api/blocklist?domain=example.com"
Response
{
  "success": 1,
  "blocked": 0,
  "domain": "example.com",
  "matched_rule": null,
  "blocked_subdomains": [],
  "message": "This domain is not currently in the blocklist."
}

Extend a package

POST /api/extend API key

Adds 30 days to the selected package. Packages that never expire cannot be extended. The immediate charge is 50% of the remaining data at the original plan rate. Pass recurring=1 to also turn on balance-only auto-extend for this same proxy: when fewer than 5 days remain, half this package's price is charged and 30 days are added. Bandwidth stays the same. A card is never charged. Expired packages cannot be extended.

Parameters
id string · required Package identifier
recurring int · optional 1 to turn on half-price auto-extend, 0 to turn it off
curl -X POST "https://www.proxyapp.net/api/extend" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "id=SojSBfptwh&recurring=1"
Response
{
  "success": 1,
  "message": "Your proxy has been extended for 30 days.",
  "proxy": {
    "identifier": "SojSBfptwh",
    "expires_at": "2026-10-23 22:01:52",
    "never_expires": 0,
    "is_active": 1
  }
}

Top up bandwidth

POST /api/topup API key

Adds more data to an existing package without changing credentials or expiration. Choose a plan from /api/packages — the listed GB is added on top of whatever is still remaining. Expired packages cannot be topped up. Data added to a package that never expires does not expire either and costs the plan's never_expires_price. This is separate from recurring renewal.

Parameters
id string · required Package identifier
package int · required Package id from /api/packages
coupon string · optional Optional coupon code
curl -X POST "https://www.proxyapp.net/api/topup" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "id=SojSBfptwh&package=3"
Response
{
  "success": 1,
  "message": "Added 25 GB to this proxy.",
  "gb_added": 25,
  "cost": 55,
  "proxy": {
    "identifier": "SojSBfptwh",
    "package": "Growth",
    "package_gb": 50,
    "traffic_balance_formatted": "43.59 GB",
    "expires_at": "2026-09-23 22:01:52",
    "never_expires": 0
  }
}

Recurring renewal

POST /api/subscribe API key

Turns a balance-only recurring charge on or off. Packages that never expire have nothing to renew, so turning either mode on is refused for them. mode=renew charges the plan price, adds that plan's bandwidth, and extends 31 days. mode=extend adds 30 days to the existing proxy and charges half that package's price, with no bandwidth added. When both are on, the full renewal runs and the half-price extension waits. A card is never charged. If the balance is too low, the package is left as-is and you are notified. Expired packages cannot be subscribed.

Parameters
id string · required Package identifier
enabled int · required 1 to turn it on, 0 to turn it off
mode string · optional renew (default) or extend. extend uses the proxy's current package
package int · optional Plan id from /api/packages. Used by mode=renew. Required when enabling renew unless the package already has a purchase
curl -X POST "https://www.proxyapp.net/api/subscribe" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "id=SojSBfptwh&enabled=1&mode=extend"
Response
{
  "success": 1,
  "message": "Recurring renewal is on.",
  "auto_renew": 1,
  "proxy": {
    "identifier": "SojSBfptwh",
    "auto_renew": 1,
    "renew_package_id": 3,
    "renew_package": "Growth",
    "renew_gb": 25,
    "renew_price": 55
  }
}

Purchase history

GET /api/history API key

Returns recent package purchases, renewals, extensions, and top-ups for the account, newest first. Each row includes type: purchase, renew, extend, or topup.

Parameters
limit int · optional Max rows to return (1–500, default 50)
curl "https://www.proxyapp.net/api/history?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "success": 1,
  "count": 2,
  "purchases": [
    {
      "id": 1843,
      "identifier": "SojSBfptwh",
      "type": "topup",
      "package": "Growth",
      "gb": 25,
      "cost": 55,
      "date": "2026-08-24 09:12:04"
    },
    {
      "id": 1842,
      "identifier": "SojSBfptwh",
      "type": "purchase",
      "package": "Growth",
      "gb": 25,
      "cost": 55,
      "date": "2026-08-23 22:01:52"
    }
  ]
}

Account balance

GET /api/balance API key

Returns the current SMSPool balance used to pay for proxy packages.

curl "https://www.proxyapp.net/api/balance" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "success": 1,
  "balance": 120.5
}