CodeSandbox website screenshot

CodeSandbox

CodeSandbox is a browser-based development environment platform that enables developers to create, share, and collaborate on interactive coding sandboxes instantly in the browser. The platform provides a cloud-based IDE with Firecracker microVM infrastructure that supports snapshotting, cloning, and running isolated development environments at scale. CodeSandbox offers the CodeSandbox SDK for programmatically spinning up AI sandboxes and development environments, the Sandpack component toolkit for embedding live-running code editing experiences, and a browser sandbox Define API for generating sandboxes on the fly from code examples. Trusted by over 4.5 million developers monthly, it serves individual developers, professional teams, and AI product builders needing concurrent sandboxed environments.

CodeSandbox publishes 8 APIs on the APIs.io network, including meta API, preview_host API, preview_token API, and 5 more. Tagged areas include Developer Tools, Cloud IDE, Code Sandboxes, Browser Development, and AI Sandboxes.

The CodeSandbox catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

CodeSandbox’s developer surface includes authentication, documentation, engineering blog, changelog, pricing, and 10 more developer resources.

54.9/100 developing ▬ flat Agent 34/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumSelf serve⚡ Free to try
10 APIs
Developer ToolsCloud IDECode SandboxesBrowser DevelopmentAI SandboxesCode Embedding

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 54.9/100 · developing
Contract Quality 18.2 / 25
Developer Ergonomics 4.3 / 20
Commercial Clarity 10.0 / 20
Operational Transparency 8.9 / 13
Governance 7.0 / 12
Discoverability 6.5 / 10
Agent readiness — 34/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/codesandbox: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 10

Individual APIs this provider publishes, each with its own machine-readable definition.

CodeSandbox Define API

The Define API allows programmatic creation of browser sandboxes from code files, useful for documentation sites and code examples that need to generate a sandbox on the fly. Su...

Sandpack Embed Toolkit

Sandpack is an open-source component toolkit for creating live-running code editing experiences powered by CodeSandbox. It supports React via @codesandbox/sandpack-react and pla...

CodeSandbox meta API

API metadata and auth context

CodeSandbox preview_host API

Trusted preview host management

CodeSandbox preview_token API

Preview token management for private sandboxes

CodeSandbox sandbox API

Browser and VM sandbox management

CodeSandbox templates API

Sandbox template management

CodeSandbox token API

API token management

CodeSandbox vm API

Virtual machine lifecycle management

CodeSandbox workspace API

Workspace and organization management

Scroll for all 10

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Codesandbox Rate Limits

7 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Codesandbox Context

0 classes · 46 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

CodeSandbox API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 4

Standalone JSON Schema definitions for this provider's data models.

MetaInformation

3 properties

JSON SCHEMA

PreviewToken

4 properties

JSON SCHEMA

Sandbox

9 properties

JSON SCHEMA

VMStartResponse

3 properties

JSON SCHEMA

Examples 4

Example request and response payloads for these APIs.

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Codesandbox Authentication

http · 1 scheme

SECURITY

Codesandbox Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Codesandbox Agentic Access

27 operations · 20 acting · 2 human-in-the-loop

27 operations · 20 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 3

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: codesandbox
name: CodeSandbox
description: CodeSandbox is a browser-based development environment platform that enables developers to create, share, and
  collaborate on interactive coding sandboxes instantly in the browser. The platform provides a cloud-based IDE with Firecracker
  microVM infrastructure that supports snapshotting, cloning, and running isolated development environments at scale. CodeSandbox
  offers the CodeSandbox SDK for programmatically spinning up AI sandboxes and development environments, the Sandpack component
  toolkit for embedding live-running code editing experiences, and a browser sandbox Define API for generating sandboxes on
  the fly from code examples. Trusted by over 4.5 million developers monthly, it serves individual developers, professional
  teams, and AI product builders needing concurrent sandboxed environments.
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/codesandbox.png
tags:
- Developer Tools
- Cloud IDE
- Code Sandboxes
- Browser Development
- AI Sandboxes
- Code Embedding
url: https://raw.githubusercontent.com/api-evangelist/codesandbox/refs/heads/main/apis.yml
created: '2026-06-12'
modified: '2026-06-12'
specificationVersion: '0.19'
apis:
- aid: codesandbox:define-api
  name: CodeSandbox Define API
  description: The Define API allows programmatic creation of browser sandboxes from code files, useful for documentation
    sites and code examples that need to generate a sandbox on the fly. Supports both GET and POST requests to https://codesandbox.io/api/v1/sandboxes/define,
    accepting a files parameter containing the sandbox file structure and returning either a rendered sandbox or JSON with
    sandbox_id when using the ?json=1 query parameter.
  humanURL: https://codesandbox.io/docs/learn/browser-sandboxes/cli-api
  baseURL: https://codesandbox.io/api/v1
  tags:
  - Browser Sandboxes
  - REST API
  - Code Examples
  properties:
  - type: Documentation
    url: https://codesandbox.io/docs/learn/browser-sandboxes/cli-api
