Embed a live Android phone in your web app.
Mobilebox’s embed API puts a live, clickable cloud Android phone in your web page: one call returns a signed iframe link that only your origin can frame, and the phone costs $0.01 a minute. Your users watch or tap through the app your product built without a Mobilebox account, and a phone was ready for a first screenshot in 1.35 s in our 22 November 2026 benchmark.
For AI app builders, no-code tools, docs and demos: anywhere a page should hold a working phone.
One call from your server.
Allow your pages once. Then one call per preview starts your user’s phone (the same one next time), installs the build or opens the Expo link, and answers when the app is on screen, with a link only your origin can frame. Keep the API key on your server; the browser gets only the link.
A build that doesn’t install answers install_failed, one that doesn’t open answers open_failed, each with the phone’s id, so your product can tell your user what went wrong and call again on the same phone. With an idempotency key, a retry within 24 hours never makes a second phone.
# Once: the pages that may show a phone (up to 20)
curl -X PUT https://mobilebox.dev/v1/embed/origins \
-H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"origins": ["https://app.example.com"]}'
# Per preview: your user's phone, your build on screen, a link
curl -X POST https://mobilebox.dev/v1/previews \
-H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: user_42-build_17" \
-d '{"apk_url": "https://builds.example.com/preview.apk",
"end_user": "user_42",
"origin": "https://app.example.com",
"interactive": true}'
# → {"phone_id": "ph_…",
# "embed_url": "https://mobilebox.dev/embed?t=e1.…",
# "expires_at": "…", "reused": false, …}
# Your page: the embed_url from the answer
<iframe src="https://mobilebox.dev/embed?t=e1.…" width="360" height="800"
style="border:0" title="Phone preview"></iframe>What your users get.
One phone’s screen in your page, and nothing else from Mobilebox.
The real app
- Your build or Expo link on an Android 14 phone, not a web build in a frame
- View-only, or interactive: taps, swipes, typing, back and home
- The screen fills the iframe at its own aspect ratio
Only your pages
- The browser refuses any other parent page
- Links expire after 1 to 60 minutes, 15 by default
- One call revokes every link of a phone, open ones too
Your page stays in charge
- Events tell it when the first frame is up and when a link ends
- No account, API key or billing reaches the user
- Your own team can take over the phone; embeds pause meanwhile
Embeddable phone previews compared
Published prices and embed options as of 25 November 2026, from each vendor’s own page.
| Service | Published price | How you embed it | Phones |
|---|---|---|---|
| Mobilebox | $0.01 a minute, billed per second, no plan | Signed iframe link per phone, locked to one of your origins, view-only or interactive, page events | Android phones; iPhone and iPad simulators (view-only) |
| Limrun | Android $0.04–0.05 a minute in credits, iOS double; plans from $20 a month, free trial | Embeddable simulators on all plans, a React component with a stream token | iOS simulators, Android emulators, cloud builds |
| Expo Simulators | $0.10 a minute on a paid Expo plan (launch post); sessions end after 115 minutes | An iframe allowed by --frame-ancestor (up to 10 origins), or @expo/hub-client | iOS simulators, Android emulators |
| Appetize | Starter $59 a month billed yearly ($89 monthly) for 500 minutes and 3 devices, then $0.06 a minute; free plan | An iframe per uploaded build, plus a JavaScript SDK | iOS simulators, Android emulators |
| Revyl | 1,200 device minutes a month free, then $0.075 a minute for iOS or Android (pricing) | An iframe with single-use session links; any site may frame it, and a session ends after 3 idle or 10 active minutes | iOS simulators, Android emulators, cloud builds |
| Genymotion SaaS | $0.06 a minute per running device, pay as you go | An open-source JavaScript web player | Cloud Android devices |
Limrun, Expo, Appetize and Revyl let users tap iOS in the frame; Mobilebox shows iOS view-only. Limrun and Revyl build your app from source and Expo pairs with EAS Build, while Mobilebox takes a built APK, an Expo link or a simulator .app. Mobilebox is the cheapest Android minute here and, like Genymotion’s pay as you go, needs no plan. Picking a cloud iOS simulator instead? Cloud iOS simulators compared · Limrun alternatives · Revyl alternatives.
Questions
Building a phone preview into your product.
Does anything run in my user’s browser?
Only the stream. The phone runs on our servers; the iframe shows its screen and sends your user’s taps and typing back. Nothing is installed in the visitor’s browser.
How do I get my user’s app onto the phone?
Send its URL as apk_url: an APK or split APKs (.apks, .xapk). The install takes about as long as the download. For an Expo or React Native project, send the Metro tunnel link as expo_url instead: the phone installs the matching Expo Go and opens it (Expo previews). Or build an APK with an EAS Build profile whose android.buildType is apk. Google Play isn’t on the phones.
What does a preview cost?
$0.01 a minute while the phone runs, billed per second, the same as any Mobilebox phone. The embed adds nothing. Taps count as activity, so a phone someone plays with stays up; park or delete it when your user leaves. See pricing.
Can my users get into my account through the iframe?
No. A link shows one phone and accepts only screen input and a few safe keys. It carries no API key, opens only inside your origin and expires on its own. Treat it like a short-lived password to that phone, and revoke it with DELETE /v1/phones/{phone_id}/embed when the session ends.
Can I show an iPhone preview?
Yes, view-only: send "platform": "ios" and ios_app_url, a .zip of the simulator build’s .app. Your users watch while your agent or team drives the phone. iPhone and iPad simulators cost $0.03 a minute.
Can my AI agent test the app on the same phone?
Yes. The phone your user sees is an ordinary Mobilebox phone, so your agent can read its screen, tap and check results over the MCP server or REST before or after the preview.
Read more
Cloud iOS simulators compared (2026): Limrun, Expo, Appetize
Limrun, Expo Simulators, Appetize, Argent Cloud, Mobilebox and local MCP servers side by side: platforms, how agents connect, published price, whether you need a Mac, MCP, and what a 5-minute check costs.
Limrun alternatives (2026): cloud Android and iOS for agents
For iOS: Expo Simulators, Argent Cloud, Phone Harness. For Android: Mobilebox, Mobilerun, Clousd, mobile-mcp. Published prices as of 23 Nov 2026, and where Limrun is still faster.
Watching your own agent instead? Live view · Mobile sandbox.