Skip to content

Discord Presence API

HyperGaming99 edited this page Jul 13, 2026 · 1 revision

Discord Presence REST API

GET /api/discord?user_id=DISCORD_ID · öffentlich

Die Daten stammen vom eigenen 0x79 Discord-Bot. Bot und gesuchter Benutzer müssen Mitglied des konfigurierten Servers sein.

curl "https://0x79.one/api/discord?user_id=925802573506674729"
{
  "success": true,
  "data": {
    "discord_user": {
      "id": "925802573506674729",
      "username": "example",
      "global_name": "Example",
      "avatar": "..."
    },
    "discord_status": "online",
    "active_on_discord_desktop": true,
    "active_on_discord_mobile": false,
    "active_on_discord_web": false,
    "listening_to_spotify": true,
    "spotify": {
      "song": "Track title",
      "artist": "Artist",
      "album": "Album",
      "album_art_url": "https://i.scdn.co/image/...",
      "track_id": "...",
      "timestamps": {"start": 0, "end": 0}
    },
    "activities": []
  }
}

Nicht gefundener Benutzer

HTTP 404:

{
  "success": false,
  "error": "not_found",
  "message": "User is not on the configured Discord server.",
  "discord_url": "https://discord.gg/freeserver"
}

Mögliche weitere Fehler: invalid_id (400), not_configured (503) und unavailable (503).

Clone this wiki locally