Docs: Android phones for mobile agents | Maritime

Android phones

A Maritime Android phone is a virtual Android 15 phone for apps that only exist on mobile. It is a computer with os: "android": the same screenshot, action, file, viewer and takeover API, plus actions that read the screen as elements and control apps.

At a glance

What it is: An Android 15 phone (AOSP, 720 x 1280, no Google Play) your agent taps and swipes, with app actions and an adb tunnel.

Use it for: Mobile apps with no API, and testing with adb, Appium or Maestro.

Use something else when: A website: Linux desktop. Windows software: Windows desktop.

Start it: POST /api/v1/computers with {\"os\": \"android\"}, or New sandbox (?type=android), where the deployment has phone hosts.

Lifecycle: Sleeps after 5 idle minutes with its memory saved and wakes in about a second. Its disk is kept until you delete it.

Price: $0.15 an hour awake, per second. Asleep: $0.08 per GB-month of disk.

Limits: x86_64 by default; {\"arch\": \"arm64\"} where ARM hosts exist. Apps install as APKs. With no phone host, creating one returns 403 machine_unavailable.

When to use it

Create one

From the dashboard, open New sandbox(/dashboard/new-sandbox?type=android), name the phone and click Create Android phone.

RESTMCPCLI

curl -X POST https://api.maritime.sh/api/v1/computers \
  -H "Authorization: Bearer $MARITIME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"externalUserId": "u_123", "os": "android"}'

Then open an app and tap. Over REST, Android actions go to the same actions route as every other action:

curl -X POST https://api.maritime.sh/api/v1/computers/COMPUTER_ID/actions \
  -H "Authorization: Bearer $MARITIME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action": "open_app", "package": "com.android.settings"}'

Actions

What is on the phone

Lifetime and limits