{
  "openapi": "3.0.0",
  "info": {
    "title": "淘宝和天猫商品详情 API (V2)",
    "version": "1.0.0",
    "description": "通过任务驱动的v2流程获取淘宝和天猫商品详情数据。如果数据在短暂等待后仍未就绪，响应将返回待处理任务状态。"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "prod-global（默认）"
    },
    {
      "url": "http://47.117.133.51:30015",
      "description": "prod-cn（中国大陆地区可选）"
    }
  ],
  "paths": {
    "/api/taobao/get-item-detail/v2": {
      "get": {
        "tags": [
          "淘宝和天猫"
        ],
        "summary": "商品详情",
        "description": "通过任务驱动的v2流程获取淘宝和天猫商品详情数据。如果数据在短暂等待后仍未就绪，响应将返回待处理任务状态。",
        "operationId": "getItemDetailV2",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "此 API 服务的访问令牌。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "itemId",
            "in": "query",
            "description": "淘宝/天猫上的唯一商品标识符（商品ID）。",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "好的",
            "content": {
              "*/*": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "enum": [
                        "0",
                        "100",
                        "101",
                        "202",
                        "300",
                        "301",
                        "302",
                        "303",
                        "400",
                        "500",
                        "600",
                        "601"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "data": {
                      "type": "object"
                    },
                    "recordTime": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          }
        },
        "x-order": "11001100",
        "x-api-version": "v2",
        "x-highlights": [
          {
            "type": "danger",
            "content": "此接口基于任务模式，不返回实时数据。它将任务提交和结果获取整合在一个接口中。请先在仪表盘中了解其机制，并在使用前咨询管理员，以避免产生意外费用。"
          }
        ]
      }
    }
  },
  "components": {}
}