即时接收
毫秒级响应,验证码秒级到达,无需等待。
毫秒级响应,验证码秒级到达,无需等待。
美 / 英 / 港 / 加 / 印尼 / 越南,号源持续扩充。
HMAC 签名认证,防重放攻击,服务可用性稳定。
OpenAPI + Webhook,多语言接入示例,适配业务系统。
持续扩展中
快速注册,完成账户创建。
创建充值订单,完成支付后自动入账。
选择国家与项目,获取号码。
接收验证码,完成业务验证。
APP_KEY="你的APP_KEY"
APP_SECRET="你的APP_SECRET"
URI="/openapi/v1/orders.php"
TIMESTAMP=$(date +%s)
NONCE=$(openssl rand -hex 16)
BODY='{"product_id":413,"quantity":1,"expiry":15,"prefix":"1267","exclude_prefix":"","idempotency_key":"demo-001"}'
BODY_HASH=$(printf '%s' "$BODY" | openssl dgst -sha256 | awk '{print $NF}')
PAYLOAD=$(printf 'POST\n%s\n%s\n%s\n%s' "$URI" "$TIMESTAMP" "$NONCE" "$BODY_HASH")
SIGNATURE=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "$APP_SECRET" | awk '{print $NF}')
curl -X POST "https://smsdock.top$URI" \
-H 'Content-Type: application/json' \
-H "X-App-Key: $APP_KEY" \
-H "X-Timestamp: $TIMESTAMP" \
-H "X-Nonce: $NONCE" \
-H "X-Signature: $SIGNATURE" \
-d "$BODY"
<?php
$body = json_encode([
'product_id' => 413,
'quantity' => 1,
'expiry' => 15,
'prefix' => '1267',
'exclude_prefix' => '',
'idempotency_key' => 'demo-001',
], JSON_UNESCAPED_SLASHES);
$timestamp = (string) time();
$nonce = bin2hex(random_bytes(16));
$uri = '/openapi/v1/orders.php';
$payload = "POST\n{$uri}\n{$timestamp}\n{$nonce}\n" . hash('sha256', $body);
$signature = hash_hmac('sha256', $payload, '你的APP_SECRET');
$ch = curl_init('https://smsdock.top' . $uri);
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
'X-App-Key: 你的APP_KEY',
'X-Timestamp: ' . $timestamp,
'X-Nonce: ' . $nonce,
'X-Signature: ' . $signature,
],
]);
echo curl_exec($ch);
import hashlib, hmac, json, secrets, time, requests
body = json.dumps({
"product_id": 413,
"quantity": 1,
"expiry": 15,
"prefix": "1267",
"exclude_prefix": "",
"idempotency_key": "demo-001"
}, separators=(",", ":"))
uri = "/openapi/v1/orders.php"
timestamp = str(int(time.time()))
nonce = secrets.token_hex(16)
payload = f"POST\n{uri}\n{timestamp}\n{nonce}\n{hashlib.sha256(body.encode()).hexdigest()}"
signature = hmac.new(b"你的APP_SECRET", payload.encode(), hashlib.sha256).hexdigest()
res = requests.post("https://smsdock.top" + uri, data=body, headers={
"Content-Type": "application/json",
"X-App-Key": "你的APP_KEY",
"X-Timestamp": timestamp,
"X-Nonce": nonce,
"X-Signature": signature,
})
print(res.text)
import crypto from "node:crypto";
const body = JSON.stringify({
product_id: 413,
quantity: 1,
expiry: 15,
prefix: "1267",
exclude_prefix: "",
idempotency_key: "demo-001"
});
const uri = "/openapi/v1/orders.php";
const timestamp = String(Math.floor(Date.now() / 1000));
const nonce = crypto.randomBytes(16).toString("hex");
const bodyHash = crypto.createHash("sha256").update(body).digest("hex");
const payload = `POST\n${uri}\n${timestamp}\n${nonce}\n${bodyHash}`;
const signature = crypto.createHmac("sha256", "你的APP_SECRET").update(payload).digest("hex");
const res = await fetch("https://smsdock.top" + uri, {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-App-Key": "你的APP_KEY",
"X-Timestamp": timestamp,
"X-Nonce": nonce,
"X-Signature": signature
},
body
});
console.log(await res.text());
平台提供海外号码接码 API 服务,用户可购买号码并通过控制台或 OpenAPI 查询短信验证码。
不难。平台提供 HMAC 签名示例、请求规范和 Webhook 回调说明,便于开发者快速联调。
注册账户后先创建充值订单,支付成功后余额会自动同步到账,随后即可选择国家、项目并购买号码。
可先确认号码状态、项目匹配和短信留存时间;异常订单会进入系统修复流程。
支持通过 USDT-TRC20 收银台完成充值,到账后余额可用于购买号码。
异常订单按系统修复和异常解冻返还流程处理,可通过联系支持页面提交必要信息。
号码展示为预计到期时间;运营商可能提前 3-5 天回收,请留意到期风险。
可通过联系支持页面提交问题,后台会按订单、余额和短信记录进行核对。