Skip to main content
GET
/
phones
/
{phone_id}
/
info
Get Phone Info
curl --request GET \
  --url https://api.example.com/phones/{phone_id}/info
Get detailed information about a specific phone, including screen dimensions.

Request

curl https://api.tapkit.ai/phones/{phone_id}/info \
  -H "X-API-Key: TK_your_api_key"

Path Parameters

ParameterTypeDescription
phone_idstringThe phone identifier

Response

{
  "width": 1170,
  "height": 2532,
  "name": "iPhone 15 Pro",
  "unique_id": "00008030-001A2B3C4D5E6F"
}

Response Fields

FieldTypeDescription
widthintegerScreen width in pixels
heightintegerScreen height in pixels
namestringDevice display name
unique_idstringHardware identifier

Common Screen Dimensions

DeviceWidthHeight
iPhone 15 Pro Max12902796
iPhone 15 Pro11792556
iPhone 1511792556
iPhone 14 Pro Max12902796
iPhone 14 Pro11792556
iPhone SE (3rd gen)7501334

Example

import requests

phone_id = "abc123-def456"
response = requests.get(
    f"https://api.tapkit.ai/phones/{phone_id}/info",
    headers={"X-API-Key": "TK_..."}
)
info = response.json()

print(f"Screen: {info['width']}x{info['height']}")

Errors

Phone Not Found

{
  "error": "PHONE_NOT_FOUND",
  "message": "No phone found with ID: abc123"
}
HTTP Status: 404 Not Found