> ## 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地址查询

> 查询IP地址的详细信息



## OpenAPI

````yaml /api-reference/openapi_1.json get /v1/ip_get
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:
    get:
      summary: IP地址查询
      description: 查询IP地址的详细信息
      parameters:
        - name: ip
          in: query
          description: 要查询的IP地址
          required: true
          schema:
            type: string
      responses:
        '200':
          description: 成功返回IP信息
          content:
            application/json:
              schema:
                type: object
                properties:
                  ip:
                    type: string
                  city:
                    type: string
                  region:
                    type: string
                  country:
                    type: string
                  api_by:
                    type: string
        '400':
          description: 参数错误
        '500':
          description: 服务器错误

````