收集各大提供商官方发布的 AI 机器人爬虫 IP 地址范围。
本仓库跟踪并汇总 AI 提供商为其网络爬虫发布的 IP 地址范围。这些范围可用于:
最后更新: 2026-05-23T09:16:13.774655Z
| 指标 | 数量 |
|---|---|
| 提供商总数 | 9 |
| IP 范围总数 | 2297 |
| 更新频率 | 每周(周一 00:00 UTC) |
| 最后检查 | 2026-05-23T09:16:13.774655Z |
# All providers combined
curl -O https://raw.githubusercontent.com/rxerium/ai-bot-ip-ranges/main/ranges/all.txt
# Specific provider
curl -O https://raw.githubusercontent.com/rxerium/ai-bot-ip-ranges/main/ranges/openai.txt
范围总数: 20
2026-05-01T20:46:04Z136.107.176.208/32
216.73.216.0/22
34.11.34.31/32
34.150.241.79/32
34.162.191.81/32
34.162.230.222/32
34.162.244.71/32
34.182.140.95/32
34.182.161.143/32
34.182.218.27/32
... and 10 more
完整列表: ranges/anthropic.txt
范围总数: 12
2023-10-27T10:00:00.00000017.22.237.0/24
17.22.245.0/24
17.22.253.0/24
17.241.193.160/27
17.241.200.160/27
17.241.208.160/27
17.241.219.0/24
17.241.227.0/24
17.241.75.0/24
17.246.15.0/24
... and 2 more
完整列表: ranges/apple.txt
范围总数: 6
2026-05-15T11:01:43Z18.97.14.80/29
18.97.14.88/30
18.97.9.168/29
2600:1f28:365:80b0::/60
3.41.188.32/29
98.85.178.216/32```
**完整列表:** [`ranges/commoncrawl.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/commoncrawl.txt)
</details>
### Duckduckgo
**范围总数:** 320
<details>
<summary>查看 Duckduckgo IP 范围</summary>
#### DuckAssistBot
- **来源:** [https://duckduckgo.com/duckassistbot.json](https://duckduckgo.com/duckassistbot.json)
- **最后更新:** `2026-05-12T12:00:00.000000`
- **范围数量:** 320
104.43.54.127/32 104.43.55.116/32 104.43.55.117/32 104.43.55.166/32 104.43.55.167/32 108.141.83.74/32 128.203.132.152/32 13.86.35.212/32 13.89.106.77/32 130.107.228.224/32 ... and 310 more
**完整列表:** [`ranges/duckduckgo.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/duckduckgo.txt)
</details>
### Google
**范围总数:** 1625
<details>
<summary>查看 Google IP 范围</summary>
#### Googlebot
- **来源:** [https://developers.google.com/static/search/apis/ipranges/googlebot.json](https://developers.google.com/static/search/apis/ipranges/googlebot.json)
- **最后更新:** `2026-05-22T14:46:16.000000`
- **范围数量:** 311
| 提供商 | 文件 | 范围数量 |
|---|
| Anthropic | ranges/anthropic.txt | 20 |
| Apple | ranges/apple.txt | 12 |
| Commoncrawl | ranges/commoncrawl.txt | 6 |
| Duckduckgo | ranges/duckduckgo.txt | 320 |
ranges/google.txt | 1625 | |
| Microsoft | ranges/microsoft.txt | 28 |
| Mistral | ranges/mistral.txt | 6 |
| Openai | ranges/openai.txt | 268 |
| Perplexity | ranges/perplexity.txt | 12 |
| 全部 | ranges/all.txt | 2297 |
192.178.4.0/27 192.178.4.128/27 192.178.4.160/27 192.178.4.192/27 192.178.4.224/27 192.178.4.32/27 192.178.4.64/27 192.178.4.96/27 192.178.5.0/27 192.178.6.0/27 ... and 301 more
**完整列表:** [`ranges/google.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/google.txt)
#### Google-Special-Crawlers
- **来源:** [https://developers.google.com/static/search/apis/ipranges/special-crawlers.json](https://developers.google.com/static/search/apis/ipranges/special-crawlers.json)
- **最后更新:** `2026-05-22T14:46:20.000000`
- **范围数量:** 266
108.177.2.0/27 108.177.2.128/27 108.177.2.160/27 108.177.2.192/27 108.177.2.224/27 108.177.2.32/27 108.177.2.64/27 108.177.2.96/27 192.178.16.0/27 192.178.16.128/27 ... and 256 more
**完整列表:** [`ranges/google.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/google.txt)
#### Google-User-Triggered
- **来源:** [https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers.json](https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers.json)
- **最后更新:** `2026-05-22T14:46:17.000000`
- **范围数量:** 1048
107.178.192.0/27 107.178.192.128/27 107.178.192.160/27 107.178.192.192/27 107.178.192.224/27 107.178.192.32/27 107.178.192.64/27 107.178.192.96/27 107.178.193.0/27 107.178.193.128/27 ... and 1038 more
**完整列表:** [`ranges/google.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/google.txt)
</details>
### Microsoft
**范围总数:** 28
<details>
<summary>查看 Microsoft IP 范围</summary>
#### Bingbot
- **来源:** [https://www.bing.com/toolbox/bingbot.json](https://www.bing.com/toolbox/bingbot.json)
- **最后更新:** `2024-01-03T10:00:00.121331`
- **范围数量:** 28
13.66.139.0/24 13.66.144.0/24 13.67.10.16/28 13.69.66.240/28 13.71.172.224/28 139.217.52.0/28 157.55.39.0/24 191.233.204.224/28 199.30.24.0/23 20.125.163.80/28 ... and 18 more
**完整列表:** [`ranges/microsoft.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/microsoft.txt)
</details>
### Mistral
**范围总数:** 6
<details>
<summary>查看 Mistral IP 范围</summary>
#### MistralAI-Index
- **来源:** [https://mistral.ai/mistralai-index-ips.json](https://mistral.ai/mistralai-index-ips.json)
- **最后更新:** `2026-04-19T12:00:00.000000`
- **范围数量:** 2
135.225.57.92/32 20.240.192.194/32```
完整列表: ranges/mistral.txt
2025-02-19T12:00:00.00000020.240.160.1/32
20.240.160.161/32
20.240.194.83/32
51.12.243.114/32```
**完整列表:** [`ranges/mistral.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/mistral.txt)
</details>
### Openai
**范围总数:** 268
<details>
<summary>查看 Openai IP 范围</summary>
#### GPTBot
- **来源:** [https://openai.com/gptbot.json](https://openai.com/gptbot.json)
- **最后更新:** `2025-10-30T11:00:00.000000`
- **范围数量:** 21
132.196.86.0/24 172.182.202.0/25 172.182.204.0/24 172.182.207.0/25 172.182.214.0/24 172.182.215.0/24 20.125.66.80/28 20.171.206.0/24 20.171.207.0/24 4.227.36.0/25 ... and 11 more
**完整列表:** [`ranges/openai.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/openai.txt)
#### ChatGPT-User
- **来源:** [https://openai.com/chatgpt-user.json](https://openai.com/chatgpt-user.json)
- **最后更新:** `2026-05-21T03:03:10.233980`
- **范围数量:** 247
104.210.139.192/28 104.210.139.224/28 13.65.138.112/28 13.65.138.96/28 13.67.72.16/28 13.70.107.160/28 13.71.2.208/28 13.76.115.224/28 13.76.115.240/28 13.76.116.80/28 ... and 237 more
**完整列表:** [`ranges/openai.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/openai.txt)
</details>
### Perplexity
**范围总数:** 12
<details>
<summary>查看 Perplexity IP 范围</summary>
#### PerplexityBot
- **来源:** [https://perplexity.ai/perplexitybot.json](https://perplexity.ai/perplexitybot.json)
- **最后更新:** `2025-02-07T16:56:00.000000`
- **范围数量:** 8
107.20.236.150/32 18.210.92.235/32 18.97.1.228/30 18.97.9.96/29 3.211.124.183/32 3.222.232.239/32 3.224.62.45/32 3.231.139.107/32```
完整列表: ranges/perplexity.txt
2025-10-17T10:17:00.00000018.97.21.0/30
18.97.43.80/29
34.193.163.52/32
44.208.221.197/32```
**完整列表:** [`ranges/perplexity.txt`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/ranges/perplexity.txt)
</details>
## 摘要
- **唯一范围总数:** 2297
- **跟踪的提供商:** 11
- **更新频率:** 每周(周一)
## 验证
**重要提示:** 仅凭 IP 范围不足以完成机器人验证。请务必同时使用以下手段:
1. **User-Agent 请求头** - 检查机器人是否正确标识自身
2. **反向 DNS** - 验证 rDNS 与提供商域名匹配
3. **IP 范围** - 确认 IP 位于已发布的范围中
User-Agent 请求头很容易被伪造,因此建议采用多重验证。
## 配置示例
适用于主流平台的现成配置片段:
- **[Nginx](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/configs/nginx-block.conf)** - 通过 IP 验证拦截 AI 机器人
- **[Apache](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/configs/apache-htaccess)** - 用于拦截的 .htaccess 规则
- **[Cloudflare Workers](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/configs/cloudflare-worker.js)** - 边缘 Worker 实现
- **[Python 验证](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/configs/python-verification.py)** - 多重验证机器人脚本
完整示例请参阅 [`configs/`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/configs) 目录。
## 数据来源
所有 IP 范围均直接从官方提供商端点获取。完整的来源列表请参阅 [`fetch_ranges.py`](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/fetch_ranges.py)。
## 贡献
发现已发布 IP 范围的新 AI 机器人?请提交 issue 或 PR,并附上以下信息:
- 提供商名称
- 官方 JSON 端点 URL
- 机器人用途(训练/索引/用户触发)
## 许可证
MIT 许可证 - 参见 [LICENSE](https://github.com/rxerium/ai-bot-ip-ranges/blob/main/LICENSE)
## 相关资源
- [面向 AI 的 robots.txt](https://ai.robots.txt/)
- [Project Discovery - Web 爬虫](https://github.com/projectdiscovery/nuclei-templates)
- [IANA IP 地址分配](https://www.iana.org/assignments/ipv4-address-space/)
---
**由 [@rxerium](https://github.com/rxerium) 维护** • [rxerium.com](https://rxerium.com)