GETPOST
v2.0.0stable

Get Price

Retrieve device pricing filtered by type (instant/review), warranty, and device type. Returns the user IP address

GET | POST/api/price
অনুমোদন:API Key
সীমা:120/minute

অনুরোধ করা পরামিতি

সকল পরামিতি অনুসন্ধান বা মৃতদেহের মাধ্যমে অতিক্রম করা যাবে

পরামিতিধরনআবশ্যকবিবরণ
token
stringআবশ্যক
User API token
উদাহরণ: your_api_token_here
type
stringবিকল্প
Price type: instant or review. Empty or 'all' returns all types
instantreviewall
উদাহরণ: instant
warranty
stringবিকল্প
Warranty type: 0/1/2/3/4/6. Empty or 'all' returns all warranty types
012346all
উদাহরণ: 1
deviceType
stringবিকল্প
Device type: iphone or ipad. Empty or 'all' returns all device types
iphoneipadall
উদাহরণ: iphone

প্রতিক্রিয়া

পরামিতিধরনআবশ্যকবিবরণ
code
numberআবশ্যক
Status code: 1=success, 0=failure
উদাহরণ: 1
msg
stringআবশ্যক
Response message
উদাহরণ: 查询成功
time
numberআবশ্যক
Server timestamp (Unix seconds)
উদাহরণ: 1769675945
data
objectআবশ্যক
Response payload
data.ip
stringআবশ্যক
User IP address
উদাহরণ: 192.168.1.100
data.instant
object | arrayআবশ্যক
Instant price (object for single, array for multiple). Only returned when type is empty, 'all', or 'instant'
data.review
object | arrayআবশ্যক
Review price (object for single, array for multiple). Only returned when type is empty, 'all', or 'review'
*.warranty
stringআবশ্যক
Warranty type code
উদাহরণ: 1
*.warrantyName
stringআবশ্যক
Warranty type name
উদাহরণ: 标准版
*.deviceType
stringআবশ্যক
Device type
উদাহরণ: iphone
*.price
numberআবশ্যক
Price (unit: CNY)
উদাহরণ: 10
ysucc
stringআবশ্যক
Success flag, returns "Ysucc" on success
উদাহরণ: Ysucc
রেসপন্স উদাহরণ
{
"code":1,
"msg":"Query successful",
"time":1769675945,
"data":
{
"ip":"192.168.1.100",
"instant":
{
"type":"instant",
"typeName":"秒出",
"warranty":"1",
"warrantyName":"标准版",
"deviceType":"iphone",
"price":10
}
,
"review":
{
"type":"review",
"typeName":"审核",
"warranty":"1",
"warrantyName":"标准版",
"deviceType":"iphone",
"price":8
}
}
,
"ysucc":"Ysucc"
}

Query all prices

Without type, warranty, deviceType params, returns all combinations

Query all prices
{
"code":1,
"msg":"Query successful",
"time":1769675945,
"data":
{
"ip":"192.168.1.100",
"instant":
[
{
"warranty":"0",
"warrantyName":"躺平版",
"deviceType":"iphone",
"price":5
}
,
{
"warranty":"1",
"warrantyName":"标准版",
"deviceType":"iphone",
"price":10
}
,
{
"warranty":"0",
"warrantyName":"躺平版",
"deviceType":"ipad",
"price":6
}
]
,
"review":
[
{
"warranty":"0",
"warrantyName":"躺平版",
"deviceType":"iphone",
"price":4
}
,
{
"warranty":"1",
"warrantyName":"标准版",
"deviceType":"iphone",
"price":8
}
]
}
,
"ysucc":"Ysucc"
}

Query instant prices only

type=instant, returns all instant prices

Query instant prices only
{
"code":1,
"msg":"Query successful",
"time":1769675945,
"data":
{
"ip":"192.168.1.100",
"type":"instant",
"typeName":"秒出",
"warranty":"1",
"warrantyName":"标准版",
"deviceType":"iphone",
"price":10
}
,
"ysucc":"Ysucc"
}

ত্রুটিপূর্ণ কোড

ত্রুটিপূর্ণ কোড3 নির্ধারিত
0
Invalid token
Invalid or expired token
0
Basic and High-Basic plans do not support iPad devices
Warranty type 4 and 6 do not support iPad devices
0
Basic and High-Basic plans do not support review/reservation
Warranty type 4 and 6 do not support review/reservation

বহিরাগত ভাষা

X-Lang হেডারের সাথে API প্রতিক্রিয়া গ্রহণ করুন। টি কোড স্বয়ংক্রিয়ভাবে আপনার বর্তমান অবস্থানের জন্য ব্যবহার করা হচ্ছে।

প্রস্তাবিত হেডার
X-Lang: bn
সমর্থিত ভাষা
zh, en, zh-TW, vi, ar, es, ru

সমর্থিত ভাষাও সমর্থিত নয়; X-Lang এর অগ্রাধিকার গ্রহণ করা হয়। ওয়েব-সাইট ফাইলটির সাহায্যে সমর্থিত হয়।

কোড উদাহরণ

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: bn"

নোট

  • 参数通过 Query 或 x-www-form-urlencoded 传递
  • 摆烂版(4)和高摆烂版(6)仅支持秒出 + iPhone,不支持 iPad 和审核/预约
  • 价格可能因用户不同而有所差异(用户专属价格)
  • 返回的价格为添加单台设备的费用

কনসোলের মধ্যে এটি চেষ্টা করুন

বাগ পূরণ করুন এবং এটি পরীক্ষা করুন। এই সাইটের API- এ কেবল অনুরোধ করা হয়; URL- টি লক করা হয়েছে এবং আপনার বর্তমান লগ- ইন কুকি অন্তর্ভুক্ত করা যাবে না।

https://testypro.iwai.cc/api/price?token=your_api_token_here&type=instant&warranty=1&deviceType=iphoneএই সাইটের লক করা হয়েছে
stringআবশ্যক

User API token

string

Price type: instant or review. Empty or 'all' returns all types

string

Warranty type: 0/1/2/3/4/6. Empty or 'all' returns all warranty types

string

Device type: iphone or ipad. Empty or 'all' returns all device types