CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页商户中心
首页商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. market prodcut related interface
  • Response codes
  • Regarding CS2DT's Penalty for Reversed Order
  • Instructions on adjusting the quotation field for order withdrawal
  • CS2DT Open Platform Access Guide
  • v1
    • user related interface
      • Steam account status query
      • User balance query
      • Create Steam account status check
      • Steam account status query
    • market prodcut related interface
      • CS2 Style Data
      • get full Items
        GET
      • Market Search
        GET
      • item price query
        POST
      • all the filters query
        GET
      • item for sale list query
        GET
      • Get the sales status of the product
        POST
      • Batch query of products on sale by product ID
        POST
      • Get the sales details of a product
        GET
    • purchase related interface
      • buy item
      • quick buy item
    • order related interface
      • buyer order list v2
      • buyer order list
      • buyer order detail
      • buyer cancel order
    • callback related
      • Callback Notification Service Description
    • exchange rate
      • USD/CNY exchange rate
    • websocket
      • How to Use WebSocket
      • Get WSS Address
  1. market prodcut related interface

Batch query of products on sale by product ID

POST
https://openapi.cs2dt.com/v1/product/v2/list/ids
Get information about multiple products, and only return products that are currently on sale.
If no results are obtained, it can be assumed that the product has been removed from the shelves.
A maximum of 100 product IDs can be passed in each request

请求参数

Query 参数

Body 参数application/json

示例
{
    "productIds": [
        1046108517917470720,
        1258978575405223937
    ]
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.cs2dt.com/v1/product/v2/list/ids?app-key=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "productIds": [
        1046108517917470720,
        1258978575405223937
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "success": true,
    "data": [
        {
            "id": "1265418852728930304",
            "sellerInfo": null,
            "systemTime": null,
            "appId": 730,
            "appName": null,
            "itemId": "553468129",
            "itemName": null,
            "marketHashName": "M4A1-S | Nightmare (Factory New)",
            "price": "55.62",
            "cnyPrice": "353.33",
            "delivery": 1,
            "description": null,
            "assetInfo": {
                "classInfoId": "1265418852573741056",
                "classId": "5917057534",
                "instanceId": "480085569",
                "assetId": "37548893727",
                "styleId": "0",
                "lastStyle": "",
                "styleProgress": "",
                "wear": "0.0699556320905685",
                "paintIndex": 714,
                "paintSeed": 483,
                "levelName": "",
                "levelColor": "",
                "gradient": "0.0",
                "fadeColor": "",
                "inspectImageUrl": null,
                "gems": [],
                "stickers": [
                    {
                        "id": "6673",
                        "type": 0,
                        "stickerId": "6673",
                        "itemId": "1128414422777688064",
                        "name": "Team Liquid(闪耀)| 2023年巴黎锦标赛",
                        "enName": "Team Liquid (Glitter) | Paris 2023",
                        "image": "https://img.zbt.com/c/sticker/6673.png",
                        "slot": 3,
                        "wear": "0.0",
                        "price": null
                    },
                    {
                        "id": "6673",
                        "type": 0,
                        "stickerId": "6673",
                        "itemId": "1128414422777688064",
                        "name": "Team Liquid(闪耀)| 2023年巴黎锦标赛",
                        "enName": "Team Liquid (Glitter) | Paris 2023",
                        "image": "https://img.zbt.com/c/sticker/6673.png",
                        "slot": 4,
                        "wear": "0.0",
                        "price": null
                    },
                    {
                        "id": "6673",
                        "type": 0,
                        "stickerId": "6673",
                        "itemId": "1128414422777688064",
                        "name": "Team Liquid(闪耀)| 2023年巴黎锦标赛",
                        "enName": "Team Liquid (Glitter) | Paris 2023",
                        "image": "https://img.zbt.com/c/sticker/6673.png",
                        "slot": 4,
                        "wear": "0.0",
                        "price": null
                    },
                    {
                        "id": "6673",
                        "type": 0,
                        "stickerId": "6673",
                        "itemId": "1128414422777688064",
                        "name": "Team Liquid(闪耀)| 2023年巴黎锦标赛",
                        "enName": "Team Liquid (Glitter) | Paris 2023",
                        "image": "https://img.zbt.com/c/sticker/6673.png",
                        "slot": 4,
                        "wear": "0.0",
                        "price": null
                    },
                    {
                        "id": "6674",
                        "type": 0,
                        "stickerId": "6674",
                        "itemId": "1128428272094199808",
                        "name": "Team Liquid(全息)| 2023年巴黎锦标赛",
                        "enName": "Team Liquid (Holo) | Paris 2023",
                        "image": "https://img.zbt.com/c/sticker/6674.png",
                        "slot": 4,
                        "wear": "0.0",
                        "price": null
                    }
                ],
                "styles": [],
                "itemSets": [],
                "ext": "",
                "fraudwarning": ""
            },
            "itemInfo": {
                "quality": "",
                "qualityName": "",
                "qualityColor": "",
                "rarity": "rarity_legendary_weapon",
                "rarityName": "保密",
                "rarityColor": "#D32CE6",
                "type": "csgo_type_rifle",
                "typeName": "步枪",
                "slot": "",
                "slotName": "",
                "hero": "",
                "heroName": "",
                "heroAvatar": "",
                "exterior": "wearcategory0",
                "exteriorName": "崭新出厂",
                "exteriorColor": "#59F27F",
                "weapon": "weapon_m4a1_silencer",
                "weaponName": "M4A1 消音型",
                "itemSet": "set_community_20",
                "itemSetName": "地平线收藏品",
                "stickerCapsule": "",
                "stickerCapsuleName": "",
                "patchCapsule": "",
                "patchCapsuleName": "",
                "customPlayer": "",
                "customPlayerName": "",
                "category": "",
                "categoryName": "",
                "item": "",
                "itemName": null
            },
            "wearRank": null
        }
    ],
    "errorCode": 0,
    "errorMsg": null,
    "errorData": null
}
修改于 2025-06-06 02:02:59
上一页
Get the sales status of the product
下一页
Get the sales details of a product
Built with