Development — entry 093 of 98

Wandbox

Verified Jul 2026

Wandbox is a free "social compilation service" built by melpon and kikairoya, offering 175 compiler configurations across 35 languages — from mainstream C++, Python, Rust, and Go to niche picks like Lazy K and Pony — including nightly HEAD builds of GCC and Clang. Its REST API needs no key: POST source code, a compiler ID, and options to /api/compile.json (or the /ndjson variant for streamed output) and get back compile/runtime output plus a permanent shareable permalink, while /api/list.json enumerates every compiler and its supported switches. The project was rewritten in 2024–2026 from a legacy Ruby backend to Rust (feline) and Remix (canine), which is why the old kennel2/API.rst docs path 404s — the live API endpoints themselves are unchanged.

Wandbox compiles and runs code online in 35 languages, from mainstream picks like C++, Python, and Go to nightly HEAD builds of GCC and Clang. Post your source and a compiler ID to /compile.json and get back the compiler output plus the program's own output. No key is needed.

online-compilercode-executionsandboxdeveloper-toolsopen-source
AuthenticationNone requiredCall it straight away — no key, no signup.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, NDJSONResponses can be requested as JSON or NDJSON.

GreatAPIs Score

Score94out of 100
Authentication25/25No authentication required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats15/15Supports 2 response formats
Freshness20/20Verified within 6 months

Embed this badge

Scored 94 on greatapis.com
<a href="https://greatapis.com/api/wandbox/"><img src="https://greatapis.com/badge/wandbox.svg" alt="Scored 94 on greatapis.com"></a>

Auth quickstart

  1. No API key required. Every request is public and keyless.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.

Compile and run a C++ snippet

POSThttps://wandbox.org/api/compile.json

Content-Type: application/json

{
  "compiler": "gcc-head",
  "code": "#include <cstdio>\nint main(){printf(\"hello\");}"
}

200 application/json

{
  "status": "0",
  "signal": "",
  "compiler_output": "",
  "compiler_error": "",
  "compiler_message": "",
  "program_output": "hello",
  "program_error": "",
  "program_message": "hello",
  "permlink": "",
  "url": ""
}

Try it

Developer reference

Base URLhttps://wandbox.org/api
Key endpoints
  • GET/list.json
  • POST/compile.json

Gotchas & limits

  • Get a valid compiler ID from GET /list.json first — it lists all 176 compiler configurations live, and an unrecognized ID returns a plain-text Error: Unknown compiler, not a JSON error object
  • A compile error still returns HTTP 200 — check the status field (a non-zero string) and compiler_error in the body, not the HTTP status code
  • permlink and url stay empty strings unless you add "save": true to the request body, which stores the run and returns a shareable link

Availability

Uptime100%
Median latency336 ms
Last checkUp · 200 · Sep 2026

16 checks since Aug 2026. A person runs this check by hand, not an automated monitor.