zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Social Media/Discord Invite Info
Logo Discord Invite Info

Discord Invite Info

Resolve Discord invite codes to server information.

Endpoints
4
Requests
5
Updated
3 months ago
For LLMs
llms.txt
Endpoint health9 hours ago
  • invitepassing, 0.3s
  • widgetpassing, 0.4s
  • applicationpassing, 0.3s
  • templatepassing, 0.3s
4/4 passingdaily 01:00 WIB

Playground

4 endpoints
GET/v1/social-media:discord/invite/:code5m cache1 paramchecking key…
Parameters
codestringrequired

Discord invite code (e.g. 'abcd1234' or full discord.gg URL)

·
Response
EXAMPLE
{
  "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
}

Code examples

Invite Info
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("social-media:discord", "invite", {
  "code": "discord-api"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/social-media:discord/invite/discord-api" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

4 endpoints · plain text
GETInvite Info/v1/social-media:discord/invite/:codeGet information about a Discord invite.

Parameters

codestringrequiredin path
Discord invite code (e.g. 'abcd1234' or full discord.gg URL)

Request

curl -X GET "https://api.zpi.web.id/v1/social-media:discord/invite/discord-api" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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
}
GETGet Server Widget/v1/social-media:discord/widgetWidget publik sebuah server Discord, kalau pemiliknya mengaktifkannya.

Parameters

guildstringoptional
Guild (server) ID. Use this or code
codestringoptional
Invite code, resolved to a guild first. Use this or guild

Request

curl -X GET "https://api.zpi.web.id/v1/social-media:discord/widget?guild=81384788765712384&code=discord-api" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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
}
GETGet Application Info/v1/social-media:discord/application/:idMetadata publik sebuah aplikasi atau bot Discord.

Parameters

idstringrequiredin path
Discord application (bot) ID

Request

curl -X GET "https://api.zpi.web.id/v1/social-media:discord/application/235148962103951360" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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
}
GETGet Server Template/v1/social-media:discord/template/:codeDetail sebuah template server Discord.

Parameters

codestringrequiredin path
Template code, or a full discord.new/… URL

Request

curl -X GET "https://api.zpi.web.id/v1/social-media:discord/template/2TffvPucqHkN" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "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"
}

Related APIs

More in social-media

TikTok Scraper

social-media/tiktok-scraper

Dapatkan data profile, postingan, comment, dan lainnya dengan lengkap dan konsisten.

41.2K calls·1d cache

Instagram Scraper

social-media/instagram-scraper

Dapatkan data profile, postingan dan lainnya dengan lengkap dan konsisten.

57.7K calls·15m cache

Youtube Scraper

social-media/youtube-scraper

Dapatkan data profile, postingan, comment, dan lainnya dengan lengkap dan konsisten.

94 calls·30m cache

GitHub User

social-media/github-user

Fetch public profile information for a GitHub user.

73 calls·1h cache

Kaskus

social-media/kaskus

Forum komunitas terbesar Indonesia (kaskus.co.id). Akses detail thread + balasan, daftar thread per sub-forum, pencarian, dan profil user.

114 calls·6h cache

Telegram Channel

social-media/telegram-channel

Fetch public Telegram channel preview information.

54 calls·30m cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026