Developers
Top up your wallet, order proxies, rotate IPs and read usage from your own code. Step-by-step guides with complete scripts in Bash, Python and Node.js, plus the full API reference.
Your first calls
Create a key in Dashboard → Settings → API keys, export it, and run these three calls.
export PREMIP_API_KEY="premip_YOUR_KEY"
# Who am I, and is the key valid?
curl https://api.premip.com/auth/api-key/verify -H "X-Api-Key: $PREMIP_API_KEY"
# What is my balance?
curl https://api.premip.com/billing/wallet -H "X-Api-Key: $PREMIP_API_KEY"
# Which proxies do I have?
curl https://api.premip.com/proxies -H "X-Api-Key: $PREMIP_API_KEY"API at a glance
- Base URL
- https://api.premip.com
- Authentication
- X-Api-Key: premip_… or Authorization: Bearer premip_…
- Format
- JSON requests and responses. Money in US dollars, traffic in MB, times in UTC ISO 8601.
- Errors
- HTTP status plus {"code", "message", "retryAfterSec"?}. Match on code.
- Proxy gateway
- gw.premip.com, HTTP on 8080, SOCKS5 on 1080.
- Payments
- Crypto only. Orders use wallet balance first, then a crypto payment.
From zero to rotating proxies
- 01Create a keyDashboard → Settings → API keys. Shown once.
- 02Fund the walletPOST /billing/wallet/credit, pay in crypto, poll until confirmed.
- 03Place an orderQuote with POST /orders/quote, buy with POST /orders.
- 04Use and rotateRead credentials from GET /proxies, rotate with one call.
- 05Watch usagePlan quota, daily usage and balance alerts.
Guides with complete code
Every guide ends with a full script you can save and run in Bash, Python or Node.js.
- Quickstart: from API key to a rotated IPCreate an API key, check your wallet, list your proxies, send a request through one and rotate its exit IP. Takes about five minutes.
GET /auth/api-key/verifyGET /billing/walletGET /proxies5 min read, Bash, Python and Node.js - Top up your wallet from codeCheck your balance, create a crypto top-up, wait for the network to confirm it and read the transaction history.
GET /billing/walletPOST /billing/wallet/creditGET /billing/payment-intents/{id}8 min read, Bash, Python and Node.js - Place an order and get your proxiesRead the catalog, quote a package, buy it with your wallet balance or a crypto payment, then create your proxy under the new plan. Includes cancel and refund.
GET /catalog/productsGET /catalog/locationsPOST /orders/quote10 min read, Bash, Python and Node.js - Rotate IPs and manage sessionsRotate an exit IP on demand, handle the cooldown, keep one IP with sticky sessions, set auto-rotation and trigger rotation from a scheduler.
POST /api/v1/proxies/{id}/rotateGET /api/v1/rotatePATCH /proxies/{id}/settings10 min read, Bash, Python and Node.js - Monitor usage and balanceRead plan quota, per-proxy and daily usage and your wallet balance, then run a small check from cron that warns you before traffic or balance runs out.
GET /billing/planGET /usage/analyticsGET /billing/wallet6 min read, Bash, Python and Node.js
What you can do from code
- Wallet and top-upRead balance, create crypto top-ups, follow payment status and transactions.
- Catalog and pricingProducts, package sizes, locations and quotes. Public routes.
- Orders and cartQuote, create, cancel and refund orders. Manage the dashboard cart.
- ProxiesList credentials, enable or disable, change username and password.
- Rotation and sessionsRotate on demand, sticky sessions, auto-rotation, country targeting.
- IP whitelist and checksManage whitelisted IPs, check IP quality, run site checks.
- Plan, invoices and usageQuota, per-proxy and daily traffic, invoices.
- Scraper and crawlerSelf-hosted page scraping, search and site crawling through your proxies.
Reference and tools
- API referenceEvery endpoint with parameters, responses, errors and curl, Python and Node.js samples.
- Python SDKTyped Python methods for the same endpoints.
- Scraper and crawlerRun the open-source scraper and crawler on your own server.
- Proxy setupConnect from curl, browsers, Playwright, Puppeteer, Scrapy and more.
- Proxy featuresBrowser profiles, rotation and IP whitelist walkthroughs.
- Help centerGuides, FAQs and a way to reach support.