mooket2

mooket2 银河奶牛历史价格(包含强化物品)history(enhancement included) price for milkywayidle

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Forfatter
XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0
Daglige installasjoner
1
Totale installasjoner
65
Vurderinger
0 0 0
Versjon
20260401.0.15.1
Lagd
12.03.2026
Oppdatert
01.04.2026
Size
189,8 kB
Lisens
MIT
Gjelder

抄的https://greasyfork.org/zh-CN/scripts/530316-mooket ,有些功能不一样,使用需关闭原版mooket

功能:

  1. 显示价格历史
  2. 记录最后买入卖出的价格
  3. 强化物品历史价格
  4. 自选功能:
    • 最多订阅99种物品
    • 固定后点击可直达市场
    • 对着固定物品图标使用右键删除,手机端长按删除
    • 物品图标长按进行拖拽排序
  5. 官方成交量均价及成交数量展示和统计
  6. 买一卖一成交量估算
  7. 物品搜索,针对市场没有买卖单的强化装备查看历史数据。

Features:

  1. Display price history
  2. Record the last buy and sell prices
  3. Highlight historical prices for items
  4. Favorites feature:
    • Subscribe to up to 99 items
    • Tap a pinned item to go directly to the market
    • Right-click a pinned item icon to delete it; on mobile, long-press to delete
    • Long-press an item icon to drag and reorder
  5. Display and statistics for official average transaction prices and transaction volumes
  6. Estimated buy-1/sell-1 transaction volumes
  7. Item search; view historical data for enhanced equipment with no buy or sell orders on the market.

Translated with DeepL.com (free version)


批量市场历史行情 API 文档 (Multi-Item Histories)

该接口用于一次性查询多个物品、多个强化等级(Variant)的历史行情数据。

1. 接口信息

  • 接口链接: https://q7.nainai.eu.org
  • 接口地址: /api/market/histories
  • 请求方式: GET
  • 内容类型: application/json
  • 缓存机制: Redis 缓存 600 秒 (10 分钟)

2. 请求参数 (Query Parameters)

参数名 类型 必填 说明
item_id Array/String 物品路径。支持传递多个,如 item_id=A&item_id=B
variant String 强化等级 ID。支持单值、连续范围、不连续值混合输入 (限 0-20)
days Integer 查询过去几天的数据。默认为 1

Variant 参数语法规则

  • 单值: variant=0
  • 连续范围: variant=0-5 (解析为 0, 1, 2, 3, 4, 5)
  • 不连续值: variant=0,5,10 (仅查询指定 ID)
  • 混合模式: variant=0,2,5-8 (解析为 0, 2, 5, 6, 7, 8)

3. 示例请求 (Example Request)

查询两个物品在 0, 2, 3 变体下过去 1 天的数据: GET /api/market/histories?item_id=/items/cedar_log&item_id=/items/pine_log&variant=0,2-3&days=1


4. 响应格式 (Response Body)

接口返回三层嵌套字典结构:{ 物品ID: { 变体ID: [数据流水列表] } }

{
  "/items/cedar_log": {
    "0": [
      {
        "time": 1773831143,
        "a": 270.0,
        "b": 260.0,
        "p": 263.0,
        "v": 10992.0
      }
    ],
    "2": [],
    "3": [
      {
        "time": 1773831143,
        "a": 310.0,
        "b": 300.0,
        "p": 305.0,
        "v": 540.0
      }
    ]
  },
  "/items/pine_log": {
    "0": [...],
    "2": [...],
    "3": [...]
  }
}

字段说明 time: Unix 时间戳 (秒)。

  • a: 平均卖价 (Average Ask)。

  • b: 平均买价 (Average Bid)。

  • p: 成交价格 (Price)。

  • v: 成交量 (Volume)。


5. 注意事项

空数据处理: 若请求的变体在指定时间内无成交,对应的 Key 仍会存在,但值为 []。

变体范围限制: 为了性能安全,variant 数值被硬性限制在 0 至 20 之间。

不可强化的物品variant 数值为:0。