# 车辆估值车型列表 · 二手车估值(简易)

> 本文档为机器可读 Markdown，便于 AI / SDK 自动对接。页面原文：https://www.wapi.cn/api_detail/175/338.html
> 纯文本地址：`https://www.wapi.cn/api_detail/175/338.html?format=md`

## 概览

- **接口名称**：二手车估值(简易)
- **子接口**：车辆估值车型列表（ID `338`）
- **接口简介**：根据车型、公里数、上牌时间来预估车辆价值。返回车商售车价、个人交易价、
车商收车价。
更新周期：车型品牌数据1个月更新1次
- **计费说明**：按次
- **请求地址**：`https://uaqy.api.storeapi.net/pyi/175/338`（支持 http/https）
- **请求方式**：`GET,POST`
- **返回格式**：`json,xml`
- **Content-Type（POST）**：`application/x-www-form-urlencoded;charset=utf-8`

## 子接口列表

- `335` 车估值简易版
- `336` 车辆估值品牌列表
- `337` 车辆估值车系列表
- `338` 车辆估值车型列表 ← 当前

## 请求参数

| 名称 | 必填 | 类型 | 说明 | 示例 |
| --- | --- | --- | --- | --- |
| `appid` | 是 | String | 应用ID，在后台我的应用查看或者添加 | 1 |
| `format` | 否 | String | 返回数据格式类型，每个接口已经说明支持返回格式:json,xml, jsonp调用方法说明 | json |
| `keyword` | 否 | String | 查询关键词 | 2022 |
| `series_id` | 是 | String | 车系id | 13654 |
| `sign` | 是 | String | 1.使用Md5方式验证，参数按一定规则md5后返回的字符串，详情点击这里阅读 2.使用Hash验证方式，直接跟上密钥即可。如何设置hash验证 通过我的应用里面修改验证方式 | 52a9dbe274a5c537bbf7a53e2d66c09f |
| `time` | 否 | String | 请求时传递的当前服务器时间戳 | 1545829466 |

## 签名（MD5）

按参数名排序后拼接「键名+值」，空值不参与；末尾直接追加 32 位密钥（密钥不写键名）：

```
sign = MD5(appid1formatjsonkeyword2022series_id13654time1545829466{secret})
```

说明：示例中 `appid` 默认为 `1`，请替换为「我的应用」中的 appid；密钥为应用 Secret。

## 返回参数

| 名称 | 必填 | 类型 | 说明 | 示例 |
| --- | --- | --- | --- | --- |
| `c_bsxlx` | 否 | String | 车辆变速器类型 | 干式双离合变速箱(DCT) |
| `c_cyear` | 否 | String | 登记日期 | 2022 |
| `c_displacement` | 否 | String | 排量 | 1.4 |
| `c_drivemode` | 否 | String | 驱动方式 | 前置前驱 |
| `c_environmentalstandards` | 否 | String | 排放标准 | 国VI |
| `c_name` | 否 | String | 车系名称 | 2022款 280TSI DSG豪华版 |
| `c_power` | 否 | String | 功率 | 110 |
| `car_new_type` | 否 | Integer | 车辆类型 0.乘用车 1.新能源车 | 0 |
| `codeid` | 否 | Integer | 状态码，返回10000状态都会进行计费。具体说明可查看状态码说明 | 10000 |
| `estimate_miles` | 否 | Double | 推算公里数 | 0.2 |
| `estimate_regdate` | 否 | String | 推算上牌时间 | 2022-1-1 |
| `fullname` | 否 | String | 全称 | 大众 朗逸 2022款 280TSI DSG豪华版 |
| `g_price` | 否 | String | 官方指导价(万元) | 15.89万 |
| `id` | 否 | String | 唯一标识符 | 53999 |
| `message` | 否 | String | 请求状态说明 | 返回成功 |
| `retdata` | 否 | Array | 回数据集合,可能是数据、对象或者字符串 |  |
| `time` | 否 | String | 请求时传递的当前服务器时间戳 | 1648458592 |

## JSON 返回示例

