Download OpenAPI specification:Download
Learn how to interact with the o!rdr API on the open-source version of the server in this documentation.
It sends 4 events:
Check this example in NodeJS to communicate with the Websocket.
Error codes that can be sent to the render_fail event on the Websocket:
Error codes that can be used before the request has been sent (http code 400/500)
Default audio codec is AAC, bitrate is 192kbps
See the default video codecs used here
pageSize | number Examples:
The number of renders the query will return you in the page. If not specified, 50 is the default. |
page | number Examples:
The page |
ordrUsername | string Examples:
Search by o!rdr username, can be used at the same time as replayUsername |
replayUsername | string Examples:
Search by replay username, can be used at the same time as ordrUsername |
renderID | number Examples:
The renderID of a render |
nobots | any Hide bots from the returned render query. |
{- "renders": [
- {
- "date": "2021-06-28T14:22:45.747Z",
- "readableDate": "Mon Jun 28 2021 14:22:45 GMT+0000 (Coordinated Universal Time)",
- "renderID": 4337,
- "username": "MasterIO - test",
- "progress": "Done.",
- "errorCode": 0,
- "removed": false,
- "renderer": "MasterIO's PC",
- "description": "Player: MasterIO02, Map: Camellia - FLYING OUT TO THE SKY (covered by Nanahira, moimoi, Nana Takahashi) [browiec & Kuki's EXTRA] by Sotarks, song length is 4:24 (6.68 ⭐) | Accuracy: 88.41%",
- "title": "[6.68 ([s])] MasterIO02 ([sl]) Camellia - FLYING OUT TO THE SKY (covered by Nanahira, moimoi, Nana Takahashi) [browiec & Kukis EXTRA] 88.41([p])-MBGG",
- "replayFilePath": "https://dl.issou.best/ordr/replays/MasterIO02 - Camellia - FLYING OUT TO THE SKY (covered by Nanahira, moimoi, Nana Takahashi) [browiec & Kuki's EXTRA] (2021-06-14) Osu-D5AX.osr",
- "mapTitle": "FLYING OUT TO THE SKY (covered by Nanahira, moimoi, Nana Takahashi)",
- "replayDifficulty": "browiec & Kuki's EXTRA",
- "replayUsername": "MasterIO02",
- "mapID": 1212452,
- "needToRedownload": false,
- "resolution": "1280x720",
- "globalVolume": 50,
- "musicVolume": 50,
- "hitsoundVolume": 50,
- "showHitErrorMeter": true,
- "showUnstableRate": true,
- "showScore": true,
- "showHPBar": true,
- "showComboCounter": true,
- "showPPCounter": false,
- "showKeyOverlay": true,
- "showScoreboard": false,
- "showBorders": false,
- "showMods": true,
- "showResultScreen": true,
- "showHitCounter": false,
- "skin": "masterio-1",
- "hasCursorMiddle": false,
- "useSkinCursor": true,
- "useSkinColors": false,
- "useBeatmapColors": true,
- "cursorScaleToCS": false,
- "cursorRainbow": false,
- "cursorTrailGlow": false,
- "cursorSize": 1,
- "cursorTrail": true,
- "drawFollowPoints": true,
- "drawComboNumbers": true,
- "scaleToTheBeat": false,
- "sliderMerge": false,
- "objectsRainbow": false,
- "objectsFlashToTheBeat": false,
- "useHitCircleColor": true,
- "seizureWarning": false,
- "loadStoryboard": true,
- "loadVideo": true,
- "introBGDim": 0,
- "inGameBGDim": 75,
- "breakBGDim": 30,
- "BGParallax": false,
- "showDanserLogo": true,
- "motionBlur960fps": false,
- "skip": true,
- "cursorRipples": false,
- "sliderSnaking": true,
- "isVerified": false,
- "isBot": false,
- "renderStartTime": 1624890209292,
- "renderEndTime": 1624890393522,
- "renderTotalTime": 184230,
- "uploadEndTime": 1624890400290,
- "uploadTotalTime": 6768
}
], - "maxRenders": 1
}
replayFile required | object (file) The replay file |
replayURL | string The replay URL for the server to download, required if there is no replayFile, non-direct links are supported, redirections are handled |
username required | string The username that will be displayed on o!rdr |
resolution required | string Can be 640x480 (30fps), 960x540, 1280x720, 1920x1080, or 3840x2160 (60fps) |
globalVolume | number The global volume for the video. Default: 50 |
musicVolume | number The music volume for the video. Default: 50 |
hitsoundVolume | number The hitsounds volume for the video. Default: 50 |
showHitErrorMeter | boolean Show the hit error meter. Default: true |
showUnstableRate | boolean Show the unstable rate, only takes effect if showHitErrorMeter is set to true. Default: true |
showScore | boolean Show the score. Default: true |
showHPBar | boolean Show the HP bar. Default: true |
showComboCounter | boolean Show the combo counter. Default: true |
showPPCounter | boolean Show the PP Counter or not. Default: true |
showScoreboard | boolean Show the scoreboard or not (requires a client that has an osu! api key). Default: false |
showBorders | boolean Show the playfield borders or not. Default: false |
showMods | boolean Show the mods used during the game or not. Default: true |
showResultScreen | boolean Show the result screen or not. Default: true |
skin required | string The skin to use. Can be the ID of a skin, or its name |
useSkinCursor | boolean Use the skin cursor or not. If not, danser cursor will be used. Default: true |
useSkinColors | boolean Use the skin combo colors or not. Default: false |
useSkinHitsounds | boolean Use skin hitsounds, if false beatmap hitsounds will be used. Default: true |
useBeatmapColors | boolean Use the beatmap combo colors or not, overrides useSkinColors if true. Default: true |
cursorScaleToCS | boolean Scale cursor to circle size. Does not do anything at the moment. Default: false |
cursorRainbow | boolean Makes the cursor rainbow, only takes effect if useSkinCursor is set to false. Default: false |
cursorTrailGlow | boolean Have a glow with the trail or not. Default: false |
drawFollowPoints | boolean Draw follow points between objects or not. Default: true |
scaleToTheBeat | boolean Scale objects to the beat. Default: false |
sliderMerge | boolean Merge sliders or not. Default: false |
objectsRainbow | boolean Makes the objects rainbow, overrides useSkinColors and useBeatmapColors. Default: false |
objectsFlashToTheBeat | boolean Makes the objects flash to the beat. Default: false |
useHitCircleColor | boolean Makes the slider body have the same color as the hit circles. Default: true |
seizureWarning | boolean Display a 5 second seizure warning before the video. Default: false |
loadStoryboard | boolean Load the background storyboard. Default: true |
loadVideo | boolean Load the background video (loadStoryboard has to be set to true). Default: true |
introBGDim | number Background dim for the intro, in percent, from 0 to 100. Default: 0 |
inGameBGDim | number Background dim in game, in percent, from 0 to 100. Default: 75 |
breakBGDim | number Background dim in break, in percent, from 0 to 100. Default: 30 |
BGParallax | boolean Adds a parallax effect. Default: false |
showDanserLogo | boolean Show danser logo on the intro. Default: true |
skip | boolean Skip the intro or not. Default: true |
cursorRipples | boolean Show cursor ripples when keypress. Default: false |
cursorSize | number Set the cursor size, multiplier from 0.5 to 2. Default: 1 |
cursorTrail | boolean Show the cursor trail or not. Default: true |
drawComboNumbers | boolean Show the combo numbers in objects. Default: true |
sliderSnakingIn | boolean Have slider snaking in. Default: true |
sliderSnakingOut | boolean Have slider snaking out. Default: true |
showHitCounter | boolean Shows a hit counter (100, 50, miss) below the PP counter. Default: false |
showKeyOverlay | boolean Show the key overlay or not. Default: true |
showAvatarsOnScoreboard | boolean Show avatars on the left of the username of a player on the scoreboard. May break some skins because the width of the scoreboard increases. Default: false |
showAimErrorMeter | boolean Show the Aim Error Meter or not. Default: false. |
motionBlur960fps | boolean Whether to enable motion blur or not. |
{- "message": "Render added successfully",
- "renderID": 95,
- "errorCode": 0
}