# Generated by ShowAPI OpenAPI generator
# source: market/2630
# generated-at: 2026-06-26T01:59:37.334Z
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:
  /2630-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 30
    x-connect-timeout: 30
    post:
      summary: 地址分析
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          town_code:
                            type: string
                            description: 街道/乡镇国标code
                          person:
                            type: string
                            description: 姓名
                          detail:
                            type: string
                            description: 其他信息
                          text:
                            type: string
                            description: 原始输入的文本内容
                          province_code:
                            type: string
                            description: 省国标code
                          lng:
                            type: string
                            description: 经度（BD09坐标系）
                          city:
                            type: string
                            description: 市
                          ret_code:
                            type: number
                            description: |-
                              0：成功、计费
                              其他：失败、不计费
                          order:
                            type: string
                            description: 请求id
                          county:
                            type: string
                            description: 区（县）
                          province:
                            type: string
                            description: 省（直辖市/自治区）
                          city_code:
                            type: string
                            description: 城市国标code
                          town:
                            type: string
                            description: 街道（乡/镇）
                          phonenum:
                            type: string
                            description: 电话号码
                          lat:
                            type: string
                            description: 纬度（BD09坐标系）
                          county_code:
                            type: string
                            description: 区县国标code
                        description: 业务返回体
      operationId: 2630_1_POST
      parameters:
        - name: text
          in: query
          description: 详细地址、越详细越准确
          required: true
          schema:
            type: string
        - name: score
          in: query
          description: |
            结果置信度：0-100，
            【置信度越高，返回结果越准确，但是对请求参数的要求也越准确，建议按照使用场景测试后在调整】
          required: false
          schema:
            type: string
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/2630?tab=book
x-apiCode: "2630"
x-is-own: true
x-is-op: true
