Skip to content

GPS Management

Fresh

Get GPS

Query GPS coordinates (latitude and longitude) of cloud phones.

URL: https://openapi.geelark.com/open/v1/phone/gps/getMethod: POST

Request Parameters

ParameterRequiredTypeDescription
idsYesarray[string]Cloud phone IDs

Response Example

json
{
  "traceId": "81CA3BD0B7BBB924A1C6B836B298ADA7",
  "code": 0,
  "msg": "success",
  "data": {
    "totalAmount": 1,
    "successAmount": 1,
    "failAmount": 0,
    "list": [
      {
        "id": "528086321789535232",
        "latitude": 1.3024300336837769,
        "longitude": 103.87545776367188
      }
    ]
  }
}

Set GPS

Set or update GPS coordinates for cloud phones.

URL: https://openapi.geelark.com/open/v1/phone/gps/setMethod: POST

  • Longitude range: [-180.0, 180.0]
  • Latitude range: [-90.0, 90.0]

Request Parameters

ParameterRequiredTypeDescription
listYesarrayGPS info array
list[].idYesstringCloud phone ID
list[].longitudeYesfloatLongitude
list[].latitudeYesfloatLatitude

Request Example

json
{
  "list": [
    {
      "id": "528086321789535232",
      "latitude": 1.30243,
      "longitude": 103.87546
    }
  ]
}

Error Codes

CodeDescription
42001Cloud phone does not exist
43012Latitude/longitude range error

GEELark API Documentation - Built with VitePress