Keygen is Fair SourceStar us on GitHub arrow_right_alt

License & secure mobile Android apps

Securely license your Android app without using in-app purchases

Free during development, no upfront commitment

5 stars

Ready, set, ship

From license keys to entitlements, we've got you covered. Dive in with Keygen Cloud, or explore our self-hosted options.

  • Add licensing to your mobile app with our flagship software licensing API.
  • Add fine-grained entitlement constraints, device activation, and more.
  • Add user-identities for licensing across multiple apps.

Learn more

thread {
val conn = URL("https://api.keygen.sh/v1/accounts/demo/licenses/actions/validate-key")
.openConnection() as HttpsURLConnection
 
conn.requestMethod = "POST"
conn.setRequestProperty("Content-Type", "application/json")
conn.setRequestProperty("Accept", "application/json")
conn.doOutput = true
 
conn.outputStream.bufferedWriter().use {
it.write(JSONObject(mapOf(
"meta" to mapOf(
"key" to "C1B6DE-39A6E3-DE1529-8559A0-4AF593-V3",
"scope" to mapOf(
"fingerprint" to Settings.Secure.getString(context.contentResolver, Settings.Secure.ANDROID_ID)
)
)
)).toString())
}
 
println(conn.inputStream.bufferedReader().readText())
conn.disconnect()
}

Trusted by over 6,000 software businesses all over the worldincluding F1000s, AI startups, SMBs, and indies

Solutions for licensing & distribution


  • dns Choice

    Managed Keygen Cloud, or explore self-hosting.

    View Options

  • library_books Quickstarts

    Guides and API references for developers of all skill levels.

    View Docs

  • insert_chart Dashboard

    Manage your products from an intuitive dashboard.

    View Dashboard

  • business Pricing

    From indie to enterprise, we have options for everyone.

    View Pricing

Ready to get started?

Sign up today, or reach out.


"Licensing was planned to make up at least 25% percent of planned dev time for our product so it's awesome to see that we've been able to cut it down to 2.5% with Keygen." – Ranorex

Free during development, no upfront commitment


Use Slack? Chat 1-1 with a Keygen engineer