Under the MIT License - © 2025 JustStudio.
Note
CodeShare (only this repository, not API)
is made based on "Pastebon" by Hexaa - https://pastebon.hexaa.lol/ | GitHub repository.
Next.js; Vercel;
404.html
by JustDeveloper;
api.juststudio.is-a.dev
by JustStudio..
JS.ORG for "codeshare.js.org
" subdomain.
BASE URL: api.juststudio.is-a.dev
Full version here.
Warning
Please do not use this API outside CodeShare, thank you.
GET
https://api.juststudio.is-a.dev/cs/{Id}
Required: Code ID ({Id}
), in path.
Example response, code 200
:
{
"id": 1,
"authorId": "621950083759508500903931783035125166471302414334602580",
"code": "console.log('Hello, World!')",
"langDone": "js",
"name": "The First Code",
"created": 1735553192776,
"updated": 0,
"status": 0
}
Example response, code 404
:
Not Found
Note
"code"
in responce is not a raw file, it is encoded string for HTML.
Note
"status": 0
= OK
"status": 1
= DELETED
"status": 2
= BANNED
GET
https://api.juststudio.is-a.dev/user/{Id}
Required: User ID ({Id}
) (the "authorId
" from "View code" responce), in path.
Example response, code 200
:
{
"id": "621950083759508500903931783035125166471302414334602580",
"username": "justdeveloper",
"avatar": "https://img.clerk.com/eyJ0eXBlIjoicHJveHkiLCJzcmMiOiJodHRwczovL2ltYWdlcy5jbGVyay5kZXYvb2F1dGhfZGlzY29yZC9pbWdfMm50amxFZXZ3clhIdXAwUUVPeFlpU3QwWTdwIn0",
"banned": false,
"joined": 1729799414699,
"data": {
"badges": 0
}
}
Example response, code 404
:
Not Found