BuyProxy logo
Log inSign up
Developers

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:6969
Official SDKs

Your 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.

JS

Node.js / TypeScript

Zero dependencies ยท ESM + CJS ยท full types

$ npm install buyproxy
Py

Python

Sync + async ยท mypy strict

$ pip install buyproxy
Go

Go

Standard library only ยท context-aware

$ go get github.com/DishantSinghDev2/buyproxy-go
PHP

PHP

Laravel ยท Symfony ยท Guzzle

$ composer require buyproxy/buyproxy
Rb

Ruby

Zero dependencies ยท Rails-friendly

$ gem install buyproxy
Jv

Java

Java 17+ ยท immutable records

$ org.buyproxy:buyproxy:1.0.0
C#

C# / .NET

Async ยท nullable-annotated

$ dotnet add package BuyProxy
Rs

Rust

tokio + reqwest ยท typed errors

$ cargo add buyproxy
Command line

Your 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
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—
  โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ•”โ•  โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘  โ•šโ–ˆโ–ˆโ•”โ•  โ–ˆโ–ˆโ•”โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•—   โ•šโ–ˆโ–ˆโ•”โ•
  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•   โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘     โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•‘
  โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•โ•โ•    โ•šโ•โ•   โ•šโ•โ•     โ•šโ•โ•  โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•  โ•šโ•โ•   โ•šโ•โ•

โ•ญโ”€ 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
Dependable by design

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.

Reseller API

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. 1

    Fund a pool

    Buy GB per product by card or crypto, priced like a normal top-up.

  2. 2

    Create customers

    Isolated sub-accounts with their own plans and credentials.

  3. 3

    Allocate bandwidth

    Idempotent, whole-GB allocation from your pool to each customer.

  4. 4

    Generate & monitor

    Produce proxies on their behalf and read per-plan usage to bill them.

  5. 5

    Suspend & reactivate

    Pause a customer instantly if they stop paying โ€” and bring them back.

Scale your data access effortlessly

See why BuyProxy is the residential proxy network of choice for modern data teams.

Global IP coverage
HTTP / HTTPS / SOCKS5
Enterprise SLA
Fazier badgeBuyProxy on PeerPushBuyProxy - Global residential proxy network for data teams | Product Hunt