API quick start
The AcctBuy API lets you browse products and buy accounts from your own software.
1. Get a key
Create an account, top up your balance and copy your API key from the dashboard.
2. Make a request
curl "https://acctbuy.com/api/v1/listings?search=gmail&sort=total_price" -H "X-API-Key: YOUR_API_KEY"
3. Buy
Send ad_id, quantity and a unique client_reference to POST /api/v1/purchase. Reusing the same client_reference after a timeout returns the original order, so you never pay twice.
Full endpoint list, examples, rate limits and error codes: API documentation.