Number API
Get virtual numbers for sign-ups and receive SMS codes over the API. Prices come back in your currency; settlement is in UZS.
Endpoint
https://seenuzpro.uz/v1Request
GET · JSONKey
key=YOUR_KEYThis API has its own key: @seenuzprobot → API → Number API. Every response carries an
ok field.The price is charged immediately when a number is issued. If no number is issued (error or none available), the money is returned in full.
GETaction=getCountrys
Countries and prices
Available countries, price (in your currency) and free number count.
| Parameter | Description | |
|---|---|---|
key | required | Your API key |
action | required | getCountrys |
GET https://seenuzpro.uz/v1?key=YOUR_KEY&action=getCountrys
{
"ok": true,
"result": {
"countries": {
"PS": { "name": "Palestine", "price": "14375", "available_count": 82, "currency": "UZS" },
"ID": { "name": "Indonesia", "price": "14950", "available_count": 140, "currency": "UZS" }
}
}
}GETaction=getNumber
Get a number
Issues a number for the chosen country and charges the price. Use the hash_code from the response to fetch the SMS code.
| Parameter | Description | |
|---|---|---|
key | required | Your API key |
action | required | getNumber |
country | required | Country code from getCountrys (e.g. PS) |
GET https://seenuzpro.uz/v1?key=YOUR_KEY&action=getNumber&country=PS
{
"ok": true,
"result": {
"phone": "+970591234567",
"hash_code": "a8f3c1e9b2",
"price": "14375",
"currency": "UZS",
"price_uzs": "14375",
"new_balance": "85625",
"new_balance_uzs": "85625"
}
}{
"ok": false,
"error": "INSUFFICIENT_BALANCE",
"msg": "Hisobingizda mablag' yetarli emas!",
"need": 14375,
"have": 9000
}GETaction=getCode
Get the SMS code
If the code has not arrived yet, ask again in a few seconds (every 5–10 s).
| Parameter | Description | |
|---|---|---|
key | required | Your API key |
action | required | getCode |
hash_code | required | The hash_code from getNumber |
GET https://seenuzpro.uz/v1?key=YOUR_KEY&action=getCode&hash_code=a8f3c1e9b2
{
"ok": true,
"result": {
"code": "482913"
}
}GETaction=getBalance
Balance
Balance in your currency and in UZS.
| Parameter | Description | |
|---|---|---|
key | required | Your API key |
action | required | getBalance |
GET https://seenuzpro.uz/v1?key=YOUR_KEY&action=getBalance
{
"ok": true,
"result": {
"balance": "85625",
"balance_uzs": "85625.00",
"currency": "UZS"
}
}GETaction=getInfo
Account info
Account status, language and the masked key.
| Parameter | Description | |
|---|---|---|
key | required | Your API key |
action | required | getInfo |
GET https://seenuzpro.uz/v1?key=YOUR_KEY&action=getInfo
{
"ok": true,
"result": {
"user_id": "412",
"telegram_id": "123456789",
"status": "active",
"balance": "85625",
"balance_uzs": "85625.00",
"currency": "UZS",
"language": "uz",
"api_key": "a1b2********y9z0"
}
}Errors
Errors return ok: false, error (code) and msg (text).
| Response | Meaning and what to do |
|---|---|
API_KEY_EMPTY | key was not sent. |
INVALID_KEY | Wrong key or the account is blocked. |
INSUFFICIENT_BALANCE | Not enough balance. need is required, have is available (UZS). |
COUNTRY_NOT_FOUND | Unknown country code — take one from getCountrys. |
BAD_HASH | hash_code is malformed. |
API_ERROR | The number service did not respond — retry shortly. You are not charged. |
Code samples
# 1) nomer olish curl "https://seenuzpro.uz/v1?key=YOUR_KEY&action=getNumber&country=PS" # 2) kodni olish (kod kelguncha har 5-10 soniyada) curl "https://seenuzpro.uz/v1?key=YOUR_KEY&action=getCode&hash_code=a8f3c1e9b2"
<?php
$api = 'https://seenuzpro.uz/v1';
$key = 'YOUR_KEY';
$num = json_decode(file_get_contents("$api?key=$key&action=getNumber&country=PS"), true);
if (empty($num['ok'])) exit($num['msg'] ?? 'error');
echo "Nomer: {$num['result']['phone']}\n";
for ($i = 0; $i < 24; $i++) { // ~2 daqiqa
sleep(5);
$c = json_decode(file_get_contents("$api?key=$key&action=getCode&hash_code={$num['result']['hash_code']}"), true);
if (!empty($c['result']['code'])) { echo "Kod: {$c['result']['code']}\n"; break; }
}
import time, requests
API = 'https://seenuzpro.uz/v1'
KEY = 'YOUR_KEY'
num = requests.get(API, params={'key': KEY, 'action': 'getNumber', 'country': 'PS'}, timeout=30).json()
if not num.get('ok'):
raise SystemExit(num.get('msg'))
print('Nomer:', num['result']['phone'])
for _ in range(24): # ~2 daqiqa
time.sleep(5)
c = requests.get(API, params={'key': KEY, 'action': 'getCode', 'hash_code': num['result']['hash_code']}, timeout=30).json()
if c.get('result', {}).get('code'):
print('Kod:', c['result']['code'])
break