₦ NGN$ USD

API documentation

Resell numbers from your own app or website. All prices are in NGN (price_usd is included for convenience). Orders are paid from your wallet balance.

Base URLhttps://erify.erify.ng/api/v1
AuthAuthorization: Bearer YOUR_API_KEY
FormatJSON, form-encoded POST
Rate limit60 requests / minute

Get your key on the Profile page after you log in.

Quick start

1. Check balance
curl https://erify.erify.ng/api/v1/balance \ -H "Authorization: Bearer YOUR_API_KEY"
2. Buy a number
curl -X POST https://erify.erify.ng/api/v1/order \ -H "Authorization: Bearer YOUR_API_KEY" \ -d service=wa -d country=19
3. Poll for the code every 5 seconds
curl https://erify.erify.ng/api/v1/order/1042 \ -H "Authorization: Bearer YOUR_API_KEY"

Endpoints

MethodPathWhat it does
GET/balanceWallet balance
GET/servicesService codes and names
GET/countriesCountry ids and names
GET/price?service=wa&country=19Price and stock
POST/orderBuy a number (service, country)
GET/order/{id}Order status and code
POST/order/{id}/cancelCancel and refund (waiting orders only)

Responses

POST /order
{ "status": "success", "order_id": 1042, "number": "+2349012345678", "price": 1850, "currency": "NGN", "expires_at": "2026-11-08 21:20:00" }
GET /order/{id}
{ "status": "success", "order_id": 1042, "order_status": "received", "number": "+2349012345678", "code": "482913", "price": 1850, "expires_at": "2026-11-08 21:20:00" }

order_status values: waiting, received, refunded. A waiting order is refunded automatically when it expires.

Code examples

PHP
$ch = curl_init("https://erify.erify.ng/api/v1/order"); curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER=>1, CURLOPT_POST=>1, CURLOPT_HTTPHEADER=>["Authorization: Bearer YOUR_API_KEY"], CURLOPT_POSTFIELDS=>http_build_query(["service"=>"wa","country"=>"19"])]); $order = json_decode(curl_exec($ch), true); echo $order["number"];
JavaScript
const r = await fetch("https://erify.erify.ng/api/v1/order", { method: "POST", headers: { Authorization: "Bearer YOUR_API_KEY" }, body: new URLSearchParams({ service: "wa", country: "19" }) }); const order = await r.json();
Python
import requests r = requests.post("https://erify.erify.ng/api/v1/order", headers={"Authorization": "Bearer YOUR_API_KEY"}, data={"service": "wa", "country": "19"}) print(r.json()["number"])

Errors

HTTPerrorMeaning
401invalid_api_keyKey missing or wrong
400order_failedSee message: low balance, no stock, not available
404not_found / not_availableOrder or price not found
400cannot_cancelOrder is no longer waiting
429rate_limitedSlow down

Every error looks like {"status":"error","error":"code","message":"text"}.