Retrieve your presence on Discord through an HTTP REST API or WebSocket.
Lanyard is a service that exposes a user's live Discord presence and activity data through a RESTful API and WebSocket. Once a user joins the associated Discord server, their presence becomes available at an API endpoint keyed to their Discord user ID, returning data such as online status, current activities, and Spotify listening information (track, artist, album, timestamps).
The service also functions as a globally accessible realtime key-value store, which can be updated via the Lanyard Discord bot or the Lanyard API. Users can consume the hosted API without deploying anything themselves, or self-host it using the provided Docker setup, which requires some configuration.
Lanyard is aimed at developers who want to display Discord presence or activity data on personal websites, GitHub profiles, or other applications. A community ecosystem of wrapper libraries and integrations exists for multiple languages and frameworks, including React, Vue, Svelte, Go, Python, Dart, and Deno, along with tools such as a GraphQL port and an MCP server.
Yes, you can use Lanyard's hosted API for free by joining the Lanyard Discord server, with no deployment required.
Yes, Lanyard can be self-hosted with Docker if you want to run your own instance instead of using the hosted API.
Community libraries exist for React, Vue, Svelte, Go, Python, Dart, and Deno, among others.
It is aimed at developers who want to display their live Discord presence, such as Spotify listening activity, on personal websites or apps.
Send a GET request to api.lanyard.rest/v1/users/:user_id to receive a JSON response with Discord status, activities, and KV data.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Instagram Login, Share on Instagram, Social Plugins and more.
Generate posts with templates from popular instagram pages.
Kakao Login, Share on KakaoTalk, Social Plugins and more.
Line Login, Share on Line, Social Plugins and more.
The foundation of all digital integrations with LinkedIn.
Data about Meetups from Meetup.com.