Developer Docs & API
A terminal-style reference for distributing beta builds, sideloading verified APKs, and integrating APKBasket into your CI pipeline. Every endpoint, every schema field, every hash — documented exactly the way the index enforces it.
- 47-point scan
- 14 min median verify
- 99.97% uptime · 24mo
- 1,840,000+ APKs
https://api.apkbasket.net/v3
200 OK · 47ms · TLS 1.3
Six doc surfaces. One consistent contract.
Pick the surface that matches your workflow — every block links to the same canonical schema, the same SHA-256 guarantees, and the same audit trail.
-
01 REST
REST API Reference
Versioned endpoints for package lookup, version pinning, signature verification, and bulk export. OpenAPI 3.1 spec published.
Open reference -
02 SCHEMA
Metadata Schema
The five verified fields every APK record exposes: SHA-256, manifest diff, signature block, VirusTotal cross-report, and pinned changelog.
View schema -
03 ADB
ADB Sideload Guide
Verified install paths for emulators, rooted devices, and CI runners — including known-good USB driver notes for Windows hosts.
Sideload steps -
04 SUBMIT
Submission Guidelines
How to upload a new APK to the index — pre-flight checks, signing requirements, beta-channel flags, and the 14-minute SLA from upload to listing.
Read guidelines
api.apkbasket.net — production endpoints
Every number below is read straight from the StatusGator audit and the in-house observability stack. Integration decisions can be made in one glance.
Every APK record ships with five verified fields.
The transparency layer four direct competitors omit. Every value is reproducible from the underlying artifact — no opaque trust claims, no hidden provenance.
-
01string · required
sha256
The canonical SHA-256 digest of the APK file as served. Recompute on your end — if the digest doesn't match, the artifact was tampered with after listing.
"sha256": "9f1c…b7e2" -
02object · required
manifest_diff
A structured diff of AndroidManifest.xml between this version and the previous one in the same package. Surfaces added permissions, new activities, and exported components.
"manifest_diff": { "added_permissions": ["INTERNET"], "new_activities": 3 } -
03object · required
signature_block
The original developer signature, signer certificate chain, v2/v3 scheme presence, and a re-signing flag — set to
trueif the APK was modified and resigned after the original build."signature_block": { "scheme": "v2+v3", "resigned": false } -
04object · required
vt_cross_report
A cross-reference of the SHA-256 against VirusTotal's multi-engine corpus. We surface detections, total engines scanned, and the timestamp of the last cross-check — never just a "clean" badge.
"vt_cross_report": { "engines": 72, "detections": 0, "checked_at": "2025-01-14T09:12Z" } -
05string · required
pinned_changelog
The developer-supplied release notes, hash-pinned to the upload. Updates don't overwrite history — every version's notes stay attached to that version's record.
"pinned_changelog": "Fix for camera2 callback race…"
Two ways to install a verified APK in under 60 seconds.
A curl-ready REST path for CI runners and integration tests. A parallel ADB sideload block for emulator enthusiasts and QA hands-on. Same hash, same artifact.
Pull a verified APK via the REST API.
Resolve the package, verify the SHA-256, then download from a signed CDN URL. Useful for CI runners, package managers, and integration tests.
# 1. Resolve latest verified version
curl -sS https://api.apkbasket.net/v3/packages/org.lineageos.recorder \
| jq -r '.versions[0].sha256'
# 2. Verify the digest before download
curl -sS https://api.apkbasket.net/v3/packages/org.lineageos.recorder \
| jq -r '.versions[0].cdn_url' \
| xargs curl -sSL -o app.apk
sha256sum app.apk
Sideload directly to a connected device.
For emulator testing and QA loops. The --verify flag tells ADB to re-check the signature chain against the device's installed trust store before install.
# Confirm device + USB driver
adb devices -l
# Sideload with explicit verification
adb install --verify \
/path/to/app.apk
# Confirm package + signature on device
adb shell pm verify org.lineageos.recorder
Open the full API reference.
Every endpoint, every error code, every webhook payload — versioned, hash-pinned, and cross-linked to the StatusGator uptime report. Built for developers who want the long form, not the brochure.