# StackBlitz JavaScript SDK

**Canonical:** https://apis.io/apis/stackblitz/javascript-sdk/  
**Provider:** StackBlitz — https://apis.io/providers/stackblitz/  
**Documentation:** https://developer.stackblitz.com/platform/api/javascript-sdk

StackBlitz JavaScript SDK is one of 2 APIs that [StackBlitz](https://apis.io/providers/stackblitz/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include JavaScript, SDK, Embed, and IDE. The published artifact set on APIs.io includes API documentation.

A lightweight (3kB gzipped) JavaScript SDK that lets developers programmatically create, open, and embed StackBlitz projects in web pages, documentation sites, or blog posts. Provides six primary methods including openProject, embedProject, openGithubProject, embedGithubProject, openProjectId, and embedProjectId, along with a VM interface for controlling embedded environments post-mount.

## Machine-readable artifacts (4)

- **Documentation** — https://developer.stackblitz.com/platform/api/javascript-sdk
- **SDKOptions** — https://developer.stackblitz.com/platform/api/javascript-sdk-options
- **VMInterface** — https://developer.stackblitz.com/platform/api/javascript-sdk-vm
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/stackblitz/refs/heads/main/apis.yml

## Other StackBlitz APIs (1)

- [WebContainer API](https://apis.io/apis/stackblitz/webcontainer-api/)

## Tags

JavaScript, SDK, Embed, IDE

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/stackblitz/javascript-sdk/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/stackblitz/.
