安全 · 高效 · 可靠
输入卡密查询状态信息
快速验证卡密有效性
邮箱验证机制
支持记住密码
三方调用api接口文档
https://你的域名/api/verify.php
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
api_key |
String | 是 | 您的API密钥 |
card_key |
String | 是 | 要验证的卡密 |
{
"success": true,
"message": "验证成功",
"data": {
"card_type": "year",
"duration": 365,
"used_at": "2024-10-24 20:19:47",
"expire_at": "2025-10-24 20:19:47"
}
}
$api_key,
"card_key" => $card_key
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Content-Type: application/json'
));
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>
需要创建 API 密钥?
立即注册数据加密保障
毫秒级验证
详细使用记录
24小时支持