CUBSOFTWARE// CUB // CORRUPTED
Public API — Free to Use
← All APIs

Invite Codes

Pull the code out of any form of invite link. Free, no key, no account.

3
Response Fields
FREE
No API Key Needed
JSON
Response Format
Base URL
Base https://cubsoftware.site
Authentication
No API key required — this endpoint is publicly accessible.
Please include a descriptive User-Agent header identifying your app.
Invite Codes
GET /api/discord/invite Discord

Pull the code out of any form of invite link.

ParameterTypeRequiredDescription
invite string required An invite in any form — full URL, discord.gg/x, or the bare code.
Example Response
{
  "code": "abc123",
  "note": "Format only — whether it is still valid is not checked.",
  "url": "https://discord.gg/abc123"
}
curl 'https://cubsoftware.site/api/discord/invite?invite=discord.gg/abc123'
Try It

Live request

Edit the path and send it. This runs against the real endpoint.

Press Send to run the request.
Rate Limits
10 requests per second per IP, across every endpoint.
Going over returns 429 — back off and retry.
The Other 45 APIs