CodeSandbox oEmbed
codesandbox.ioCodeSandbox provides instant cloud development environments for coding, collaborating, and shipping projects. Developers can embed interactive code sandboxes via oEmbed, allowing users to experiment with and execute code directly within their applications. Consumers such as WordPress, Slack, and other CMS or chat platforms can call its oEmbed endpoint to turn CodeSandbox URLs into rich embeds — without writing custom integration code. Below are the endpoint details, supported URL patterns, and response formats for CodeSandbox.
1
Endpoint
2
URL patterns
json
Format
No
Discovery
Endpoint
https://codesandbox.io/oembed
Supported URL patterns
https://codesandbox.io/s/* https://codesandbox.io/embed/* Formats: json
Test a CodeSandbox URL
See the live oEmbed response and a rendered preview.