# Embed an interactive Android emulator in your web page.

Mobilebox’s embed API returns a signed iframe link to a live cloud Android phone: your visitors tap, swipe and type on it in your page, without an account, and only the origins you allow can frame it. The phone costs $0.01 a minute, billed per second, and was ready for a first screenshot in 1.35 s in our 22 November 2026 benchmark. One more call installs an APK or opens an Expo link on it first.

[Get an API key](https://mobilebox.dev/signup?device=android_cloud&amp;via=need-embed-android&via=md) [Embed guide](https://mobilebox.dev/docs/embed?via=md)

Sign up with GitHub, Google or email. New workspaces get free credit, no card.

## From your server to your visitor’s screen.

The key stays on your server; the browser only gets the signed link.

[App previews for app builders](https://mobilebox.dev/app-preview?via=md)

```
# Once: the page that will hold the iframe
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"]}'

# A phone, then a link your visitor can tap on
ID=$(curl -s -X POST "https://mobilebox.dev/v1/phones?wait=ready" -H "Authorization: Bearer $MOBILESANDBOX_API_KEY" | jq -r .id)
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}'
# → {"url": "…"}: put it in <iframe src="…">
```

## Embeddable Android emulators compared

Prices and embed options from each vendor’s own page, 25 November 2026.

| Service | How you embed it | Price |
| --- | --- | --- |
| Mobilebox | Signed iframe link per phone, locked to your origins, view-only or interactive | $0.01 a minute, no plan |
| Genymotion SaaS | Open-source JavaScript web player | $0.06 a minute per running device |
| Appetize | An iframe per uploaded build, plus a JavaScript SDK | From $59 a month billed yearly, then $0.06 a minute |
| Expo Simulators | An iframe for up to 10 allowed origins, or @expo/hub-client | $0.10 a minute on a paid Expo plan |
| Limrun | A React component with a stream token | $0.04–0.05 an Android minute in credits, plans from $20 a month |

## Questions

Putting a working phone in a page.

Is there an API to embed an interactive cloud Android emulator in a web page?

Yes. `POST /v1/phones/{id}/embed` with your origin and `"interactive": true` returns a signed link for an iframe; the visitor taps, swipes and types on a cloud Android phone, $0.01 a minute. `DELETE` on the same path ends it.

Can another site copy my iframe?

No. The link is signed for one phone and one origin from `PUT /v1/embed/origins`, the page sends `frame-ancestors` for that origin only, and opened on its own it shows nothing.

Can I put my own app on the embedded phone?

Yes. Install an APK, .apks or .xapk with `POST /v1/phones/{id}/apps`, or use `POST /v1/previews` to install the build (or open an Expo link) and get the embed link in one call.

Can my AI agent drive the same phone?

Yes. The embedded phone is an ordinary Mobilebox phone, so your agent drives it over MCP or REST while your visitor watches in a view-only embed.

## Read more

[Expo Simulators pricing and alternative (2026) Expo Simulators costs $0.10 a minute on a paid Expo plan, 60 minutes a month included until 2027. Mobilebox: Android $0.01 and iOS $0.03 a minute, per second, no plan, Expo Go included. Comparisons5 min read](https://mobilebox.dev/blog/mobilebox-vs-expo-simulators?via=md) [Revyl alternatives (2026): prices and embeds Limrun and Expo Simulators for cloud builds and iOS, Appetize and Genymotion for embedded previews, Mobilebox for $0.01 Android phones and origin-locked embeds. Prices from each vendor as of 25 Nov 2026, and where Revyl is still the better pick. Comparisons5 min read](https://mobilebox.dev/blog/revyl-alternatives?via=md)

## Try it in your agent in 60 seconds

Paste this into Claude Code, Cursor, Codex or any agent that can read a web page. It asks for your email, gets its own key at once and adds the phone tools; the 6-digit code from your inbox keeps the workspace.

```
Set up Mobilebox for me: read https://mobilebox.dev/setup.md?via=embed-android-emulator and follow it.
```

[What your agent reads](https://mobilebox.dev/setup.md?via=embed-android-emulator)

## Next questions

- [Can my agent use an iPhone?](https://mobilebox.dev/ios?via=next-iphone)

- [Can each phone get a residential IP?](https://mobilebox.dev/blog/residential-ip-per-phone?via=next-residential-ip)

- [Does my agent stay logged in between runs?](https://mobilebox.dev/blog/park-resume-android?via=next-logins)

- [Can I watch my agent work live?](https://mobilebox.dev/live-view?via=next-live)

- [What does it cost for a team?](https://mobilebox.dev/blog/mobilebox-pricing-for-teams?via=next-team)

- [How fast do cloud phones start, measured?](https://mobilebox.dev/benchmarks?via=next-benchmarks)

- [Is there a Python package?](https://mobilebox.dev/blog/android-phone-for-python-ai-agent?via=next-python)

- [Does my agent need a real device?](https://mobilebox.dev/blog/real-android-devices-vs-cloud-phones?via=next-real-device)
