{
  "openapi": "3.0.3",
  "info": {
    "title": "新能源汽车电池信息查询",
    "description": "一键识别三电核心参数，二手车估值/车况检测/新能源汽车选购必备神器",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/3529-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 30,
      "x-connect-timeout": 5,
      "post": {
        "summary": "VIN查询电池包",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "battWeight": {
                              "type": "string",
                              "description": "电池包重量"
                            },
                            "energy": {
                              "type": "string",
                              "description": "标称能量(kWh)"
                            },
                            "cellVolt": {
                              "type": "string",
                              "description": "单体电压"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示参数错误，-2表示调用错误，-3表示没有查到"
                            },
                            "cellCap": {
                              "type": "string",
                              "description": "单体容量(Ah)"
                            },
                            "cellType": {
                              "type": "string",
                              "description": "电芯类型细分（如LFP）"
                            },
                            "cellModel": {
                              "type": "string",
                              "description": "电芯型号"
                            },
                            "cellWeight": {
                              "type": "string",
                              "description": "单体重量(kg)"
                            },
                            "volt": {
                              "type": "string",
                              "description": "额定电压"
                            },
                            "battType": {
                              "type": "string",
                              "description": "电池类型（如磷酸铁锂电池）"
                            },
                            "carMaker": {
                              "type": "string",
                              "description": "车辆厂商"
                            },
                            "vin": {
                              "type": "string",
                              "description": "vin"
                            },
                            "fuelType": {
                              "type": "string",
                              "description": "燃料类型"
                            },
                            "battMaker": {
                              "type": "string",
                              "description": "电池厂商"
                            },
                            "sp": {
                              "type": "string",
                              "description": "串并联结构（如2P45S）"
                            },
                            "cellCount": {
                              "type": "string",
                              "description": "电芯总数"
                            },
                            "totalCap": {
                              "type": "string",
                              "description": "电池包总容量"
                            },
                            "cellSize": {
                              "type": "string",
                              "description": "电芯尺寸"
                            },
                            "remark": {
                              "type": "string",
                              "description": "调用错误信息"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3529_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "vinCode": {
                    "type": "string",
                    "description": "要查询的新能源车VIN码"
                  }
                },
                "required": [
                  "vinCode"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/3529?tab=book"
  },
  "x-apiCode": "3529",
  "x-is-own": false,
  "x-is-op": false
}