buff接口.md 2.9 KB

接口 /api/market/enterprise/items

接口协议

GET 协议

接口说明

查询饰品在售最低价格与求购最高价格。

  • 可用服务:仅企业API
  • 查询范围:全站饰品
  • 更新频率:include_sticker为0时,5分钟/次;include_sticker为1时,10分钟/次
  • 请求限制:100000次/月
  • 备注:goods_id 非必需,若不指定,则1次请求返回全站有在售的饰品价格,约2万饰品。

入参说明

Game: string | 游戏ID,必需。| 默认 cs2 goods_id:integer | 指定单个饰品ID,非必需。 | _Example_ : 43871 include_sticker:integer | 仅在未指定 goods_id 时生效,include_sticker 为 0 时,返回结果不含涂鸦,印花与印花板饰品,数据更实时 | 默认 1

出参说明

Json 格式的字符串 { Info:[

{
    goods_id: integer BUFF饰品ID,
    market_hash_name: string Steam饰品名称,
    update_time: integer 价格统计完成时间,
    sales:[
        {
            min_price:string 在售最低价,
            buy_max_price:string 求购最高价,
            tag_id: integer BUFF饰品款式ID,
            tag_name: string BUFF饰品款式名称
        },
        {
        }
    ]
},
{
},
.....

], Stat_time: integer 价格统计时间 Req_remaining: integer 接口剩余调用次数 }

接口 /api/market/enterprise/float/items

接口协议

GET 协议

接口说明

查询饰品磨损区间最低价格、磨损区间在售最低前十均价、磨损区间求购最高价格、磨损区间求购数量、渐变度区间最低价格、磨损区间在售数量。

  • 可用服务:仅企业API
  • 查询范围:全站饰品
  • 更新频率:include_sticker为0时,5分钟/次;include_sticker为1时,10分钟/次
  • 请求限制:100000次/月
  • 备注:goods_id 非必需,若不指定,则1次请求返回全站有在售的饰品价格,约2万饰品。

入参说明

game : string | 游戏ID,必需。| _Example_ : cs2 goods_id: integer | 指定单个饰品ID,非必需 | _Example_ : 42556 include_sticker: integer | 仅在未指定 goods_id 时生效,include_sticker 为 0 时,返回结果不含涂鸦,印花与印花板饰品,数据更实时。 | 默认 1

出参说明

Json 格式的字符串 {

Info:[
    {
        goods_id: integer  BUFF饰品ID,
        market_hash_name: string Steam饰品名称,
        update_time: integer 价格统计完成时间,
        sales:[
            {
                avg_min_price: string 在售最低前十均价,
                buy_max_price: string 求购最高价,
                min_price: string 在售最低价,
                sell_num: number 在售数量,
                buy_order_num: number 求购数量,
                min_float: string 最小磨损值,
                max_float: string 最大磨损值,
                tag_id: integer BUFF饰品款式ID,
                tag_name: string BUFF饰品款式名称
            },
            {
            },
            ...
        ]
    },
    {
    },
    ....
],
Stat_time: integer 价格统计时间
Req_remaining:  integer  接口剩余调用次数

}