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 14 more developer resources.

46.5/100 developing ▬ flat Agent 22/100 agent aware open core · Apache-2.0 Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
1 APIs
Developer ToolsCloud IDECode SandboxesBrowser DevelopmentAI SandboxesCode Embedding

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Open Source Surface applies to this provider. This product is open source and we read its repository directly, so Open Source Surface carries 10 points of the composite. It is scored from what the repository actually publishes — a security policy, a contribution guide, a release history, a code of conduct — read live from the provider rather than inferred from our own catalog pointers. This facet adds; nothing was taken away to make room for it. An open-source project is not excused from the commercial facets, because exemption would strip it of the points it does earn. If we have the wrong repository, or this product is not open source, say so on your provider repo and we will drop the facet rather than have you publish against it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 80 points between them, because the conditional facet above carries the other 20. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 80% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. 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. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

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

Open Collections 7

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

CodeSandbox meta API

OPEN COLLECTION

CodeSandbox meta vm API

OPEN COLLECTION

Scroll for all 7

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 2

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 5

Status, limits, changes, and where to get help

Commercial 4

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
deliveryModel:
  model: open-core
  license: Apache-2.0
  open_source: true
  commercial: true
  callable_host: true
  label: Open core · an OSS project plus a commercial hosted product
  confidence: high
  source:
  - license
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
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.23'
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
  tags_raw:
  - 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: []
  tags_raw:
  - 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: []
  tags_raw:
  - 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
  tags_raw:
  - 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
  tags_raw:
  - 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
  tags_raw:
  - 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
  tags_raw:
  - 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: IssueTracker
  url: https://github.com/codesandbox/sandpack/issues
- type: Releases
  url: https://github.com/codesandbox/sandpack/releases
- type: CodeOfConduct
  url: https://github.com/codesandbox/sandpack/blob/main/CODE_OF_CONDUCT.md
- type: License
  name: Apache-2.0
  url: https://github.com/codesandbox/sandpack/blob/main/LICENSE
- 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

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/codesandbox"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/codesandbox/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/codesandbox/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.