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

OAuth2 URLs

Build an authorize URL for logging users in. 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.
OAuth2 URLs
GET /api/discord/oauth-url Discord

Build an authorize URL for logging users in.

ParameterTypeRequiredDescription
client_id string required Your application ID.
redirect_uri string optional Must match one saved in the Developer Portal exactly.
scopes string optional OAuth2 scopes. Default identify.
state string optional Opaque value returned to you, for CSRF protection.
Example Response
{
  "note": "redirect_uri must match one saved in the Developer Portal exactly.",
  "scopes": [
    "guilds",
    "identify"
  ],
  "url": "https://discord.com/oauth2/authorize?client_id=123456789012345678&response_type=code&scope=guilds%20identify"
}
curl 'https://cubsoftware.site/api/discord/oauth-url?client_id=123456789012345678&scopes=identify,guilds'
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