freeapis

Icanhazip

IP 地址 API

认证方式
No auth
HTTPS
Yes
CORS
Yes
分类
开发
数据来源
public-apis

简介

icanhazip.com 以纯文本返回你的公网 IP——经典的极简 IP 查询。免密钥且极其简单(实测可用)。

快速开始

你的 IP(实测可用):

curl "https://icanhazip.com"
210.61.187.110

带 User-Agent(与浏览器区分):

curl -A "curl/8.0" "https://icanhazip.com"

认证方式

无需认证——免密钥。

速率限制与注意事项

  • 免费;请礼貌使用——没有公开的硬性限制。
  • 返回纯文本(默认 IPv4;IPv6 连接时返回 IPv6)。
  • 没有 JSON——只有 IP 和换行。

常见问题

icanhazip 免费吗? 是的——免费且免密钥(实测)。

返回 JSON 吗? 不——只有纯文本 IP。

可以获取 IPv6 吗? 可以——用 IPv6 连接就返回你的 IPv6 地址。

开发 分类更多

APIAuthHTTPSCORS
24 Pull Requests

Project to promote open source collaboration during December

No authYesYes↗
Abacus

Free and simple counting service. You can use it to track page hits and specific events

No authYesUnknown↗
Agent Gateway

34+ AI agent infrastructure services including memory, wallets, and scheduling

API KeyYesUnknown↗
AgentDeals

Search and compare developer free tiers, startup credits, and pricing changes

No authYesUnknown↗
Agify.io

Estimates the age from a first name

No authYesYes↗