API Documentation
Build approved community projects with live YugiSMP data.
Base URL
https://api.yugismp.net/api/v1Request access
Sign in and submit an application on API Access. After approval, your key begins with yugi_live_.
Authentication
Send the key in the HTTP Authorization header. Do not add it to the URL.
curl "https://api.yugismp.net/api/v1/data/player_stats?limit=25" \
-H "Authorization: Bearer yugi_live_YOUR_KEY"Player statistics
curl "https://api.yugismp.net/api/v1/players/YugiYX" \
-H "Authorization: Bearer yugi_live_YOUR_KEY"Returns the configured Money, Gems, Kills, Deaths, Playtime, Spawners and TeamName fields.
Read an allowed table
GET https://api.yugismp.net/api/v1/data/{allowedTable}?limit=50&offset=0Access depends on your approved scopes and tables. The maximum page size is 100.
Status
GET https://api.yugismp.net/api/v1/statusErrors
{
"error": {
"code": "TABLE_FORBIDDEN",
"message": "This table is not available to this key."
}
}