# ip.czl.net > 免费的 IP 地理位置查询服务: 命令行纯文本取本机出口 IP, JSON 接口查询任意 IPv4 / IPv6 的国家、省市区县、运营商、ASN、经纬度与代理特征, 以及 ASN 的 BGP 邻居与调用方代理检测。接口无需鉴权, 支持 CORS, 按 IP 限速。 以下链接均为文档的 Markdown 原文, 中文为源语言, 英文版见「English」一节。 ## 快速开始 - [IP 查询服务概览](https://ip.czl.net/docs/overview.md): ip.czl.net 能做什么: 网页查询、命令行取本机 IP、IP 归属 / BGP 邻居 / 代理检测 JSON 接口, 以及服务地址与快速示例。 - [网页与 URL 查询](https://ip.czl.net/docs/web-query.md): 在域名后拼接 IPv4 / IPv6 直接打开查询结果页, 以及结果页各区块的含义。 - [命令行获取本机 IP (curl 纯文本)](https://ip.czl.net/docs/plain-text.md): curl 根域名以纯文本返回调用方出口 IP, 按 User-Agent 分流的规则与脚本示例。 ## 接口参考 - [接口通用约定: 响应格式、错误码与限速](https://ip.czl.net/docs/conventions.md): 所有 /api 接口共用的统一响应结构、错误码与处理建议、按 IP 限速规则与响应头、缓存策略。 - [IP 归属查询接口 /api/query](https://ip.czl.net/docs/query.md): GET / POST /api/query 查询 IPv4 / IPv6 的国家、省市区县、运营商、ASN、经纬度与代理特征, 含请求示例与完整字段说明。 - [BGP 邻居查询接口 /api/bgp](https://ip.czl.net/docs/bgp.md): GET /api/bgp/:asn 查询 ASN 的上游、下游邻居 (RIPEstat 数据), 含字段与错误码说明。 - [代理检测接口 /api/proxy-detection](https://ip.czl.net/docs/proxy-detection.md): 检测调用方自身是否使用代理 / VPN, 返回判定结果、代理类型与置信度。 ## 更多 - [IP 数据来源与合并规则](https://ip.czl.net/docs/data-sources.md): Merged-IP 与 GeoCN 数据库、合并优先级、在线回退链路、更新频率与缓存策略。 ## English - [IP Lookup Service Overview](https://ip.czl.net/docs/en/overview.md) (Getting started): What ip.czl.net offers: web lookup, your own IP from the command line, and JSON APIs for IP geolocation, BGP peers and proxy detection, with the base URL and quick examples. - [Web and URL Lookup](https://ip.czl.net/docs/en/web-query.md) (Getting started): Open the result page for any IPv4 / IPv6 by appending it to the domain, and what each section of the result page means. - [Get Your Own IP from the Command Line (curl)](https://ip.czl.net/docs/en/plain-text.md) (Getting started): curl the root domain to get the caller's egress IP as plain text; the User-Agent rules and script examples. - [API Conventions: Response Format, Errors and Rate Limits](https://ip.czl.net/docs/en/conventions.md) (API reference): The unified response structure, error codes and handling, per-IP rate limits and headers, and caching shared by every /api endpoint. - [IP Lookup API /api/query](https://ip.czl.net/docs/en/query.md) (API reference): GET / POST /api/query returns the country, province / city / district, ISP, ASN, coordinates and proxy traits of an IPv4 / IPv6, with request examples and every field. - [BGP Peers API /api/bgp](https://ip.czl.net/docs/en/bgp.md) (API reference): GET /api/bgp/:asn returns the upstream and downstream peers of an ASN (RIPEstat data), with fields and error codes. - [Proxy Detection API /api/proxy-detection](https://ip.czl.net/docs/en/proxy-detection.md) (API reference): Detect whether the caller is using a proxy / VPN; returns the verdict, proxy type and confidence. - [IP Data Sources and Merge Rules](https://ip.czl.net/docs/en/data-sources.md) (More): The Merged-IP and GeoCN databases, merge priority, online fallback chain, update frequency and caching.