> ## Documentation Index
> Fetch the complete documentation index at: https://docs.api.ecylt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IP地址查询(V2版本)

> 需要API密钥的IP地址查询服务



## OpenAPI

````yaml /api-reference/openapi_1.json get /v1/ip_get_v2
openapi: 3.0.0
info:
  title: 二次元API
  description: 提供多种实用API服务
  version: 1.0.0
  contact:
    url: https://docs.api.ecylt.top
servers:
  - url: https://api-re.ecylt.com
    description: 主要API服务器
security: []
paths:
  /v1/ip_get_v2:
    get:
      summary: IP地址查询(V2版本)
      description: 需要API密钥的IP地址查询服务
      parameters:
        - name: ip
          in: query
          description: 要查询的IP地址
          required: true
          schema:
            type: string
        - name: API-Key-V2
          in: header
          description: API访问密钥
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 成功返回IP信息
          content:
            application/json:
              schema:
                type: object
        '400':
          description: 参数错误
        '401':
          description: 鉴权失败
        '500':
          description: 服务器错误

````