The stars update has completely overhauled the 5beam API works, so there is a chance
that some of the endpoints here are missing information or are outdated. If you're
trying to do something and the documentation here isn't clear, PLEASE don't persevere,
contact me on DISCORD
To prevent abuse, endpoints that require authentication only work for allowed domains.
If you want to use these endpoints for a site, please contact Contact DISCORD
While these mods are supported, they are currently missing some features such as advanced search and validation when uploading.
Contact DISCORD
{
"area": 576,
"background": 0,
"characters": [
"9azb46ypgafu271"
],
"charactersCount": 1,
"created": "2022-07-23 00:03:45.441Z",
"creator": {
"avatar": "",
"created": "2022-07-08 01:10:53.329Z",
"discordId": "189004032600309760",
"id": "m44nvxs3tjoqor0",
"roles": "admin",
"stars": [],
"updated": "2025-07-21 01:03:29.136Z",
"username": "zelo.dev"
},
"data": "loadedLevels=\r\nTime to explore\r\n32,18,01,00,L\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n................................\r\n...........................4....\r\n666......................////.:.\r\n//6666........5...../////////>>>\r\n/////6666.....//////////////////\r\n////////////////////////////////\r\n////////////////////////////////\r\n////////////////////////////////\r\n01,03.50,00.00,10\r\n06\r\n00S Whoa! Hold on a second, this place doesn't look familiar. What happened? I don't remember anything!\r\n00S Uh... well, um... uh.... gosh, I'm so confused.\r\n00H Oh, I know! I'll look through my journal entries! After all, I am a journal. So, let's see... five minutes ago, I...\r\n00S ...got eaten by Evil Leafy? WHAT? That doesn't make any sense!\r\n00S Well, I guess I'll go look for my fellow FreeSmarters to get a sense of what's going on.\r\n99S Use the arrow keys to move and press the space bar to jump.\r\n000002",
"dataHash": "05f9b5d04a54aa11dcfc04365032de57b7da81db0a22abe981f3c34b5290b4cd",
"description": "first level from the 5b game",
"difficulty": 0,
"featured": true,
"id": "1fck6fch07q3m0i",
"modded": "",
"plays": 14550,
"stars": 0,
"thumbnail": "blob_2S6FRCLMj3.png",
"title": "5b 001",
"unlisted": false,
"updated": "2026-02-16 00:18:41.091Z"
} {
"created": "2023-11-16 22:22:49.169Z",
"creator": {
"avatar": "",
"created": "2023-10-28 19:54:31.976Z",
"discordId": "785868651151884298",
"id": "q1pgyzg1s5oixzr",
"roles": "",
"stars": [],
"updated": "2023-11-16 22:30:58.604Z",
"username": "boatogravy"
},
"description": "",
"featured": false,
"id": "najny189ht21n9z",
"levels": [
"ugo367k39efnt61",
"0o8dzf7fjtfjuqo",
"l8sx1r7sa2lmj4d",
"13ghtddsqdvz8xh",
"w6mdo5qbay1ilv9",
"zju440ha3mrtuxt",
"5ww2ssp8r2qniln",
"gbak1tpphfbecpt",
"rwt50chfprm1ge1",
"zeo7u9tdurqztvl",
"1javepbnv6tdial"
],
"modded": "",
"plays": 10374,
"stars": 0,
"title": "5bRM",
"updated": "2026-02-16 01:34:24.978Z"
} {
"avatar": "",
"created": "2022-07-08 01:10:53.329Z",
"id": "m44nvxs3tjoqor0",
"stars": [],
"username": "zelo.dev"
} | Name | Description | Type | Defaults |
|---|---|---|---|
| id | Level ID | INTEGER |
Returns a STRUCT Level.
Also returns PROP starred if you are logged in.
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | Level ID | INTEGER |
Stars or unstars a level.
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | Levelpack ID | INTEGER | |
| levels | Include Levels | INTEGER | 0 |
Level codes:
| Code | Meaning |
|---|---|
| 0 | Return Level ID's |
| 1 | Return STRUCT Levels (can be slow) |
Returns a STRUCT Levelpack
Also returns PROP starred if you are logged in.
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | Levelpack ID | INTEGER |
Stars or unstars a levelpack.
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | User ID | STRING |
Returns a STRUCT User.
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | User ID | INTEGER | |
| page | Page number | INTEGER | |
| type | Type of | INTEGER | 0 |
| sort | Sort by | INTEGER | 0 |
| mod | Only show levels / levelpacks that are for a specific 5b mod | STRING |
Returns a list of STRUCT Level created by the user.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | User ID | INTEGER | |
| type | Type of | INTEGER | 0 |
Returns the full list of STRUCT Level starred by the user.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
| Name | Description | Type | Defaults |
|---|---|---|---|
| id | User ID | INTEGER | |
| page | Page number | INTEGER | |
| type | Type of | INTEGER | 0 |
| sort | Sort by | INTEGER | 0 |
| mod | Only show levels / levelpacks that are for a specific 5b mod | STRING |
Returns a page of STRUCT Level starred by the user.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
Returns your STRUCT User.
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
| Name | Description | Type | Defaults |
|---|---|---|---|
| page | Page number | INTEGER | |
| type | Type of | INTEGER | 0 |
| sort | Sort by | INTEGER | 0 |
| featured | Only featured levels / levelpacks | BOOLEAN | false |
| mod | Only show levels / levelpacks that are for a specific 5b mod | STRING |
Returns a list of STRUCT Level.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
| Name | Description | Type | Defaults |
|---|---|---|---|
| page | Page number | INTEGER | |
| type | Type of | INTEGER | 0 |
| sort | Sort by | INTEGER | 0 |
| featured | Only featured levels / levelpacks | BOOLEAN | false |
| mod | Only show levels / levelpacks that are for a specific 5b mod | STRING |
Returns a list of STRUCT Level.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
| Name | Description | Type | Defaults |
|---|---|---|---|
| page | Page number | INTEGER | |
| type | Type of | INTEGER | 0 |
| sort | Sort by | INTEGER | 0 |
| featured | Only featured levels / levelpacks | BOOLEAN | false |
| mod | Only show levels / levelpacks that are for a specific 5b mod | STRING |
Returns a list of STRUCT Level.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
Returns the daily STRUCT Level.
| Name | Description | Type | Defaults |
|---|---|---|---|
| text | Search text | STRING | |
| type | Type of | INTEGER | 0 |
| page | Page number | INTEGER | |
| sort | Sort by | INTEGER | 0 |
| featured | Only featured levels / levelpacks | BOOLEAN | false |
| area | (Levels only) Filter levels based on size (width * height) | INTEGER | 0 |
| characters | (Levels only) Filter levels based on characters present | ARRAY | |
| mod | Only show levels that are for a specific 5b mod | STRING |
Returns a list of STRUCT Level who's title contains the search text. Levelpacks are not supported in search yet.
Type codes:
| Code | Meaning |
|---|---|
| 0 | Levels |
| 1 | Levelpacks |
Sort codes:
| Code | Meaning |
|---|---|
| 0 | Age (newest) |
| 1 | Age (oldest) |
| 2 | Plays (descending) |
| 3 | Stars (descending) |
Area codes:
| Code | Meaning |
|---|---|
| 0 | Any |
| 1 | <=576 (18 * 32) |
| 2 | >=576 to <=1024 |
| 3 | >=1024 |
Character codes:
| Code | Meaning |
|---|---|
| Book | |
| Bubble | |
| Ice Cube | |
| Lego Brick | |
| Match | |
| Pencil | |
| Ruby | |
| Tune | |
| Waffle |
Create a STRUCT Level. You will need to give 5beam the following using a FormData object:
| Property | Meaning | Type |
|---|---|---|
| title | Level title | STRING |
| description | Level description | STRING |
| difficulty | Level difficulty (0 - 7) | INTEGER |
| data | Level file | File |
| modded | What mod this level is for (Leave blank for HTML5b / Flash 5b) | STRING |
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
Create a STRUCT Levelpack. You will need to give 5beam the following using a FormData object:
| Property | Meaning | Type |
|---|---|---|
| title | Levelpack title | STRING |
| description | Levelpack description | STRING |
| difficulty | Levelpack difficulty (0 - 7) | Array of INTEGERS |
| data | Levelpack file | File |
| modded | What mod this levelpack is for (Leave blank for HTML5b / Flash 5b) | STRING |
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
Create a STRUCT Level. You will need to give 5beam the following using a FormData object:
| Property | Meaning | Type |
|---|---|---|
| title | Level title | STRING |
| description | Level description | STRING |
| difficulty | Level difficulty (0 - 7) | INTEGER |
| data | Level file | File |
| modded | What mod this level is for (Leave blank for HTML5b / Flash 5b) | STRING |
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
Create a STRUCT Levelpack. You will need to give 5beam the following using a FormData object:
| Property | Meaning | Type |
|---|---|---|
| title | Levelpack title | STRING |
| description | Levelpack description | STRING |
| difficulty | Levelpack difficulty (0 - 7) | Array of INTEGERS |
| data | Levelpack file | File |
| modded | What mod this levelpack is for (Leave blank for HTML5b / Flash 5b) | STRING |
To authenticate, include your TOKEN 5beam_auth in the "Authorization" header of your request. Example: "Authorization: Bearer (TOKEN HERE)".
| Name | Description | Type | Defaults |
|---|---|---|---|
| redirectURI | Redirect URI | STRING |
Public endpoint for logging into 5beam discord OAuth, returns an TOKEN 5beam_auth on successful login.