Public API, widgets and feeds
Everything on this page is read-only and public. It is served from our cache, which refreshes every 5 minutes, so calling it never slows the site down. You can try every snippet from Developer tools, Use it anywhere.
Base URL: https://api.vrchatlegends.com/api/v1
Data endpoints
| Endpoint | Returns |
|---|---|
GET /community | Group member count, online count, Discord member count and links |
GET /events | Upcoming and live events. status can be upcoming, live, past or all. limit up to 50 |
GET /events/{id} | One event |
GET /worlds | Our VRChat worlds |
GET /legends | Listed profiles. q searches names, page and limit page through results |
GET /legends/{id} | One public profile |
GET /openapi.json | OpenAPI description you can load into Postman, Insomnia or a code generator |
const res = await fetch('https://api.vrchatlegends.com/api/v1/events')
const { events } = await res.json()
Every event has id, title, description, startsAt, endsAt, status, location, image and url. Times are ISO 8601 in UTC.
Errors use one shape: { "error": { "code": "not_found", "message": "..." } }.
Limits and keys
Without a key you get 120 requests a minute per IP address. Send an API key in the X-API-Key header for 600 a minute. Browser requests work from any origin. Keep keys out of public web pages: use them from servers, bots and scripts only.
Calendar and RSS feeds
| Feed | URL |
|---|---|
| Calendar (iCal) | https://api.vrchatlegends.com/api/v1/events.ics |
| RSS | https://api.vrchatlegends.com/api/v1/events.rss |
Add the calendar URL in Google Calendar (Other calendars, From URL), Apple Calendar (File, New Calendar Subscription) or Outlook (Add calendar, Subscribe from web). Calendar apps choose how often they refresh, which can be several hours.
Badges
Live counters as SVG images for READMEs, forum signatures and bios.
[](https://vrchatlegends.com)
| Badge | Shows |
|---|---|
/badges/members.svg | Group members |
/badges/online.svg | Members online now |
/badges/discord.svg | Discord members |
/badges/events.svg | Upcoming events |
/badges/legend/{id}.svg | A public profile, by profile ID |
Optional query: label replaces the left-hand text, color takes purple, blue, green, pink, orange, gray or a six digit hex value without the #.
Events widget
<div data-vrcl="events" data-theme="dark" data-limit="3"></div>
<script src="https://api.vrchatlegends.com/api/v1/widgets.js" async></script>
| Attribute | Values |
|---|---|
data-theme | dark (default) or light |
data-limit | 1 to 10 events, default 4 |
data-accent | Color name or six digit hex |
data-width | Maximum width, default 420px |
If your site builder does not allow scripts, use the iframe directly: https://api.vrchatlegends.com/api/v1/embed/events?theme=dark&limit=3.
The same script also handles two more element types:
<span data-vrcl="badge" data-kind="online"></span>
<a data-vrcl="signin" href="YOUR_AUTHORIZE_URL"></a>
signin styles your link as a Sign in with VRChat Legends button. Build the authorize URL as described in Sign in with VRChat Legends. If you add elements after the page has loaded, call window.VRCLegends.render().
Event notices and Discord
Application webhooks can subscribe to three community notices:
| Event | Sent when |
|---|---|
event.created | A new event appears on the calendar |
event.updated | The title, time, location or description changes |
event.starting_soon | An event starts within 30 minutes |
The JSON body carries the same event object as GET /events/{id} under data.event, signed the same way as every other webhook.
To post notices in a Discord channel, create a webhook in Discord (Channel settings, Integrations, Webhooks), then add that URL as an endpoint under your application's Webhooks tab. Discord URLs receive a ready-made message instead of raw JSON, so no bot or code is needed.
Notices are checked every 5 minutes, so a reminder can arrive between 25 and 30 minutes before the start.