MoonStar Studios API Documentation
Access our Download API to retrieve the latest download URLs for various server software. Simple, fast, and reliable.
API Overview
The Download API provides easy access to the latest server software downloads. Our service supports multiple platforms and versions.
Base Endpoint
GET /apiv2/:software/:minecraftVersion
Supported Software Platforms:
- Paper – Latest builds for specified Minecraft versions
- Purpur – Latest builds with Purpur API integration
- BungeeCord – Latest builds (version-independent)
- Velocity – Latest builds (version-independent)
Authentication
All API requests require authentication using an API key in the header.
curl -H "x-api-key: Your-Key-Here" https://moonstarstudios.xyz/apiv2/...
Paper API
GET /apiv2/paper/:version
Fetch the latest Paper build for a specific Minecraft version.
curl -H "x-api-key: Your-Key-Here" \
https://moonstarstudios.xyz/apiv2/paper/1.21
Purpur API
GET /apiv2/purpur/:version
Fetch the latest Purpur build for a specific Minecraft version.
curl -H "x-api-key: Your-Key-Here" \
https://moonstarstudios.xyz/apiv2/purpur/1.21
BungeeCord API
GET /apiv2/bungeecord/:version
Fetch the latest BungeeCord build (version parameter required but ignored).
curl -H "x-api-key: Your-Key-Here" \
https://moonstarstudios.xyz/apiv2/bungeecord/1.0
Velocity API
GET /apiv2/velocity/:version
Fetch the latest Velocity build (version parameter required but ignored).
curl -H "x-api-key: Your-Key-Here" \
https://moonstarstudios.xyz/apiv2/velocity/1.0
Error Handling
The API uses standard HTTP status codes and returns detailed error messages when issues occur.
{
"error": "Invalid API key",
"status": 401
}
Common Error Codes:
- 401 - Invalid or missing API key
- 400 - Invalid parameters or unsupported software
- 404 - Version not found
- 500 - Server error