apis.directory

OnlineCompiler.io code execution API vs E2B sandboxes

OnlineCompiler.io code execution APIby RunCode Inc. (OnlineCompiler.io)Paid fromNot statedAccessHTTP, SDK, MCP, Hosted UI, WebhooksAgentsNot agent-friendlyAPI QA score[SCORE]View API
E2B sandboxesby E2BPaid fromNot statedAccessHTTP, SDK, CLI, MCPAgentsNot statedAPI QA score[SCORE]View API

Fact by fact

15 different9 stated by only one2 the same on both

The basics

Made byOnlineCompiler.io code execution API: RunCode Inc. (OnlineCompiler.io)E2B sandboxes: E2B
What it isOnlineCompiler.io code execution API: Runs and judges code in 46 languages against test cases, with Judge0- and Piston-compatible endpoints, a WebSocket, an embeddable widget and signed receiptsE2B sandboxes: Isolated cloud sandboxes where agents run code, use a filesystem and start processes, billed per second of CPU and memory
AccessOnlineCompiler.io code execution API: HTTP, SDK, MCP, Hosted UI, WebhooksE2B sandboxes: HTTP, SDK, CLI, MCP
Still on saleOnlineCompiler.io code execution API: YesE2B sandboxes: Yes

What they work on

Only one of themOnlineCompiler.io code execution API: QuestionReceiptWebhook subscriptionE2B sandboxes: SandboxSecret

Price

PricesOnlineCompiler.io code execution API:
  • Starter monthly$10 /month
  • Starter yearly$100 /year
  • Pro monthly$49 /month
  • Pro yearly$490 /year
  • Business monthly$199 /month
  • Business yearly$1,990 /year
All 9 prices
E2B sandboxes:
  • Pro$150 /month (+usage costs)
  • Enterprise commitstarts at a $2,000 /month commitMonthly commit

Buying and paying

Agent gets a key aloneOnlineCompiler.io code execution API: Nokey from api.onlinecompiler.io/compilers/api-keys after sign-inE2B sandboxes: Not stated
First call without a keyOnlineCompiler.io code execution API: Nollms.txt: no GET or keyless run endpointE2B sandboxes: Not stated
Agent can payOnlineCompiler.io code execution API: NoStripe card checkout by a personE2B sandboxes: Not stated
Payment railsOnlineCompiler.io code execution API: cardbilled by card through StripeE2B sandboxes: otherPro: 'Billed through Stripe'
Payment protocolsOnlineCompiler.io code execution API: noneE2B sandboxes: noneno protocol named in the batch paymentRails cell
Subscription requiredOnlineCompiler.io code execution API: Yespaid use is a monthly or yearly planE2B sandboxes: NoHobby is free plus usage
Smallest purchase (USD)OnlineCompiler.io code execution API: From $10Starter $10 a monthE2B sandboxes: Not stated
Price published as dataOnlineCompiler.io code execution API: NoE2B sandboxes: Not stated
Test purchasesOnlineCompiler.io code execution API: NoE2B sandboxes: Not stated
Receipt or usage recordOnlineCompiler.io code execution API: YesEd25519-signed receipt per judged submissionE2B sandboxes: Not stated
Pay per callOnlineCompiler.io code execution API: Not statedE2B sandboxes: Yesper second of a running sandbox

Reading and signing up

Public pricesOnlineCompiler.io code execution API: Yesfull plan table with run allowancesE2B sandboxes: Yes
Self-serve sign-upOnlineCompiler.io code execution API: Yesfree key, no cardE2B sandboxes: Yesno credit card for Hobby
Free useOnlineCompiler.io code execution API: Yes100,000 runs a month with commercial useE2B sandboxes: Yes$100 one-time usage credit
OpenAPIOnlineCompiler.io code execution API: Yeshttps://api.onlinecompiler.io/openapi.jsonE2B sandboxes: Yesdocs.e2b.dev/openapi-public.yaml
OpenAPI versionOnlineCompiler.io code execution API: 3.1.0openapi field in the fileE2B sandboxes: Not stated
Docs without loginOnlineCompiler.io code execution API: YesE2B sandboxes: Yes
llms.txtOnlineCompiler.io code execution API: Yesonlinecompiler.io/llms.txtE2B sandboxes: Yes

MCP

Vendor MCP serverOnlineCompiler.io code execution API: Yeshttps://api.onlinecompiler.io/mcp, streamable HTTPE2B sandboxes: Yese2b-dev MCP server listed in directories; docs MCP public with no auth
MCP server hosted by the vendorOnlineCompiler.io code execution API: YeshostedE2B sandboxes: Nothe code-running MCP server is run locally; only the docs MCP is hosted
MCP sign-inOnlineCompiler.io code execution API: Signs in with OAuth401 with oauth-protected-resource metadata; also API keyE2B sandboxes: Uses an API keyE2B API key

Jobs both do

Open a job to see every API that does it.

For API makers

Is your API missing?

Send one link and we add it to the graph: what it works on, what it costs and what it connects to.

Free, or $100 one time for review in 1 to 2 days.