CodeSandbox
communityCloud development platform for instant coding environments, collaborative editing, and deployments.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://codesandbox.io/api/v1/sandboxes/searchSearch public sandboxes
Parameters
pagepage (integeroptionalquerysearch keyword (stringrequiredReturns
sandboxes[] with id, title, alias, template, view_count, like_count, fork_count, author.usernameGET
https://codesandbox.io/api/v1/sandboxes/{id}Get sandbox details
Parameters
idsandbox ID (stringrequiredReturns
data with id, title, description, template, modules[] with title, code, directory_shortid, npm_dependenciesGET
https://codesandbox.io/api/v1/users/{username}Get user profile
Parameters
usernameusername (stringrequiredReturns
data with id, username, name, avatar_url, bio, social_links, sandbox_count, template_count