Integrations
Build your own integration
Any integration on top of BuyProxy needs an API key. Generate one from your dashboard's API Keys section.
Generating proxy lines
Most integrations start by generating a proxy line on behalf of the user:
// Go SDK: github.com/DishantSinghDev2/buyproxy-go
client := buyproxy.New(buyproxy.WithAPIKey(apiKey))
res, err := client.Plans.Generate(ctx, planID,
&buyproxy.GenerateParams{Country: country})
if err != nil {
return "", err
}
return res.Proxies[0].URL().String(), nilEach generated line works with any HTTP client through its gateway. With curl, using the line's username and password:
# Core Residential
curl -x http://USERNAME:PASSWORD@gw.buyproxy.org:6969 https://api.ipify.org
# Premium Residential
curl -x http://USERNAME:PASSWORD@premium.buyproxy.org:10000 https://api.ipify.orgListing your integration
Once your integration is production-ready, submit it for review to have it listed in BuyProxy's integrations directory — reach out via our contact page to get started.
Was this page helpful?