API access
Buy numbers and read OTP codes from your own website, bot or app.
Your API key
Create a free account to get your own API key and start buying numbers from your own app. The documentation below works the same either way — browse it first if you like.
Quick start
Four steps from zero to your first OTP.
- Create a key above and copy it.
- Add money to your wallet (Add funds). Every order is paid from it.
- Find a service with
servicesand note itsid. - Buy with
order, then askstatusevery few seconds until the code arrives.
https://veriqo.in/api.php FormatJSON responses, UTF-8CurrencyIndian rupees (₹), as a number like 12.5Versionv1curl -H "X-API-Key: YOUR_API_KEY" "https://veriqo.in/api.php?e=balance"<?php
$ch = curl_init("https://veriqo.in/api.php?e=balance");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.get(
"https://veriqo.in/api.php?e=balance",
headers={"X-API-Key": "YOUR_API_KEY"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=balance", {
headers: {"X-API-Key": "YOUR_API_KEY"},
});
console.log(await res.json());{
"balance": 485
}Authentication
Send your key in the X-API-Key header on every request. Do not put it in the URL, and never put it in a website's or app's public code. Call the API from your own server.
X-API-Key: YOUR_API_KEYA missing or wrong key returns 401 with {"error":"invalid_api_key"}.
Conventions
| Topic | How it works |
|---|---|
| Requests | GET reads, POST changes things. POST data can be sent as normal form fields (application/x-www-form-urlencoded). |
| Endpoint | Always api.php. The action goes in the e query parameter, for example ?e=status&id=5. |
| Money | Prices and balance are in rupees (₹). The price you see in services is the price you pay. |
| Phone numbers | Returned as digits with the country code, for example 919876543210. |
| Times | Server time, format YYYY-MM-DD HH:MM:SS. |
| Safe retries | Send an Idempotency-Key header on order. If your request times out, send it again with the same key: you are charged once and get the same order back. |
?e=balanceGet balance
Your current wallet balance in rupees.
curl -H "X-API-Key: YOUR_API_KEY" "https://veriqo.in/api.php?e=balance"<?php
$ch = curl_init("https://veriqo.in/api.php?e=balance");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.get(
"https://veriqo.in/api.php?e=balance",
headers={"X-API-Key": "YOUR_API_KEY"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=balance", {
headers: {"X-API-Key": "YOUR_API_KEY"},
});
console.log(await res.json());{
"balance": 485
}?e=servicesList services and prices
Every service and country you can buy right now, with your price. When several suppliers offer the same service, you see the cheapest. Use the id to place an order.
| Parameter | Where | Type | Description | |
|---|---|---|---|---|
qquery · string | query | string | optional | Search text. Matches the service or country name, for example q=telegram or q=india. |
curl -H "X-API-Key: YOUR_API_KEY" "https://veriqo.in/api.php?e=services&q=telegram"<?php
$ch = curl_init("https://veriqo.in/api.php?e=services&q=telegram");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.get(
"https://veriqo.in/api.php?e=services&q=telegram",
headers={"X-API-Key": "YOUR_API_KEY"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=services&q=telegram", {
headers: {"X-API-Key": "YOUR_API_KEY"},
});
console.log(await res.json());[
{
"id": 42,
"country": "India server 1",
"service": "Telegram",
"favorite": false,
"icon": null,
"display_order": 0,
"price": 12.5
},
{
"id": 57,
"country": "USA server 2",
"service": "Telegram",
"favorite": false,
"icon": null,
"display_order": 0,
"price": 18
}
]Prices can change. Read the price from this list right before you buy, and do not store it for long.
?e=orderBuy a number
Charges your wallet and gives you a phone number. Use the number on the app or website you are verifying, then read the code with status.
| Parameter | Where | Type | Description | |
|---|---|---|---|---|
service_idbody · integer | body | integer | required | The id from services. |
Idempotency-Keyheader · string | header | string | optional | Any unique text up to 50 letters, numbers, _ or -. Makes retries safe. |
curl -X POST -H "X-API-Key: YOUR_API_KEY" -H "Idempotency-Key: order-1001" -d "service_id=42" "https://veriqo.in/api.php?e=order"<?php
$ch = curl_init("https://veriqo.in/api.php?e=order");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query(['service_id' => '42']),
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY", "Idempotency-Key: order-1001"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.post(
"https://veriqo.in/api.php?e=order",
headers={"X-API-Key": "YOUR_API_KEY", "Idempotency-Key": "order-1001"},
data={"service_id": "42"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=order", {
method: "POST",
headers: {"X-API-Key": "YOUR_API_KEY", "Idempotency-Key": "order-1001", "Content-Type": "application/x-www-form-urlencoded"},
body: new URLSearchParams({service_id: "42"}),
});
console.log(await res.json());{
"result": "OK",
"order": {
"id": 1001,
"status": "waiting",
"phone": "919876543210",
"otp": null,
"service": "Telegram",
"country": "India server 1",
"price": 12.5,
"created_at": "2026-10-22 10:15:02"
}
}Always check result. It is "OK" when you got a number. Anything else is a short message, the HTTP status is still 200, and you are not charged (any money taken is returned at once).
result | Meaning |
|---|---|
OK | Number allocated. Start reading the code. |
Insufficient balance | Add money to your wallet. |
No number is available for this country right now… | Out of stock. Try another country, or try again soon. You are not charged. |
Service unavailable | The service_id is wrong or switched off. |
Hourly order limit reached. Try again later. | You reached the hourly order limit. |
Duplicate request ignored | You already sent this Idempotency-Key. The existing order is returned in order. |
?e=status&id=ORDER_IDGet order status and OTP
Returns one order. While the status is waiting, call this every 3 to 5 seconds. When the code arrives, status becomes completed and otp holds it.
| Parameter | Where | Type | Description | |
|---|---|---|---|---|
idquery · integer | query | integer | required | The order id returned by order. |
curl -H "X-API-Key: YOUR_API_KEY" "https://veriqo.in/api.php?e=status&id=1001"<?php
$ch = curl_init("https://veriqo.in/api.php?e=status&id=1001");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.get(
"https://veriqo.in/api.php?e=status&id=1001",
headers={"X-API-Key": "YOUR_API_KEY"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=status&id=1001", {
headers: {"X-API-Key": "YOUR_API_KEY"},
});
console.log(await res.json());{
"id": 1001,
"status": "completed",
"phone": "919876543210",
"otp": "482913",
"service": "Telegram",
"country": "India server 1",
"price": 12.5,
"created_at": "2026-10-22 10:15:02"
}An order that belongs to another account returns 404 {"error":"not_found"}.
?e=ordersList your orders
Your most recent orders, newest first.
| Parameter | Where | Type | Description | |
|---|---|---|---|---|
limitquery · integer | query | integer | optional | How many orders, 1 to 50. Default 20. |
statusquery · string | query | string | optional | Only this status: waiting, completed, refunded, cancelled, failed or pending. |
curl -H "X-API-Key: YOUR_API_KEY" "https://veriqo.in/api.php?e=orders&limit=5&status=completed"<?php
$ch = curl_init("https://veriqo.in/api.php?e=orders&limit=5&status=completed");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.get(
"https://veriqo.in/api.php?e=orders&limit=5&status=completed",
headers={"X-API-Key": "YOUR_API_KEY"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=orders&limit=5&status=completed", {
headers: {"X-API-Key": "YOUR_API_KEY"},
});
console.log(await res.json());[
{
"id": 1001,
"status": "completed",
"phone": "919876543210",
"otp": "482913",
"service": "Telegram",
"country": "India server 1",
"price": 12.5,
"created_at": "2026-10-22 10:15:02"
}
]?e=cancelCancel an order
Cancels a waiting order and returns the full price to your wallet. You can cancel from 2 minutes after you bought the number, and only while no code has arrived. Calling it again never refunds twice.
| Parameter | Where | Type | Description | |
|---|---|---|---|---|
idbody · integer | body | integer | required | The order id. |
curl -X POST -H "X-API-Key: YOUR_API_KEY" -d "id=1001" "https://veriqo.in/api.php?e=cancel"<?php
$ch = curl_init("https://veriqo.in/api.php?e=cancel");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => http_build_query(['id' => '1001']),
CURLOPT_HTTPHEADER => ["X-API-Key: YOUR_API_KEY"],
]);
$res = json_decode(curl_exec($ch), true);
print_r($res);import requests
res = requests.post(
"https://veriqo.in/api.php?e=cancel",
headers={"X-API-Key": "YOUR_API_KEY"},
data={"id": "1001"},
)
print(res.json())const res = await fetch("https://veriqo.in/api.php?e=cancel", {
method: "POST",
headers: {"X-API-Key": "YOUR_API_KEY", "Content-Type": "application/x-www-form-urlencoded"},
body: new URLSearchParams({id: "1001"}),
});
console.log(await res.json());{
"result": "Cancelled and refunded",
"order": {
"id": 1001,
"status": "cancelled",
"phone": "919876543210",
"otp": null,
"service": "Telegram",
"country": "India server 1",
"price": 12.5,
"created_at": "2026-10-22 10:15:02"
}
}result | Meaning |
|---|---|
Cancelled and refunded | Done. Money is back in your wallet. |
You can cancel after 2 minutes | Too early. Try again later. |
OTP already received; no refund | The code arrived, so the order is final. |
Order cannot be cancelled | The order is not waiting any more. |
Order lifecycle
Every order has one status. Money moves only at the points shown here.
| status | Meaning | Your money |
|---|---|---|
| pending | Just created, the number is being fetched. Lasts a moment. | Charged |
| waiting | You have the number. Waiting for the code. Lasts up to 20 minutes. | Charged |
| completed | The code arrived and is in otp. Final. | Paid |
| refunded | No code within 20 minutes, or the supplier had no number. Closed automatically. | Returned in full |
| cancelled | You cancelled it before a code arrived. | Returned in full |
| failed | The order could not start, for example the balance was too low. | Not charged |
Stop polling when the status is anything other than pending or waiting.
Errors
Errors from the API itself come with an HTTP status and a short JSON body: {"error":"code"}.
| HTTP | error | What to do |
|---|---|---|
| 401 | invalid_api_key | Check the key in the X-API-Key header. Regenerate it if you lost it. |
| 403 | account_disabled | Your account is suspended. Contact support. |
| 404 | not_found | The order does not exist or is not yours. |
| 404 | unknown_endpoint | Check the e value. |
| 405 | method_not_allowed | order and cancel must be POST. |
| 429 | rate_limited | Too many requests. Wait for the Retry-After seconds, then slow down. |
| 503 | service_unavailable | The site is paused. Try again later. |
Limits
| Limit | Value |
|---|---|
| Requests | 60 per minute for each key. Every response has X-RateLimit-Limit and X-RateLimit-Remaining headers. |
| Orders | 1000 per hour for each account. |
| Number lifetime | 20 minutes. After that the order is refunded automatically. |
| Cancel | From 2 minutes after buying, before the code arrives. |
| Polling | One status call every 3 to 5 seconds for each order is plenty. |
Full example: buy a number and wait for the code
This script finds a service, buys it, then checks every 4 seconds until the code arrives (or the order is refunded). Replace the key and run it on your own server.
import time, requests
API = "https://veriqo.in/api.php"
HEAD = {"X-API-Key": "YOUR_API_KEY"}
# 1. find a service (cheapest first)
svc = requests.get(API, params={"e": "services", "q": "telegram india"}, headers=HEAD).json()
if not svc:
raise SystemExit("no such service")
svc.sort(key=lambda s: s["price"])
print("Buying", svc[0]["service"], svc[0]["country"], "for", svc[0]["price"])
# 2. buy (the Idempotency-Key makes a retry safe)
res = requests.post(API, params={"e": "order"}, headers={**HEAD, "Idempotency-Key": "job-" + str(int(time.time()))},
data={"service_id": svc[0]["id"]}).json()
if res["result"] != "OK":
raise SystemExit(res["result"])
order = res["order"]
print("Use this number:", order["phone"])
# 3. wait for the code
while True:
time.sleep(4)
o = requests.get(API, params={"e": "status", "id": order["id"]}, headers=HEAD).json()
if o["status"] == "completed":
print("OTP:", o["otp"])
break
if o["status"] not in ("pending", "waiting"):
print("Order ended:", o["status"]) # refunded / cancelled / failed
break<?php
function call($q, $post = null, $extra = []) {
$ch = curl_init("https://veriqo.in/api.php?" . $q);
$opt = [CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => array_merge(["X-API-Key: YOUR_API_KEY"], $extra)];
if ($post) { $opt[CURLOPT_POST] = true; $opt[CURLOPT_POSTFIELDS] = http_build_query($post); }
curl_setopt_array($ch, $opt);
return json_decode(curl_exec($ch), true);
}
// 1. find a service
$svc = call('e=services&q=' . urlencode('telegram india'));
if (!$svc) exit("no such service\n");
usort($svc, fn($a, $b) => $a['price'] <=> $b['price']);
// 2. buy
$res = call('e=order', ['service_id' => $svc[0]['id']], ['Idempotency-Key: job-' . time()]);
if ($res['result'] !== 'OK') exit($res['result'] . "\n");
$order = $res['order'];
echo "Use this number: " . $order['phone'] . "\n";
// 3. wait for the code
while (true) {
sleep(4);
$o = call('e=status&id=' . $order['id']);
if ($o['status'] === 'completed') { echo "OTP: " . $o['otp'] . "\n"; break; }
if (!in_array($o['status'], ['pending', 'waiting'])) { echo "Order ended: " . $o['status'] . "\n"; break; }
}const API = "https://veriqo.in/api.php";
const HEAD = { "X-API-Key": "YOUR_API_KEY" };
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
// 1. find a service
const svc = await (await fetch(API + "?e=services&q=telegram%20india", { headers: HEAD })).json();
if (!svc.length) throw new Error("no such service");
svc.sort((a, b) => a.price - b.price);
// 2. buy
const res = await (await fetch(API + "?e=order", {
method: "POST",
headers: { ...HEAD, "Idempotency-Key": "job-" + Date.now(), "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({ service_id: svc[0].id }),
})).json();
if (res.result !== "OK") throw new Error(res.result);
console.log("Use this number:", res.order.phone);
// 3. wait for the code
while (true) {
await sleep(4000);
const o = await (await fetch(API + "?e=status&id=" + res.order.id, { headers: HEAD })).json();
if (o.status === "completed") { console.log("OTP:", o.otp); break; }
if (!["pending", "waiting"].includes(o.status)) { console.log("Order ended:", o.status); break; }
}Good practice
- Keep the key on your server. Never ship it inside a mobile app, a browser script or a public repository.
- Always send an
Idempotency-Keywhen buying. A network timeout then never costs you a second number. - Check
result, not only the HTTP status. A refused order still returns HTTP 200. - Poll gently. Every 3 to 5 seconds is enough. Stop as soon as the status is final.
- Handle
429. Wait forRetry-Afterand retry. Do not loop faster. - Read the price just before you buy. Prices follow the supplier and can change during the day.
- Do not resell your key. You are responsible for everything done with it.
Need help? Open a support ticket.