Lanyard
通过 HTTP REST API 或 WebSocket 检索你在 Discord 上的在线状态
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 社交
简介
Lanyard 提供 Discord 在线状态数据——免密钥(需要被监控的用户 ID,已实测)。
快速开始
状态(使用被监控的用户 ID):
curl "https://api.lanyard.rest/v1/users/1"
{ "error": { "code": "user_not_monitored", "message": "User is not being monitored by Lanyard" }, "success": false }
注意事项
- Discord 在线状态(REST + WebSocket)。
- 只有被监控的用户会响应(已实测)。
常见问题
Lanyard 免费吗? 是的——免费且免密钥。
为什么 404? 该用户未被监控(已实测)——请使用被监控的 ID。
返回什么? Discord 在线状态。
社交 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 4chan Simple image-based bulletin board dedicated to a variety of topics | No auth | Yes | Yes | ↗ |
| Ayrshare Social media APIs to post, get analytics, and manage multiple users social media accounts | API Key | Yes | Yes | ↗ |
| aztro Daily horoscope info for yesterday, today, and tomorrow | No auth | Yes | Unknown | ↗ |
| Blogger The Blogger APIs allows client applications to view and update Blogger content | OAuth | Yes | Unknown | ↗ |
| Bluesky Decentralized social networking via the AT protocol | No auth | Yes | Yes | ↗ |