Lanyard
Expose a Discord user's live presence as JSON or WebSocket
Lanyard mirrors a Discord member's real-time presence, status and activities into a simple REST and WebSocket feed. Any user tracked by the public Lanyard bot can be read by their Discord ID with no key. To track your own account you first join the Lanyard Discord server.
GET https://api.lanyard.rest/v1/users/94490510688792576
{
"data": {
"discord_user": {
"username": "phin",
"display_name": "Phineas",
"id": "94490510688792576"
},
"discord_status": "dnd",
"activities": [],
"listening_to_spotify": false
},
"success": true
}curl "https://api.lanyard.rest/v1/users/94490510688792576"const res = await fetch("https://api.lanyard.rest/v1/users/94490510688792576");
const data = await res.json();
console.log(data);import requests
res = requests.get("https://api.lanyard.rest/v1/users/94490510688792576")
print(res.json())/v1/users/94490510688792576PROBEDExpose a Discord user's live presence as JSON or WebSocket
/v1/usersUser records or directory.
/v1/users/1Users details by ID (example: 1).
/v1V1 — documented GET route.
/v1/1V1 details by ID (example: 1).
/v1?limit=10V1 — documented GET route.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.
Lanyard: common questions
Is Lanyard free to use?
Yes — Lanyard is a free social & work API. Free tier: Free — no key; user must be tracked by the Lanyard Discord bot. Whether the free tier allows commercial use is unclear — check the provider docs.
Does Lanyard need an API key?
No — Lanyard needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).
Can I call Lanyard from the browser?
Yes — Lanyard returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.
Is Lanyard up right now?
As of our last scheduled check, Lanyard is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.