LinkPreview
获取任何 URL 的 JSON 格式摘要,含标题、描述和预览图
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 开放数据
- 文档 / URL
- https://www.linkpreview.net
简介
LinkPreview 提供 URL 预览——基于密钥(缺少密钥返回 403 带错误体,已实测)。
快速开始
预览(替换 YOUR_KEY):
curl "https://api.linkpreview.net/?key=YOUR_KEY&q=https://example.com"
{ "title": "", "description": "Invalid or blank API access key", "error": 403 }
认证方式
- 在 linkpreview.net 注册 → API 密钥。
- 通过
key查询参数携带(无效 → 403,已实测)。
速率限制与注意事项
- 基于密钥带免费层(看文档)。
- URL 预览。
常见问题
LinkPreview 免费吗? 按文档基于密钥带免费层。
为什么 403? 无效密钥返回 403(已实测)——请使用真实密钥。
认证风格是什么?
key 查询参数。
开放数据 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 18F Unofficial US Federal Government API Development | No auth | No | Unknown | ↗ |
| AcreLens Land suitability scoring API for any US property: off-grid, rural, recreational, investment | API Key | Yes | Unknown | ↗ |
| API Setu An Indian Government platform that provides a lot of APIS for KYC, business, education & employment | No auth | Yes | Yes | ↗ |
| Archive.org The Internet Archive | No auth | Yes | No | ↗ |
| Black History Facts Contribute or search one of the largest black history fact databases on the web | API Key | Yes | Yes | ↗ |