One API, two sections

Plug accstradehub into your own site or panel

Create a free account, generate an API key, choose whether it can access phone numbers, social logs or both, and start selling from your own storefront. Every purchase is charged to your wallet balance at the same prices you see on the site.

https://api.accstradeshub.com/api/v1

1. Get your API key

Sign up, top up your wallet, then create a key from the Developer API page in your dashboard. Each key can be limited to Numbers only, Social logs only, or both.

Keys look like ath_live_… and are shown only once when created. You can revoke a key at any time.

2. Authenticate

Send your key on every request, either as a bearer token or an X-API-Key header. Every response looks like { success, message, data }.

curl https://api.accstradeshub.com/api/v1/account \
  -H "Authorization: Bearer ath_live_xxxxxxxxxxxxxxxx"
Keep your key on your server — never in browser code. Purchases are debited from your wallet balance, so top up before going live.

3. Pick a section

  • GET/numbers/serversavailable servers and your balance
  • GET/numbers/countries?server=server1countries on a server
  • GET/numbers/services?server=server1&country=usservices with NGN prices
  • POST/numbers/ordersrent a number (wallet is debited)
  • GET/numbers/ordersyour recent number orders
  • GET/numbers/orders/{id}poll for the SMS code
  • POST/numbers/orders/{id}/cancelcancel and refund a waiting order
# 1. Buy a number
curl -X POST https://api.accstradeshub.com/api/v1/numbers/orders \
  -H "Authorization: Bearer $ACCS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"server":"server1","country":"england","service":"whatsapp","operator":"any"}'

# 2. Poll until the code arrives
curl https://api.accstradeshub.com/api/v1/numbers/orders/123 -H "Authorization: Bearer $ACCS_KEY"
{
  "success": true,
  "message": "Number acquired",
  "data": {
    "order": {
      "id": 123,
      "server": "server1",
      "phone_number": "+447700000000",
      "service_name": "whatsapp",
      "country_name": "england",
      "charge_ngn": "780.00",
      "status": "waiting",
      "sms_code": ""
    },
    "wallet_balance": "4220.00"
  }
}

Orders start as waiting. Poll the order every few seconds until the status becomes received and sms_code is filled. If no SMS arrives, cancel the order and the charge is refunded to your wallet instantly.

Ready to start building?

Create a free account and generate your first API key in under a minute.

Create free account