One-time payments onlyNo subscriptions. No monthly fees. Just 5% + 50¢ when you make a sale.See pricing →
Developers

An API that respects your evenings.

Predictable REST endpoints, idempotent writes, signed webhooks, test mode and SDKs for the languages indie developers actually ship in. Integrate licensing in an afternoon.

terminal
# Validate a license from anywhere
curl https://api.mykeyloft.com/v1/licenses/validate \
  -H "Authorization: Bearer kl_live_••••" \
  -d key="LMN3-7Q2M-ARX9-PL4C" \
  -d device="sha256:7d1e…b20c" \
  -d version="3.4.1"

{ "valid": true, "entitled": true,
  "seats": "2/3", "lifetime": true }
§01SDKs

Ten official SDKs. Zero boilerplate.

Each SDK handles activation, caching, offline verification, grace periods and update checks. All are open source under the MIT license.

SwiftmacOS, iOSSwift Package Manager
KotlinAndroid, JVMMaven Central
C# / .NETWindows, cross-platformNuGet
C++Native, audio pluginsCMake / vcpkg
RustCLI & nativecrates.io
GoCLI & serversGo modules
Node / ElectronDesktop & CLInpm
PythonTools & scriptsPyPI
UnityGames & toolsUPM
GodotGames & toolsAsset Library
§02Examples

Same idea, any stack.

main.ts · Electron
import { Keyloft } from "@keyloft/node";

const kl = new Keyloft({ product: "prod_fieldnote" });

const lic = await kl.activate({
  key: input.value,
  device: await kl.fingerprint(),
});

if (!lic.entitles(app.getVersion())) {
  showUpgradeOffer(lic.upgrade);  // one-time upgrade
}
license.rs · Rust CLI
use keyloft::{Client, OfflineLicense};

fn main() -> anyhow::Result<()> {
    // Verify locally, no network required
    let lic = OfflineLicense::load("~/.orbit/license.klf")?
        .verify(PUBLIC_KEY)?;

    if lic.has("pro") {
        enable_pro_commands();
    }
    Ok(())
}
§03REST API

The endpoints you will actually use.

Base URL https://api.mykeyloft.com. JSON in, JSON out. Every write accepts an Idempotency-Key header. Test and live mode use separate keys and data.

MethodEndpointDescription
POST/v1/licenses/activateActivate a key on a device and receive a signed license file
POST/v1/licenses/validateValidate a key, device and version entitlement
POST/v1/licenses/deactivateRelease a device seat
GET/v1/licenses/{id}Retrieve a license with activations and entitlements
POST/v1/licensesIssue a license manually (giveaways, support, migrations)
POST/v1/licenses/{id}/revokeRevoke a license
GET/v1/productsList products, prices and entitlements
GET/v1/ordersList orders with filters
POST/v1/orders/{id}/refundFully or partially refund an order
GET/v1/releases/latestLatest build for a channel, platform and entitlement
POST/v1/discountsCreate coupon codes programmatically
POST/v1/imports/licensesBulk import legacy license keys
§04 Webhooks

Know the moment anything happens.

Signed with HMAC-SHA256, retried with exponential backoff for up to 3 days, and replayable from the dashboard. Use them to provision accounts, send onboarding emails or update your CRM.

order.completedorder.refundedlicense.createdlicense.activatedlicense.deactivatedlicense.revokeddispute.createddispute.closedpayout.paidrelease.published

Scoped API keys

Read-only, licensing-only or full-access keys, each restricted by IP if you want.

Test mode

A full sandbox with test cards, fake payouts and resettable data.

Rate limits

100 requests/second per account for writes, generous burst for validation.

99.95% target

Multi-region validation endpoints with a public status page.

Start selling

Get your API keys in two minutes.

Create a seller account, switch to test mode and start integrating. You can go live whenever you are ready.

Create seller account →Talk to our team

No monthly fees · No setup fees · 5% + 50¢ per sale