BuyProxy logo
Log inSign up
Developers

Build on BuyProxy

The official Go SDK, 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

client := buyproxy.New() // reads BUYPROXY_API_KEY
plans, _ := client.Plans.List(ctx)

res, _ := client.Plans.Generate(ctx, plans[0].ID, &buyproxy.GenerateParams{Country: "US", Count: 5})
resp, _ := res.Proxies[0].HTTPClient().Get("https://api.ipify.org")
Official SDK

Go, 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.

Go

Go

Standard library only ยท context-aware

$ go get github.com/DishantSinghDev2/buyproxy-go
Dependable by design

Libraries you can put in production

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 Go's net/http client, proxy environment variables and curl.

Reseller API

Build your own proxy business

Buy bandwidth in bulk, create isolated customers and hand out proxies, all through the same API and the Go SDK. 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

Residential, ISP, mobile and datacenter proxies in one account: pay per GB or rent dedicated IPs. Premium Residential adds state, city and ASN targeting and a sticky session length you set.

Global IP coverage
HTTP / HTTPS / SOCKS5
Service levels available under a signed Enterprise agreement
BuyProxy on PeerPushBuyProxy - Global residential proxy network for data teams | Product Hunt