Mobilebox
Menu

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.

Three calls from your server.

Allow your pages once. Then, per preview: a phone, the build from a URL, and a link that only your origin can frame. Keep the API key on your server and hand the browser only the link.

We ran these calls on production on 25 November 2026 with the F-Droid app (its APK from f-droid.org): phone, install and link came back in 2.9 s. The install takes about as long as your APK’s download.

Every option in the embed guide
bash
# 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: a phone, your build, a link
ID=$(curl -s -X POST https://mobilebox.dev/v1/phones \
  -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
  -H "Content-Type: application/json" -d '{"display_hz": 30}' | jq -r .id)
curl -X POST "https://mobilebox.dev/v1/phones/$ID/apps" \
  -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://builds.example.com/preview.apk"}'
curl -X POST "https://mobilebox.dev/v1/phones/$ID/embed" \
  -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origin": "https://app.example.com", "interactive": true}'

# Your page: the 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 APK 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.

ServicePublished priceHow you embed itPhones
Mobilebox$0.01 a minute, billed per second, no planSigned iframe link per phone, locked to one of your origins, view-only or interactive, page eventsAndroid phones in the embed; iPhone and iPad simulators through the API and live view
LimrunAndroid $0.04–0.05 a minute in credits, iOS double; plans from $20 a month, free trialEmbeddable simulators on all plans, a React component with a stream tokeniOS simulators, Android emulators, cloud builds
Expo Simulators$0.10 a minute on a paid Expo plan (launch post); sessions end after 115 minutesAn iframe allowed by --frame-ancestor (up to 10 origins), or @expo/hub-clientiOS simulators, Android emulators
AppetizeStarter $59 a month billed yearly ($89 monthly) for 500 minutes and 3 devices, then $0.06 a minute; free planAn iframe per uploaded build, plus a JavaScript SDKiOS simulators, Android emulators
Revyl1,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 minutesiOS simulators, Android emulators, cloud builds
Genymotion SaaS$0.06 a minute per running device, pay as you goAn open-source JavaScript web playerCloud Android devices

Limrun, Expo, Appetize and Revyl put iOS in the frame; Limrun and Revyl build your app from source and Expo pairs with EAS Build, while Mobilebox expects the APK. 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?

Install an APK, split APKs (.apks, .xapk) or a URL to one: POST /v1/phones/{id}/apps with {"url": "…"} takes about as long as the download. For an Expo or React Native project, send the Metro tunnel link 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/{id}/embed when the session ends.

Can I show an iPhone preview?

The embed link shows Android phones. Mobilebox also runs iPhone and iPad simulators on the same API at $0.03 a minute, and your agents and team can watch them in the live view.

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

Watching your own agent instead? Live view · Mobile sandbox.

Next questions