# Discord API

> Discord API on Apizie: 3 endpoints (Invite Info, Get Server Widget, Get Server Template) returned as clean JSON through one API key. 3 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/social-media:discord/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `social-media:discord`
- Category: Social Media
- Status: live
- Source: https://discord.com
- Page: https://zieapi.vercel.app/api/social-media/discord
- OpenAPI: https://zieapi.vercel.app/api/social-media/discord/openapi.json

Public Discord invite metadata, server widgets and server templates.

## Endpoints

### Invite Info
`GET https://zieapi.vercel.app/v1/social-media:discord/invite/:code`

| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes |  |

### Get Server Widget
`GET https://zieapi.vercel.app/v1/social-media:discord/widget`

| Parameter | Type | Required | Description |
|---|---|---|---|
| guild | string | no |  |
| code | string | no |  |

### Get Server Template
`GET https://zieapi.vercel.app/v1/social-media:discord/template/:code`

| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes |  |

## Example
```
curl "https://zieapi.vercel.app/v1/social-media:discord/invite" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Discord API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/social-media:discord/invite with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Discord API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Discord API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key social-media:discord.

### What is the status of the Discord API?
Live: works with just an Apizie key
