# Generated by ShowAPI OpenAPI generator
# source: market/841
# generated-at: 2026-08-17T03:19:22.611Z
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:
  /841-6:
    x-pointCode: 6
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 限行规则查询
      description: 限行查询功能api接入点查询当天及明天限行情况，无当天返回的标识该城市没限制具体车牌。
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          city:
                            type: string
                            description: 城市名称
                          zone:
                            type: string
                            description: 限行区域
                          xianxing_num:
                            type: string
                            description: 限行号码
                          city_code:
                            type: string
                            description: 城市编码
                          rule:
                            type: string
                            description: 限行规则
                          remark:
                            type: string
                            description: 返回描述
                          date_info:
                            type: string
                            description: 日期信息
                          time:
                            type: array
                            items:
                              type: string
                            description: 限行时间
                          ret_code:
                            type: number
                            description: 接口是否调用成功,0表示成功,其他表示失败
                          num_rule:
                            type: string
                            description: 限行尾号规则
                        description: 业务返回体
      operationId: 841_6_POST
      parameters: []
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                city_code:
                  type: string
                  description: 限行城市编码
                city:
                  type: string
                  description: 限行城市
  /841-5:
    x-pointCode: 5
    x-mode: mapping
    x-read-timeout: 15
    x-connect-timeout: 15
    post:
      summary: 限行城市查询
      description: 限行城市查询接口API，用于查询车辆违章的限行城市列表，旨在为用户提供便捷准确的查询服务，帮助司机朋友们遵守交通规则，避免不必要的罚款和扣分。
      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表示成功,其他表示失败
                          remark:
                            type: string
                            description: 返回描述
                          data:
                            type: array
                            items:
                              type: object
                              properties:
                                city:
                                  type: string
                                  description: 城市名称
                                city_code:
                                  type: string
                                  description: 城市编码
                            description: 城市列表
                        description: 业务返回体
      operationId: 841_5_POST
      parameters: []
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/841?tab=book
x-apiCode: "841"
x-is-own: false
x-is-op: false
