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.
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.
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"3. Pick a section
- GET
/numbers/servers— available servers and your balance - GET
/numbers/countries?server=server1— countries on a server - GET
/numbers/services?server=server1&country=us— services with NGN prices - POST
/numbers/orders— rent a number (wallet is debited) - GET
/numbers/orders— your recent number orders - GET
/numbers/orders/{id}— poll for the SMS code - POST
/numbers/orders/{id}/cancel— cancel 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