{
  "openapi": "3.0.3",
  "info": {
    "title": "车架号VIN查询车辆信息标准版",
    "description": "让您快速获取车辆品牌、型号、出厂日期、发动机类型、排量等关键信息。适用于新车购买、二手车交易和车辆维修，助您精准了解车辆状况，保障您的权益。立即使用，轻松掌握车辆信息！",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/1142-3": {
      "x-pointCode": 3,
      "x-mode": "mapping",
      "x-read-timeout": 60,
      "x-connect-timeout": 5,
      "post": {
        "summary": "图片识别-标准版",
        "description": "上传VIN图片OCR识别并查询VIN信息，因使用OCR技术，该接入点只要调用就将计费",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "result": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ret_code": {
                                    "type": "number"
                                  },
                                  "remark": {
                                    "type": "string"
                                  },
                                  "data": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "assembly_factory": {
                                          "type": "string"
                                        },
                                        "sale_name": {
                                          "type": "string"
                                        },
                                        "engine_type": {
                                          "type": "string"
                                        },
                                        "effluent_standard": {
                                          "type": "string"
                                        },
                                        "brand_name": {
                                          "type": "string"
                                        },
                                        "model_name": {
                                          "type": "string"
                                        },
                                        "car_type": {
                                          "type": "string"
                                        },
                                        "power": {
                                          "type": "string"
                                        },
                                        "made_month": {
                                          "type": "string"
                                        },
                                        "year": {
                                          "type": "string"
                                        },
                                        "jet_type": {
                                          "type": "string"
                                        },
                                        "fuel_Type": {
                                          "type": "string"
                                        },
                                        "transmission_type": {
                                          "type": "string"
                                        },
                                        "cylinder_number": {
                                          "type": "string"
                                        },
                                        "drive_style": {
                                          "type": "string"
                                        },
                                        "guiding_price": {
                                          "type": "string"
                                        },
                                        "fuel_num": {
                                          "type": "string"
                                        },
                                        "car_line": {
                                          "type": "string"
                                        },
                                        "output_volume": {
                                          "type": "string"
                                        },
                                        "made_year": {
                                          "type": "string"
                                        },
                                        "stop_year": {
                                          "type": "string"
                                        },
                                        "air_bag": {
                                          "type": "string"
                                        },
                                        "cylinder_form": {
                                          "type": "string"
                                        },
                                        "seat_num": {
                                          "type": "string"
                                        },
                                        "vehicle_level": {
                                          "type": "string"
                                        },
                                        "door_num": {
                                          "type": "string"
                                        },
                                        "car_body": {
                                          "type": "string"
                                        },
                                        "manufacturer": {
                                          "type": "string"
                                        },
                                        "gears_num": {
                                          "type": "string"
                                        },
                                        "car_weight": {
                                          "type": "string"
                                        }
                                      }
                                    }
                                  },
                                  "showapi_res_id": {
                                    "type": "string"
                                  }
                                }
                              },
                              "description": "识别出的VIN查询结果"
                            },
                            "ret_code": {
                              "type": "number"
                            },
                            "showapi_inner_fee_num": {
                              "type": "number"
                            },
                            "ret_msg": {
                              "type": "string"
                            },
                            "reply_msg": {
                              "type": "object",
                              "properties": {
                                "text": {
                                  "type": "string",
                                  "description": "识别出的vin码和车辆整合信息"
                                },
                                "img_list": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "audio_list": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "video_list": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1142_3_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "img_base64": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120000000000
                  },
                  "img_url": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/1142-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 15,
      "x-connect-timeout": 15,
      "post": {
        "summary": "根据VIN码查车型_标准版",
        "description": "根据车架号(VIN码),查询车型对应的精准信息,包括品牌\\发动机\\上市时间\\变速箱等数据。温馨提示：该API只要查询了正确的VIN就要扣费",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询要扣费，-1表示查询出错，不扣费"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "data": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "assembly_factory": {
                                    "type": "string",
                                    "description": "制造厂"
                                  },
                                  "sale_name": {
                                    "type": "string",
                                    "description": "车款名称"
                                  },
                                  "engine_type": {
                                    "type": "string",
                                    "description": "发动机（电机）型号"
                                  },
                                  "effluent_standard": {
                                    "type": "string",
                                    "description": "排放标准"
                                  },
                                  "model_name": {
                                    "type": "string",
                                    "description": "车型"
                                  },
                                  "brand_name": {
                                    "type": "string",
                                    "description": "品牌"
                                  },
                                  "car_type": {
                                    "type": "string",
                                    "description": "车辆类型"
                                  },
                                  "power": {
                                    "type": "string",
                                    "description": "功率"
                                  },
                                  "year": {
                                    "type": "string",
                                    "description": "年款"
                                  },
                                  "made_month": {
                                    "type": "string",
                                    "description": "生产月份"
                                  },
                                  "jet_type": {
                                    "type": "string"
                                  },
                                  "transmission_type": {
                                    "type": "string",
                                    "description": "变速箱类型"
                                  },
                                  "fuel_Type": {
                                    "type": "string",
                                    "description": "燃料类型"
                                  },
                                  "cylinder_number": {
                                    "type": "string",
                                    "description": "发动机气缸数"
                                  },
                                  "drive_style": {
                                    "type": "string",
                                    "description": "驱动类型"
                                  },
                                  "car_line": {
                                    "type": "string",
                                    "description": "车系"
                                  },
                                  "fuel_num": {
                                    "type": "string",
                                    "description": "燃油标号"
                                  },
                                  "guiding_price": {
                                    "type": "string",
                                    "description": "新车指导价"
                                  },
                                  "made_year": {
                                    "type": "string",
                                    "description": "生产年"
                                  },
                                  "output_volume": {
                                    "type": "string",
                                    "description": "排量"
                                  },
                                  "stop_year": {
                                    "type": "string",
                                    "description": "停产年"
                                  },
                                  "air_bag": {
                                    "type": "string",
                                    "description": "安全气囊"
                                  },
                                  "cylinder_form": {
                                    "type": "string"
                                  },
                                  "seat_num": {
                                    "type": "string",
                                    "description": "座位数"
                                  },
                                  "vehicle_level": {
                                    "type": "string",
                                    "description": "车辆级别"
                                  },
                                  "car_body": {
                                    "type": "string",
                                    "description": "轿车结构"
                                  },
                                  "door_num": {
                                    "type": "string",
                                    "description": "车门数"
                                  },
                                  "manufacturer": {
                                    "type": "string",
                                    "description": "制造商"
                                  },
                                  "gears_num": {
                                    "type": "string",
                                    "description": "挡位数"
                                  },
                                  "car_weight": {
                                    "type": "string",
                                    "description": "整备质量"
                                  }
                                }
                              }
                            },
                            "showapi_fee_code": {
                              "type": "number"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1142_2_POST",
        "parameters": [
          {
            "name": "vin",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/1142-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 40,
      "x-connect-timeout": 40,
      "post": {
        "summary": "根据VIN码查车型_普通版",
        "description": "根据车架号(VIN码),查询车型对应的详细参数,包括品牌\\发动机\\上市时间\\变速箱等信息，温馨提示：该API只要查询了正确的VIN就要扣费",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "assembly_factory": {
                              "type": "string",
                              "description": "制造厂"
                            },
                            "sale_name": {
                              "type": "string",
                              "description": "车款名称"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "engine_type": {
                              "type": "string",
                              "description": "发动机（电机）型号"
                            },
                            "effluent_standard": {
                              "type": "string",
                              "description": "排放标准"
                            },
                            "model_name": {
                              "type": "string",
                              "description": "车型"
                            },
                            "brand_name": {
                              "type": "string",
                              "description": "品牌"
                            },
                            "car_type": {
                              "type": "string",
                              "description": "车辆类型"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示要扣费，-1表示不扣费"
                            },
                            "vin": {
                              "type": "string",
                              "description": "车架号"
                            },
                            "power": {
                              "type": "string",
                              "description": "功率"
                            },
                            "jet_type": {
                              "type": "string"
                            },
                            "year": {
                              "type": "string",
                              "description": "年款"
                            },
                            "made_month": {
                              "type": "string",
                              "description": "生产月份"
                            },
                            "transmission_type": {
                              "type": "string",
                              "description": "变速箱类型"
                            },
                            "fuel_Type": {
                              "type": "string",
                              "description": "燃料类型"
                            },
                            "cylinder_number": {
                              "type": "string",
                              "description": "发动机气缸数"
                            },
                            "drive_style": {
                              "type": "string",
                              "description": "驱动类型"
                            },
                            "car_line": {
                              "type": "string",
                              "description": "车系"
                            },
                            "fuel_num": {
                              "type": "string",
                              "description": "燃油标号"
                            },
                            "guiding_price": {
                              "type": "string",
                              "description": "新车指导价"
                            },
                            "output_volume": {
                              "type": "string",
                              "description": "排量"
                            },
                            "made_year": {
                              "type": "string",
                              "description": "生产年"
                            },
                            "stop_year": {
                              "type": "string",
                              "description": "停产年"
                            },
                            "air_bag": {
                              "type": "string",
                              "description": "安全气囊"
                            },
                            "cylinder_form": {
                              "type": "string"
                            },
                            "seat_num": {
                              "type": "string",
                              "description": "座位数"
                            },
                            "vehicle_level": {
                              "type": "string",
                              "description": "车辆级别"
                            },
                            "car_body": {
                              "type": "string",
                              "description": "轿车结构"
                            },
                            "door_num": {
                              "type": "string",
                              "description": "车门数"
                            },
                            "manufacturer": {
                              "type": "string",
                              "description": "制造商"
                            },
                            "gears_num": {
                              "type": "string",
                              "description": "挡位数"
                            },
                            "car_weight": {
                              "type": "string",
                              "description": "整备质量"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "1142_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "vin": {
                    "type": "string",
                    "description": "17位的车架号vin"
                  }
                },
                "required": [
                  "vin"
                ]
              }
            }
          }
        }
      }
    }
  },
  "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/1142?tab=book"
  },
  "x-apiCode": "1142",
  "x-is-own": false,
  "x-is-op": true
}