Check Certificate Status
Check certificate status using token authentication and either a certificate KID or device UDID
/api/device/certcheckRequest Parameters
All parameters can be passed via Query or Body
| Parameter | Type | Required | Description |
|---|---|---|---|
token | string | Required | User API token Example: your_api_token_here |
kid | string | Optional | Certificate KID. Provide either kid or udid Example: ABC123XYZ |
udid | string | Optional | Device UDID. Provide either kid or udid Example: 00008030-001234567890002E |
Response
| Parameter | Type | Required | Description |
|---|---|---|---|
code | number | Required | API call status: 1=success, others=failure Example: 1 |
msg | string | Required | Response message Example: 证书状态正常 |
time | number | Required | Server timestamp (Unix seconds) Example: 1769675945 |
data | object | Required | Response payload |
data.status | string | Required | Certificate status: normal/expired/revoked/banned/dropped/unknown Example: normal |
data.status_code | number | Required | Status code: 205=normal, 203=expired, 204=revoked, 207=banned, 206=dropped, 208=unknown Example: 205 |
data.status_text | string | Required | Status text Example: 正常 |
data.details | string | Required | Details Example: 证书有效,剩余 180 天过期 |
data.check_method | string | Required | Check method: Online check / Local check Example: 在线检测 |
data.can_detect_revoke | boolean | Required | Can detect revocation: true=online check available, false=local check only (validity period only) Example: true |
data.revoked_at | string | Required | Revocation time (only for revoked/banned) Example: 2026-01-15 10:30:00 |
data.expires_at | string | Required | Certificate expiration time Example: 2027-01-28 15:30:00 |
data.remaining_days | number | Required | Remaining valid days Example: 180 |
data.cert_info | object | Required | Certificate information |
data.cert_info.common_name | string | Required | Certificate common name Example: Apple Development: John Doe (XXXXXXXXXX) |
data.cert_info.valid_from | string | Required | Certificate valid from Example: 2026-01-28 15:30:00 |
data.cert_info.valid_to | string | Required | Certificate valid to Example: 2027-01-28 15:30:00 |
data.device | object | Required | Device information |
ip | string | Required | Requester IP address Example: 192.168.1.100 |
ysucc | string | Required | Success flag, returns "Ysucc" on success Example: Ysucc |
Certificate Dropped (Online)
Online check detected certificate dropped
Account Banned
Developer account has been banned by Apple
Local Check (Online Unavailable)
Online check unavailable, fallback to local check, validity period only
Multiple Certificates Found
Multiple certificates exist for same UDID, use kid to specify
Error Codes
121020Response Language
Customize the API response language with the X-Lang header. The code examples below automatically use your current site language.
X-Lang: enzh, en, zh-TW, vi, arAccept-Language is also supported; X-Lang takes priority. Unsupported languages fall back to English.
Code Examples
curl -X GET "https://testypro.iwai.cc,https://cer.xyul.cn,https://cer.iwai.cc/api/device/certcheck?token=your_api_token_here&kid=ABC123XYZ&udid=00008030-001234567890002E" \
-H "X-Lang: en"Notes
- Supports both GET and POST
- Provide at least one of: kid or udid
- If multiple certs exist for same UDID, returns multiple cert prompt
- Online check: Can detect validity + revocation status, requires network
- Local check: Only checks validity period, cannot detect revocation
- Falls back to local check when online unavailable, can_detect_revoke=false
- Device status auto-updated to hidden when dropped/banned detected
- Status codes: 205=normal, 203=expired, 204=revoked, 206=dropped, 207=banned, 208=unknown
- Avoid frequent calls to prevent Apple rate limiting
Try it in Console
Fill in the parameters below and send a request to test. Requests only go to this site's API; the URL is locked and cannot be changed, and your current login cookie is included.
https://testypro.iwai.cc/api/device/certcheck?token=your_api_token_here&kid=ABC123XYZ&udid=00008030-001234567890002ELocked to this siteUser API token
Certificate KID. Provide either kid or udid
Device UDID. Provide either kid or udid