Get Price
Retrieve device pricing filtered by type (instant/review), warranty, and device type. Returns the user IP address
/api/priceParametry żądania
Wszystkie parametry mogą być przekazywane za pośrednictwem zapytania lub ciała
| Parametr | Rodzaj | Wymagane | Opis |
|---|---|---|---|
token | string | Wymagane | User API token Przykład: your_api_token_here |
type | string | Opcjonalnie | Price type: instant or review. Empty or 'all' returns all types instantreviewall Przykład: instant |
warranty | string | Opcjonalnie | Warranty type: 0/1/2/3/4/6. Empty or 'all' returns all warranty types 012346all Przykład: 1 |
deviceType | string | Opcjonalnie | Device type: iphone or ipad. Empty or 'all' returns all device types iphoneipadall Przykład: iphone |
Odpowiedź
| Parametr | Rodzaj | Wymagane | Opis |
|---|---|---|---|
code | number | Wymagane | Status code: 1=success, 0=failure Przykład: 1 |
msg | string | Wymagane | Response message Przykład: 查询成功 |
time | number | Wymagane | Server timestamp (Unix seconds) Przykład: 1769675945 |
data | object | Wymagane | Response payload |
data.ip | string | Wymagane | User IP address Przykład: 192.168.1.100 |
data.instant | object | array | Wymagane | Instant price (object for single, array for multiple). Only returned when type is empty, 'all', or 'instant' |
data.review | object | array | Wymagane | Review price (object for single, array for multiple). Only returned when type is empty, 'all', or 'review' |
*.warranty | string | Wymagane | Warranty type code Przykład: 1 |
*.warrantyName | string | Wymagane | Warranty type name Przykład: 标准版 |
*.deviceType | string | Wymagane | Device type Przykład: iphone |
*.price | number | Wymagane | Price (unit: CNY) Przykład: 10 |
ysucc | string | Wymagane | Success flag, returns "Ysucc" on success Przykład: Ysucc |
Query all prices
Without type, warranty, deviceType params, returns all combinations
Query instant prices only
type=instant, returns all instant prices
Kod błędu
000Język odpowiedzi
Dostosuj język odpowiedzi API do nagłówka X- Lang. Poniższe przykłady kodów automatycznie korzystają z aktualnego języka strony.
X-Lang: plzh, en, zh-TW, vi, ar, es, ruObsługiwane jest również Accept- Language; X- Lang ma pierwszeństwo. Nieobsługiwane języki podążają za zapasami języka strony.
Przykłady kodów
curl -X GET "https://testypro.iwai.cc,https://cer.xyul.cn,https://cer.iwai.cc/api/price?token=your_api_token_here&type=instant&warranty=1&deviceType=iphone" \
-H "X-Lang: pl"Uwagi
- 参数通过 Query 或 x-www-form-urlencoded 传递
- 摆烂版(4)和高摆烂版(6)仅支持秒出 + iPhone,不支持 iPad 和审核/预约
- 价格可能因用户不同而有所差异(用户专属价格)
- 返回的价格为添加单台设备的费用
Spróbuj w konsoli
Wypełnij poniższe parametry i wyślij wniosek o przetestowanie. Żądania są kierowane tylko do API tej witryny; adres URL jest zablokowany i nie może być zmieniony, a obecne pliki cookie logowania są włączone.
https://testypro.iwai.cc/api/price?token=your_api_token_here&type=instant&warranty=1&deviceType=iphoneZamknięte na tej stronieUser API token
Price type: instant or review. Empty or 'all' returns all types
Warranty type: 0/1/2/3/4/6. Empty or 'all' returns all warranty types
Device type: iphone or ipad. Empty or 'all' returns all device types