- aid: codesandbox:sandpack
  name: Sandpack Embed Toolkit
  description: Sandpack is an open-source component toolkit for creating live-running code editing experiences powered by
    CodeSandbox. It supports React via @codesandbox/sandpack-react and plain JavaScript via @codesandbox/sandpack-client,
    enabling developers to embed interactive code editors and previews with built-in support for Next.js, Remix, Vite, Astro,
    hot module reloading, and npm dependency support. Also supports iframe-based sandbox embedding.
  humanURL: https://sandpack.codesandbox.io/docs
  tags:
  - Embedding
  - Code Editor
  - React
  - JavaScript
  - Component Toolkit
  properties:
  - type: Documentation
    url: https://sandpack.codesandbox.io/docs
  - type: GitHubRepository
    url: https://github.com/codesandbox/sandpack
- aid: codesandbox:codesandbox-meta-api
  name: CodeSandbox meta API
  description: API metadata and auth context
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - meta
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-meta-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-preview-host-api
  name: CodeSandbox preview_host API
  description: Trusted preview host management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - preview_host
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-preview-host-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-preview-token-api
  name: CodeSandbox preview_token API
  description: Preview token management for private sandboxes
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - preview_token
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-preview-token-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-sandbox-api
  name: CodeSandbox sandbox API
  description: Browser and VM sandbox management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - sandbox
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-sandbox-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-templates-api
  name: CodeSandbox templates API
  description: Sandbox template management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - templates
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-templates-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-token-api
  name: CodeSandbox token API
  description: API token management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - token
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-token-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-vm-api
  name: CodeSandbox vm API
  description: Virtual machine lifecycle management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - vm
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-vm-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
- aid: codesandbox:codesandbox-workspace-api
  name: CodeSandbox workspace API
  description: Workspace and organization management
  humanURL: https://codesandbox.io/docs/sdk
  baseURL: https://api.codesandbox.io
  tags:
  - workspace
  properties:
  - type: OpenAPI
    url: openapi/codesandbox-workspace-api-openapi.yml
  - type: Documentation
    url: https://codesandbox.io/docs/sdk
  - type: GitHubRepository
    url: https://github.com/codesandbox/codesandbox-sdk
  - type: JSONSchema
    url: json-schema/codesandbox-sandbox-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-vm-start-response-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-preview-token-schema.json
  - type: JSONSchema
    url: json-schema/codesandbox-meta-information-schema.json
  - type: Vocabulary
    url: vocabulary/codesandbox-vocabulary.yml
  - type: JSONLDContext
    url: json-ld/codesandbox-context.jsonld
common:
- type: AgenticAccess
  url: agentic-access/codesandbox-agentic-access.yml
- type: DomainSecurity
  url: security/codesandbox-domain-security.yml
- type: Authentication
  url: authentication/codesandbox-authentication.yml
- type: Website
  url: https://codesandbox.io
- type: Documentation
  url: https://codesandbox.io/docs/learn
- type: GitHubOrganization
  url: https://github.com/codesandbox
- type: LinkedIn
  url: https://www.linkedin.com/company/codesandbox
- type: X
  url: https://x.com/codesandbox
- type: Blog
  url: https://codesandbox.io/blog
- type: ChangeLog
  url: https://codesandbox.io/changelog
- type: Pricing
  url: https://codesandbox.io/pricing
- type: StatusPage
  url: https://status.codesandbox.io
- type: Plans
  url: plans/codesandbox-plans-pricing.yml
- type: RateLimits
  url: rate-limits/codesandbox-rate-limits.yml
- type: FinOps
  url: finops/codesandbox-finops.yml
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com