ApkDrive API Docs

Official documentation for APK file uploads

Base Endpoint

Use this base URL for all API requests.

https://api.apkdrive.cc

Direct APK Upload

Upload an APK file directly using multipart form data.

POST /upload
Parameter Type Description
api * Field Your unique API key
apk_file * File The APK file (multipart/form-data)

Example (cURL):

curl -X POST "https://api.apkdrive.cc/upload" \
  -F "api=your_api_key" \
  -F "apk_file=@/path/to/your_app.apk"

Example Response:

{
  "status": "success",
  "fileStatus": "NewAdded",
  "key": "abc12",
  "name": "your_app.apk",
  "size": 52428800,
  "download": "https://apkdrive.cc/file/abc12"
}

Remote URL Upload

Upload an APK file from a direct download URL.

GET /upload?api=KEY&url=DIRECT_URL
Parameter Description
api * Your unique API key.
url * Direct download URL pointing to an .apk file.

Example Request:

https://api.apkdrive.cc/upload?api=your_api_key&url=https://example.com/my_app.apk

Example Response:

{
  "status": "success",
  "fileStatus": "NewAdded",
  "key": "xyz45",
  "name": "my_app.apk",
  "size": 104857600,
  "download": "https://apkdrive.cc/file/xyz45"
}

User Info

Get user profile details by API key. Used by Telegram bot for login.

GET /user-info?api=KEY
Parameter Description
api * Your unique API key.

Example Response:

{
  "status": "success",
  "user": {
    "user_id": 1,
    "first_name": "Abhishek",
    "last_name": "Kumar",
    "email": "[email protected]",
    "site_name": null
  }
}

Error Responses

{
  "status": "error",
  "message": "Only .apk files are allowed"
}