```json
{
    "codeid": "10000",
    "message": "返回成功",
    "retdata": [
        {
            "id": 53995,
            "fullname": "大众 朗逸 2022款 1.5L 手动风尚版",
            "g_price": "11.29万",
            "c_cyear": 2022,
            "c_name": "2022款 1.5L 手动风尚版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.5",
            "c_power": "83",
            "c_bsxlx": "手动变速箱(MT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53997,
            "fullname": "大众 朗逸 2022款 1.5L 手动舒适版",
            "g_price": "12.49万",
            "c_cyear": 2022,
            "c_name": "2022款 1.5L 手动舒适版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.5",
            "c_power": "83",
            "c_bsxlx": "手动变速箱(MT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53996,
            "fullname": "大众 朗逸 2022款 1.5L 自动风尚版",
            "g_price": "12.49万",
            "c_cyear": 2022,
            "c_name": "2022款 1.5L 自动风尚版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.5",
            "c_power": "83",
            "c_bsxlx": "手自一体变速箱(AT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53993,
            "fullname": "大众 朗逸 2022款 1.5L 自动视野版",
            "g_price": "13.69万",
            "c_cyear": 2022,
            "c_name": "2022款 1.5L 自动视野版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.5",
            "c_power": "83",
            "c_bsxlx": "手自一体变速箱(AT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53998,
            "fullname": "大众 朗逸 2022款 1.5L 自动舒适版",
            "g_price": "13.99万",
            "c_cyear": 2022,
            "c_name": "2022款 1.5L 自动舒适版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.5",
            "c_power": "83",
            "c_bsxlx": "手自一体变速箱(AT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53990,
            "fullname": "大众 朗逸 2022款 280TSI DSG舒适版",
            "g_price": "14.69万",
            "c_cyear": 2022,
            "c_name": "2022款 280TSI DSG舒适版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.4",
            "c_power": "110",
            "c_bsxlx": "干式双离合变速箱(DCT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        },
        {
            "id": 53999,
            "fullname": "大众 朗逸 2022款 280TSI DSG豪华版",
            "g_price": "15.89万",
            "c_cyear": 2022,
            "c_name": "2022款 280TSI DSG豪华版",
            "c_environmentalstandards": "国VI",
            "c_displacement": "1.4",
            "c_power": "110",
            "c_bsxlx": "干式双离合变速箱(DCT)",
            "c_drivemode": "前置前驱",
            "estimate_regdate": "2022-1-1",
            "estimate_miles": 0.2,
            "car_new_type": 0
        }
    ],
    "time": 1648458592
}
```

## 状态码说明

| 状态码 | 说明 |
| --- | --- |
| `10000` | 返回成功 |
| `10001` | appid必须指定，可以我的应用里面查看 |
| `10002` | sign值必须指定，加密规则请前往帮助中心查看 |
| `10003` | sign值验证不通过，加密规则请前往帮助中心查看 |
| `10004` | 时差不能超过10分钟，可以不传递这个参数，注意时间戳单位是秒 |
| `10005` | appid错误，请检查appid值,前往会员中心->我的应用查看或添加 |
| `10006` | 当前IP地址未授权，请前往用户中心->我的应用添加ip{@info} |
| `10007` | 应用被禁用，请联系客服处理 |
| `10008` | 应用内没有该接口，请到我的应用里面添加这个接口 |
| `10009` | api接口不存在 |
| `10010` | 您没有添加该api接口 |
| `10011` | api已经到期 |
| `10012` | 没有订购任何api,请前往购买后再操作 |
| `10013` | 该接口已经暂停使用 |
| `10014` | 未知的错误，可以联系客服处理 |
| `10015` | 参数个数错误 |
| `10019` | {@info} |
| `10017` | time必须是整型 |
| `10018` | 次数不足 |
| `10020` | 子接口不存在,可能已经被关闭 |
| `10021` | 服务器发生错误 |
| `10022` | 帐户余额不足，请充值！ |
| `10023` | 订单提交成功，等待回调结果 |
| `10024` | 调试模式数据 |
| `10025` | 查无数据 |

## 对接提示

1. 先在挖数据（wapi.cn）创建应用，获取 `appid` 与密钥。
2. 按上方参数组装请求，计算 `sign` 后调用接口地址。
3. 可用在线测试工具：`https://www.wapi.cn/api_debug/175/338.html`
