洛克王国远行商人
查询洛克王国远行商人当前轮次在售商品、价格、限购数量及全部轮次商品信息。数据每4小时刷新一次。
GET
https://api.tinyaii.cn/v1/roco/merchant
请求参数
该接口无需请求参数,直接调用即可返回数据。
返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码,200表示成功 |
| message | string | 响应消息 |
| data.status | string | 商人状态,open=营业中 |
| data.round | int | 当前轮次 |
| data.started_at | string | 当前轮次开始时间 |
| data.next_refresh | string | 下次刷新时间 |
| data.current_items | array | 当前轮次在售商品列表 |
| data.current_items[].name | string | 商品名称 |
| data.current_items[].price | string | 商品价格 |
| data.current_items[].limit | string | 限购数量 |
| data.current_items[].category | string | 商品分类 |
| data.current_items[].image | string | 商品图片URL |
| data.all_rounds | array | 全部轮次信息 |
| data.all_rounds[].round | int | 轮次号 |
| data.all_rounds[].items | array | 该轮次商品列表 |
返回示例
{
"code": 200,
"message": "success",
"data": {
"status": "open",
"round": 3,
"started_at": "2026-06-09 16:00:00",
"next_refresh": "2026-06-09 20:00:00",
"current_items": [
{
"name": "魔力果",
"price": "6000",
"limit": "20",
"category": "精灵喂养材料",
"image": "https://patchwiki.biligame.com/images/rocom/.../100px-100668.png"
}
],
"all_rounds": [
{
"round": 1,
"items": [
{
"name": "黑晶琉璃",
"price": "1000",
"limit": "100",
"category": "炼金材料",
"image": "..."
}
]
},
{
"round": 2,
"items": [
{
"name": "黑晶琉璃",
"price": "1000",
"limit": "100",
"category": "炼金材料",
"image": "..."
},
{
"name": "光系血脉秘药",
"price": "160000",
"limit": "3",
"category": "血脉修改道具",
"image": "..."
}
]
},
{
"round": 3,
"items": [
{
"name": "魔力果",
"price": "6000",
"limit": "20",
"category": "精灵喂养材料",
"image": "..."
}
]
},
{
"round": 4,
"items": []
}
]
}
}
调用示例
curl "https://api.tinyaii.cn/v1/roco/merchant" \
-H "Authorization: Bearer YOUR_API_KEY"const res = await fetch("https://api.tinyaii.cn/v1/roco/merchant", {
headers: { "Authorization": "Bearer YOUR_API_KEY" },
});
console.log(await res.json());import requests
resp = requests.get(
"https://api.tinyaii.cn/v1/roco/merchant",
params=None,
headers={"Authorization": "Bearer YOUR_API_KEY"},
timeout=10,
)
print(resp.json())把 YOUR_API_KEY 换成你的密钥即可直接运行。密钥只保存在你自己的设备上。