- 快速开始
- 接口详情
- 1️⃣ 饰品指数
- 2️⃣ 饰品详情
- 3️⃣ 涨跌/热门排行
- 4️⃣ 挂刀行情 数据
- 5️⃣ 实时成交数据
- 6️⃣ 库存监控
- 7️⃣ 武器箱数据
- 8️⃣ Banana(挂香蕉)数据(停止更新)
获取单件饰品全量图表数据 (优化中,暂停使用)
POST
/api/v1/info/chartAll
api
请求参数
Header 参数
ApiToken
string
必需
默认值:
{{APITOKEN}}
Body 参数application/json
good_id
integer
饰品good_id
plat
enum<integer>
对应平台
枚举值:
12
示例
{
"good_id": 7310,
"plat": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.csqaq.com/api/v1/info/chartAll' \
--header 'ApiToken;' \
--header 'Content-Type: application/json' \
--data-raw '{
"good_id": 7310,
"plat": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
响应状态码
msg
string
响应信息
data
array [object {3}]
响应数据
price
integer | number
在售价格
num
integer
在售数量
created_at
string
数据创建时间
示例
{
"code": 200,
"msg": "Success",
"data": [
{
"price": 8550,
"num": 1156,
"created_at": "2024-06-28T06:39:40"
},
{
"price": 8550,
"num": 1155,
"created_at": "2024-06-28T07:03:41"
},
{
"price": 8550,
"num": 1153,
"created_at": "2024-06-28T07:27:49"
},
{
"price": 8550,
"num": 1153,
"created_at": "2024-06-28T07:51:52"
},
{
"price": 8550,
"num": 1152,
"created_at": "2024-06-28T08:16:06"
},
{
"price": 8550,
"num": 1152,
"created_at": "2024-06-28T08:40:19"
},
{
"price": 8550,
"num": 1154,
"created_at": "2024-06-28T09:04:46"
},
{
"price": 8550,
"num": 1156,
"created_at": "2024-06-28T09:29:28"
}
]
}
🟠422Validation Error
修改于 2025-02-13 08:34:45