Build on BuyProxy
Official SDKs for eight languages, a command-line tool, a documented REST API and an OpenAPI spec โ everything you need to put residential, mobile, ISP and datacenter proxies inside your own product.
MIT-licensed ยท typed ยท works the same in every language
import { BuyProxy } from "buyproxy";
const bp = new BuyProxy(); // reads BUYPROXY_API_KEY
const [plan] = await bp.plans.list();
const { proxies } = await bp.plans.generate(plan.id, { country: "US", count: 5 });
console.log(proxies[0].url); // http://user-country-us:pass@gw.buyproxy.org:6969Create an API key
Sign up, then open Dashboard โ API keys. Personal keys manage your own bandwidth; reseller keys manage your customers.
Get a key2Install an SDK
Pick your language, or install the CLI. Every SDK reads BUYPROXY_API_KEY from the environment.
Choose an SDK3Generate a proxy
One call returns ready-to-use proxy lines โ rotating or sticky, targeted by country, state and city.
Read the API docsYour language, fully typed
Generate proxies, check bandwidth, buy more and run a reseller business in a few lines โ with retries, typed errors and framework helpers included.
Node.js / TypeScript
Zero dependencies ยท ESM + CJS ยท full types
$ npm install buyproxyGo
Standard library only ยท context-aware
$ go get github.com/DishantSinghDev2/buyproxy-goYour account, in the terminal
A polished interactive interface for when you're at the keyboard, and clean --json output with stable exit codes for scripts and CI. Generate proxies, prove they work, check bandwidth, top up, and manage reseller customers.
- Interactive menus, spinners and usage bars
- buyproxy test shows exit IP, location and latency
- Export straight into your shell: eval "$(buyproxy generate -f env)"
- Homebrew, npm, curl or a single file โ no dependencies
$ brew install DishantSinghDev2/tap/buyproxy$ npm install -g buyproxy-cliโโโโโโโ โโโ โโโโโโ โโโโโโโโโโ โโโโโโโ โโโโโโโ โโโ โโโโโโ โโโ โโโโโโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโ โโโโโโโโโโโ โโโ โโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโ โโโโโโ โโโโโโโ โโโโโโโโโโโ โโโ โโโโโ โโโโโโโ โโโโโโโโโโโ โโโ โโโโโโ โโโโโ โโโโโโโโโโโโโโโโโ โโโ โโโ โโโ โโโโโโโโโโโโโโโโ โโโ โโโ โโโโโโโ โโโโโโโ โโโ โโโ โโโ โโโ โโโโโโโ โโโ โโโ โโโโญโ BuyProxy โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ Signed in you@example.com pro โ โ Bandwidth 8.50 GB โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ ? What would you like to do? (โ/โ move ยท enter select ยท q quit) โฏ Generate proxies rotating or sticky, geo-targeted Bandwidth & plans what's left on each product Buy bandwidth card or crypto Subscribe to a plan Pro ยท Business ยท Advanced Test a proxy exit IP, location, latency
Libraries you can put in production
One behaviour, eight languages
Every SDK is verified against the same mock API and the same 28-request sequence. If an endpoint changes, it changes everywhere โ or the suite fails.
Retries that are safe
Rate limits are retried using Retry-After. Writes are never retried blindly โ attach an idempotency key and a retry can't double-charge or double-allocate.
Typed errors
Invalid key, out of bandwidth, suspended customer, rate limit โ each is its own error type with the status and the API's message.
Built for your stack
Helpers for Playwright, Puppeteer, requests, httpx, Scrapy, Guzzle, Laravel, Faraday, HttpClient, reqwest and more.
Build your own proxy business
White-label BuyProxy under your brand. Buy bandwidth in bulk, create isolated customers, hand out proxies and bill them โ all through the same API, SDKs and CLI. Available on Business plans and above.
- 1
Fund a pool
Buy GB per product by card or crypto, priced like a normal top-up.
- 2
Create customers
Isolated sub-accounts with their own plans and credentials.
- 3
Allocate bandwidth
Idempotent, whole-GB allocation from your pool to each customer.
- 4
Generate & monitor
Produce proxies on their behalf and read per-plan usage to bill them.
- 5
Suspend & reactivate
Pause a customer instantly if they stop paying โ and bring them back.
Everything in one place
SDK guides
A deep guide for every language: auth, targeting, payments, reseller flows, errors, testing.
CLI reference
Every command documented with options, walkthroughs, examples and troubleshooting.
REST API reference
Every endpoint, parameter and response โ personal and reseller APIs.
OpenAPI spec
Generate your own client or import into Postman and Insomnia.
Open source on GitHub
All SDKs, the CLI and the conformance suite โ MIT licensed, issues and PRs welcome.
Changelog
What shipped and when โ API, SDKs, CLI and dashboard.
Status
Live health of the proxy network, payments and the website.
Help Center
Guides for accounts, billing and everyday proxy questions.
Talk to us
Integration questions, enterprise needs or feedback โ a human reads every message.
Blog
Scraping guides, proxy best practices and release notes.
