Bot developers

Two APIs. One string format.

The account API hands your bot its balance, usage, orders and ready-made proxy lines on a read-only key. The partner API creates customers, funds them and rotates their credentials. Every string is -key-value pairs after the login, so your parser never has to guess.

GET /api/v1 — 7 endpoints, read-only60 requests a minute per account2 keys per account, revoke in one clickpartner API with Idempotency-Key on every write-key-value tokens: cc · city|isp · os · sess · ttl

Proof

Lines your bot can use. One GET.

/proxies builds ready-to-use lines from the credentials the account already holds — nothing is created, no data is spent. Ask for the country, the session model, the count (up to 1,000) and the format your bot parses.

Read the API docs
proxies.sh
# 3 sticky US lines in URL format — the key stays in an env var
curl "https://api.basilproxies.com/api/v1/proxies?product=residential&country=us&session=sticky&count=3&format=url" \
  -H "Authorization: Bearer $BASIL_API_KEY"

What the string looks like.

Build one by hand to see the token order, then let /proxies or the dashboard generate the rest. A session token picks sticky; the password never carries anything.

eu-residential2.basilproxies.com:2115:basl_7k2m9x4z-cc-de-city-berlin-sess-k4mz61pq-ttl-60:vq20hxw8

Example with placeholder credentials — yours generate in the dashboard. One port: a session token holds one IP; targeting rides the username.

Strings

Every token, in its place.

The first line uses all five tokens. Drop any of them, or reorder them, and the line still works — a parser that reads -key-value pairs after the login reads every string the pool will ever hand out.

Read the docs
tokens.txt
# All five tokens: cc · city|isp · os · sess · ttl (any order)
eu-residential2.basilproxies.com:2115:USER-cc-de-city-berlin-os-android-sess-9f2k41ab-ttl-60:PASS

# URL format, rotating: same login, no session token
http://USER-cc-de:[email protected]:2115

Which product

Selling proxies with the bot? That's the partner API.

The account API is read-only by design — a leaked key exposes data, not money. When your bot needs to hand each customer their own credentials, the partner API does it in one call: POST /customers with an initial balance creates the customer, funds them from your pool and returns working credentials. Top up the same customer for repeat purchases, send an Idempotency-Key on every write, and take back whatever they leave unused.

See white-label

Before you ask.

Mint a key and make the first call.

Get started