Unified API for KV (KeyVault) validation, shared detection, and rarity checking.
Public endpoint - Check if a KV is shared and get info
| Parameter | Type | Description |
|---|---|---|
| id * | string | 12-character KV serial |
| status | int | Optional: 1=unbanned, 2=banned (logs the check) |
Check KV shared status (used by validator)
| Parameter | Type | Description |
|---|---|---|
| id * | string | 12-character KV serial |
| status | int | 1=unbanned, 2=banned |
Get KV rarity based on manufacturing date
| Parameter | Type | Description |
|---|---|---|
| date * | string | Date in MM-DD-YY format |
Validate one or more KV files or ZIP packs (multipart). Fields: kv_files[], kv_file, or file. Raw KV must be 16384 bytes. Multiple 16 KB files return multi:true with results[]. Powered by KVChecker.com.
| Parameter | Type | Description |
|---|---|---|
| file / kv_file / kv_files[] * | file | kv.bin and/or .zip containing 16 KB KeyVaults |
Fetch and validate a remote .bin or .zip URL. Optional product name sets expected KV count for packs.
| Parameter | Type | Description |
|---|---|---|
| url * | string | https URL of kv.bin or a ZIP pack |
| product | string | Shop product name, e.g. 2keys |
Store KV data in session
| Parameter | Type | Description |
|---|---|---|
| serial * | string | Serial number |
| mfg * | string | Manufacturing date |
| part | string | Part number |
| model | string | Model number |
| drive | string | Drive ID |
Get or download stored session data
Authenticate with username/password to get API token
| Parameter | Type | Description |
|---|---|---|
| username * | string | Account username |
| password * | string | Account password |
Get authenticated user's profile (requires token)
| Header/Param | Type | Description |
|---|---|---|
| Authorization | header | Bearer {api_token} |
| api_token | string | Alternative: pass token as parameter |
Generate a new API token (requires authentication)
Get list of user's purchased downloads (requires token)
Download a purchased file (requires token). Default JSON includes redirect to dl.unshared.shop. Add stream=1 to receive file bytes (extract=1 unpacks a single KV from ZIP).
| Parameter | Type | Description |
|---|---|---|
| token * | string | Download token from purchases list |
| txn * | string | Transaction ID |
| stream | int | 1 = stream bytes instead of JSON redirect |
| extract | int | 1 (default) extract kv.bin from ZIP when streaming |
Buy a digital product with store credits (requires token)
| Parameter | Type | Description |
|---|---|---|
| product_name * | string | Catalog name, e.g. 1key |
| product_id | int | Must match product_name if sent |
| discount_code | string | Optional percent-off code |
Get available products (public)
Pass your API token using one of these methods:
Authorization: Bearer YOUR_TOKENX-API-Token: YOUR_TOKEN?api_token=YOUR_TOKENThe following legacy endpoints are still supported for backward compatibility:
/api/kv_api.php → redirects to ?action=check/api/pub_api.php → redirects to ?action=info/api/kv_rarity.php → redirects to ?action=rarity/api/checkkv.php → redirects to ?action=validate