← Back to API overview

API documentation

This public document covers basic integration only. Capabilities, quotas, caching and billing rules are subject to the seller center or support confirmation.

Authentication

Send the API key in the request header:

X-API-Key: YOUR_API_KEY

Never put the API key in a URL, JSON body, frontend source or public repository. Reset it in the seller center if leaked.

The API key is only sent in a header; never share it with unrelated people.

1. Key check (sync)

POST https://yizhouruanjian.com/api/v1/check Content-Type: application/json X-API-Key: YOUR_API_KEY {"keys":["XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"]}

Up to 50 keys per request, returning each result. Successful checks consume one credit; failures are not charged.

{ "ok": true, "used": 1, "credits_left": 999, "results": [ {"key":"...","ok":true,"cached":false,"result":{"info":{"activation_remaining":"..."}}} ] }

2. Key check (async batch)

POST https://yizhouruanjian.com/api/v1/check/jobs {"keys":["...","..."]} → {"ok":true,"job_id":"...","total":2}
GET https://yizhouruanjian.com/api/v1/check/jobs/{job_id} → {"ok":true,"status":"done","done":2,"total":2,"results":[...],"used":2}

3. Single CID

POST https://yizhouruanjian.com/cid/api Content-Type: application/json X-API-Key: YOUR_API_KEY {"iid":"214006639597722177401340124218544353779142086799090595601656885"}
{"ok":true,"cid":"165704-...","groups":["..."],"product":"Office 2024","cached":false}

One credit is charged only on success without a cache hit. Repeated cached requests are not charged again; see the console for details.

4. Batch CID

POST https://yizhouruanjian.com/api/v1/cid/batch {"iids":["...","..."]} → {"ok":true,"used":2,"credits_left":98, "results":[{"iid":"...","ok":true,"cid":"...","groups":["..."]}]}

Up to 50 installation IDs per request, with per-item results.

Errors and rate limits

HTTPMeaning
400Missing or invalid parameters
401/403Invalid API key or no quota
402Insufficient balance or credits
404Job or account not found
429Too many requests
500Service error; retry later

Rate limits apply per account and IP; exceeding them returns 429 without charge. Quotas are subject to the seller center or support confirmation.

Billing

No fixed API fee; prepaid usage is deducted per request. Key checks and CID are billed separately at public tier prices, with no new-customer discount.

View pricing · Top up · Request an API key

Usage boundaries

Validation and count lookup only; no activation, consumption or hardware binding; no account passwords; piracy, cracking, activation bypass and unauthorized data access are prohibited.