Discord Invite Info
Resolve Discord invite codes to server information.
4 endpoints5 calls4/4 passing
Invite Info
Get information about a Discord invite.
GET
/v1/social-media:discord/invite/:codepassing · 0.5s5m cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| code | string | path | Discord invite code (e.g. 'abcd1234' or full discord.gg URL). Required. |
Example response
{"project":"social-media:discord", "data": {"ok":true,"code":"discord-api","type":0, "guild": {"id":"81384788765712384","icon":"https://cdn.discordapp.com/icons/81384788765712384/a363a84e969bcbe1353eb2fdfb2e50e6.png","name":"Discord API","banner":"https://cdn.discordapp.com/banners/81384788765712384/eb9ca6e176964bd43ee5b098dbbf3a78.png","splash":"", "features": [ "INVITE_SPLASH", "AUTO_MODERATION", "TIERLESS_BOOSTING_SYSTEM_MESSAGE", "VANITY_URL", "PREVIEW_ENABLED", "TIERLESS_BOOSTING", "WELCOME_SCREEN_ENABLED", "COMMUNITY_EXP_LARGE_UNGATED", "SOUNDBOARD", "THREADS_ENABLED", "NEW_THREAD_PERMISSIONS", "MEMBER_VERIFICATION_GATE_ENABLED", "NEWS", "COMMUNITY", "CHANNEL_ICON_EMOJIS_GENERATED", "VIP_REGIONS", "AGE_VERIFICATION_LARGE_GUILD" ],"nsfwLevel":0,"description":"","premiumTier":1,"vanityUrlCode":"discord-api","verificationLevel":3 }, "channel": {"id":"381898062269775883","name":"rules","type":0 },"inviter":null,"expiresAt":null,"memberCount":47730,"presenceCount":14673 },"timestamp":"2026-05-27T13:36:09Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Server Widget
Widget publik sebuah server Discord, kalau pemiliknya mengaktifkannya.
GET
/v1/social-media:discord/widgetpassing · 0.8s5m cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| guild | string | query | Guild (server) ID. Use this or `code`. |
| code | string | query | Invite code, resolved to a guild first. Use this or `guild`. |
Example response
{"project":"social-media:discord", "data": {"ok":true, "guild": {"id":"81384788765712384","name":"Discord API" }, "onlineSample": [ {"status":"dnd","username":"4...","avatarUrl":"https://cdn.discordapp.com/widget-avatars/tryYienQ-9REzcwu6n6KFYE5kJCnyVNK9cguhkmHw-8/I5I_Xn4xRCCyjGQHJPuL6lTr51gZ-juTso7mGtyb9IpVDcsJRWt6VOSOSHb4JWMd3lH4L7g_vQk1uOYNIu3hvWGIIvb8GD…" }, {"status":"dnd","username":"a...","avatarUrl":"https://cdn.discordapp.com/widget-avatars/GSh1NQULMqdbthPBxf82mO7Lq29hlIcuM2OQtwMkk9o/dYNZwjuvmsZtEmBhiGqzXNY4gq_2tqODANlvB-HPlB-YARdm8YqjZrWHy66T9nTEiNPFQr-QJj8JzokVcrOKsdn9xYx7oZ…" }, {"status":"online","username":"a...","avatarUrl":"https://cdn.discordapp.com/widget-avatars/TojzuRaxslDRpPA7TjOZYXEOMSpmt_Aj_ztJAZjhjYM/91rOW31cUbQ6E9tIUhe7i8M-sg23MsXS5S4IHkQsVYZSxtP_RxmP23P_fO4KrzuDFCNHXSfAr1JDC6tI87Tq6db03jDlT_…" } ],"presenceCount":13206, "voiceChannels": [ {"id":"81384788862181376","name":"General","position":0 }, {"id":"131937933270712320","name":"Music","position":1 }, {"id":"178478247103823872","name":"Music2","position":2 } ],"onlineSampleCount":100,"onlineSampleIsCapped":true },"timestamp":"2026-05-27T13:36:09Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Application Info
Metadata publik sebuah aplikasi atau bot Discord.
GET
/v1/social-media:discord/application/:idpassing · 0.4s1h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| id | string | path | Discord application (bot) ID. Required. |
Example response
{"project":"social-media:discord", "data": {"id":"235148962103951360","ok":true,"icon":"https://cdn.discordapp.com/app-icons/235148962103951360/ed3dac3b6e7a851df781632a4295fcb9.png","name":"carl-bot", "tags": [ "Automod", "Moderation", "Reaction Roles", "logging", "role management" ],"guildId":"186980582863929345","verified":true,"botPublic":true,"monetized":true,"description":"Multipurpose bot packed with features\nWebsite: https://carl.gg\nDocs: https://docs.carl.gg\nSupport: https://discord.gg/S2ZkBTnd8X\nPremium: https://carl.gg/get-premium","discoverable":true, "installParams": { "scopes": [ "applications.commands", "bot" ],"permissions":"573242775563510" },"privacyPolicyUrl":"https://botlabs.gg/privacy-policy","termsOfServiceUrl":"https://botlabs.gg/terms-of-use","botRequiresCodeGrant":false },"timestamp":"2026-05-27T13:36:09Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Get Server Template
Detail sebuah template server Discord.
GET
/v1/social-media:discord/template/:codepassing · 0.4s1h cache
Parameters
| Name | Type | In | Description |
|---|---|---|---|
| code | string | path | Template code, or a full discord.new/… URL. Required. |
Example response
{"project":"social-media:discord", "data": {"ok":true,"url":"https://discord.new/2TffvPucqHkN","code":"2TffvPucqHkN","name":"Blank Server", "guild": {"name":"Blank Server","roleCount":1,"channelCount":4,"verificationLevel":0 }, "roles": [ {"name":"@everyone","color":0,"hoist":false,"mentionable":false } ], "creator": {"id":"268473310986240001","avatar":"https://cdn.discordapp.com/avatars/268473310986240001/f749bb0cbeeb26ef21eca719337d20f1.png","username":"discordapp" }, "channels": [ {"name":"Text Channels","type":4,"position":0 }, {"name":"general","type":0,"position":0 }, {"name":"Voice Channels","type":4,"position":0 }, {"name":"General","type":2,"position":0 } ],"createdAt":"2020-04-17T20:59:35+00:00","updatedAt":"2020-04-17T20:59:35+00:00","usageCount":47751,"sourceGuildId":"700811170902179862" },"timestamp":"2026-05-27T13:36:09Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Try it
Live request with your key
const data = await client.run( "social-media:discord", "invite", { code: "discord-api" });
Discord Invite Info
Resolve Discord invite codes to server information.
4 endpoints5 calls4/4 passing
Get information about a Discord invite.
GET
/v1/…discord/invite/:codepassing · 0.5s5m cache
Try it
Parameters
code
string · path · required
Discord invite code (e.g. 'abcd1234' or full discord.gg URL).
Example response
{"project":"social-media:discord", "data": {"ok":true,"code":"discord-api","type":0, "guild": {"id":"81384788765712384","icon":"https://cdn.discordapp.com/icons/81384788765712384/a363a84e969bcbe1353eb2fdfb2e50e6.png","name":"Discord API","banner":"https://cdn.discordapp.com/banners/81384788765712384/eb9ca6e176964bd43ee5b098dbbf3a78.png","splash":"", "features": [ "INVITE_SPLASH", "AUTO_MODERATION", "TIERLESS_BOOSTING_SYSTEM_MESSAGE", "VANITY_URL", "PREVIEW_ENABLED", "TIERLESS_BOOSTING", "WELCOME_SCREEN_ENABLED", "COMMUNITY_EXP_LARGE_UNGATED", "SOUNDBOARD", "THREADS_ENABLED", "NEW_THREAD_PERMISSIONS", "MEMBER_VERIFICATION_GATE_ENABLED", "NEWS", "COMMUNITY", "CHANNEL_ICON_EMOJIS_GENERATED", "VIP_REGIONS", "AGE_VERIFICATION_LARGE_GUILD" ],"nsfwLevel":0,"description":"","premiumTier":1,"vanityUrlCode":"discord-api","verificationLevel":3 }, "channel": {"id":"381898062269775883","name":"rules","type":0 },"inviter":null,"expiresAt":null,"memberCount":47730,"presenceCount":14673 },"timestamp":"2026-05-27T13:36:09Z"}
Errors
- 401Missing or invalid x-api-key
- 404Not found or private
- 429Rate limit or monthly quota reached
Code
const data = await client.run( "social-media:discord", "invite", { code: "discord-api" });