Associated Press
搜索美联社的新闻和元数据
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 新闻
- 文档 / URL
- https://developer.ap.org/
简介
AP 提供新闻/元数据搜索——基于密钥(无效密钥返回 401 XML,已实测)。
快速开始
搜索(替换 YOUR_KEY):
curl "https://api.ap.org/v2/search?apikey=YOUR_KEY&q=test"
<Error><Code>401</Code><Message>apikey is invalid or unauthorized</Message></Error>
认证方式
- 在 developer.ap.org 注册 → API 密钥。
- 通过
apikey查询参数携带(无效 → 401,已实测)。
速率限制与注意事项
- 商业许可(看开发者站点)。
- 新闻搜索和元数据。
常见问题
AP 免费吗? 需要商业许可(看开发者站点)。
为什么 401? 无效密钥返回 401(已实测)——请获取密钥。
认证风格是什么?
apikey 查询参数。
新闻 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Chronicling America Provides access to millions of pages of historic US newspapers from the Library of Congress | No auth | No | Unknown | ↗ |
| Currents Real-time and historical global news with multilingual support | API Key | Yes | Yes | ↗ |
| DataCube AI Daily curated AI industry news, funding rounds and trends in 8 languages | No auth | Yes | No | ↗ |
| Feedbin RSS reader | OAuth | Yes | Unknown | ↗ |
| Florida Man Static JSON dataset of 10,000+ Florida Man headlines by date | No auth | Yes | Yes | ↗ |