Skip to content

Discord API

1 endpointSocial & VideoGlobalsocial:read

Server name, description and member count behind a public Discord invite.

View as Markdown
GET/discord/inviteThe server behind a Discord invite: name, description, member count and image, from its public invite page.

invite

GET/v1/discord/invite

The server behind a Discord invite: name, description, member count and image, from its public invite page.

scope social:read1 unitcached 1 h

Parameters

code
string
required
Invite code such as discord-developers, or a discord.gg or discord.com/invite URL.
e.g. discord-developers
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
codestring
descriptionstring
imageUrlstring
memberCountinteger (int64)
namestring
urlstring
curl "https://api.hoshime.com/v1/discord/invite?code=discord-developers" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "code": "…",
    "description": "…",
    "imageUrl": "https://…",
    "memberCount": 1280,
    "name": "…",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "invite",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "discord",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open