# Generated by ShowAPI OpenAPI generator
# source: market/3255
# generated-at: 2026-06-26T05:58:48.842Z
openapi: 3.0.3
info:
  title: 网站HTTP状态查询
  description: 通过此接口获取网站的请求响应状态信息，快速判断请求的执行准确率。
  termsOfService: https://www.showapi.com/helpcenter/view#/4019/2
  version: 1.0.0
servers:
  - url: https://route.showapi.com
paths:
  /3255-1:
    x-pointCode: 1
    x-mode: mapping
    x-read-timeout: 30
    x-connect-timeout: 30
    get:
      summary: http状态
      responses:
        "200":
          description: 成功响应
          content:
            application/json:
              schema:
                allOf:
                  - $ref: "#/components/schemas/ShowapiResEnvelope"
                  - type: object
                    properties:
                      showapi_res_body:
                        type: object
                        properties:
                          StateCode:
                            type: number
                            description: 状态码
                          Reason:
                            type: string
                            description: 状态码描述
                          Result:
                            type: object
                            properties:
                              StatusCode:
                                type: number
                                description: 网页状态码
                              Status:
                                type: string
                                description: 网页状态
                              RemoteAddr:
                                type: string
                                description: 网站响应IP
                            description: 具体返回内容
                        description: 业务返回体
      operationId: 3255_1_GET
      parameters:
        - name: domain
          in: query
          description: 需要查询的网址
          required: true
          schema:
            type: string
        - name: allowAutoRedirect
          in: query
          description: 是否重定向响应(值为true/false)
          required: true
          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/3255?tab=book
x-apiCode: "3255"
x-is-own: false
x-is-op: true
