Software licensing and license keys for your apps, without building a license server
Installation Key is a hosted license key system for desktop apps, WordPress plugins and PHP scripts. Generate license keys when customers pay, lock each key to a computer or domain, and validate it every time your app starts. Selling on a subscription? Keys switch off automatically when the payments stop, and back on when they restart.
// Is this copy licensed? http.DefaultRequestHeaders.Add("X-API-Key", apiKey); var res = await http.PostAsJsonAsync( "https://www.installationkey.com/api/validate.php", new { license_key, hardware_id, activation_token }); var json = await res.Content.ReadFromJsonAsync<JsonElement>(); if (!json.GetProperty("valid").GetBoolean()) ShowActivationWindow(); // blocked
Software license management your paying customers won't notice
A complete software licensing system behind one REST API: license key generation, activation limits, online and offline activation, license validation and a self-service customer portal.
License key generator API
Generate unique license keys automatically from your checkout or payment webhook, one at a time or in bulk, with the customer's name, email and order reference attached.
Hardware-locked activation
Node-lock each license to a machine fingerprint and choose how many computers it can be activated on, so one key can't be shared around. Customers move a license by deactivating the old device.
Domain licensing for web apps
License WordPress plugins, themes, PHP scripts and self-hosted web apps per domain, with dedicated domain activation and validation endpoints.
Offline activation
Offline software activation for air-gapped and locked-down machines: customers submit a request code and you approve it from your dashboard.
Trials, expiry and revocation
Trial license keys, annual and lifetime licenses, or monthly subscription licenses. Revoke a key after a refund or chargeback and record the reason.
Customer license portal
Fewer "I lost my key" emails. Customers recover lost license keys, see their activations and read your notes in their own account.
License keys that stop working when the payments stop
Subscription license management for desktop apps, plugins and scripts sold on a monthly plan. Connect your own Stripe or PayPal account and every license key follows its subscription, so customers who cancel, charge back or let a card expire don't keep your software for free.
- Suspends automaticallyafter a failed payment, a refund, a chargeback, or when a cancelled subscription's paid month ends.
- Fair to good customersa grace period you choose while cards are retried, so nobody is locked out over a bank hiccup.
- Back on the moment they paythe license is reinstated as soon as the payment succeeds. No support ticket, no new key.
- Your payments stay yourskeep your own Stripe or PayPal account and checkout. Any other provider works through one API call.
- Nothing slips throughan hourly check suspends overdue licenses even if a payment notification is missed.
No changes to your app: a suspended key is refused by the same validate call you already use, with "status": "suspended" so you can show a "payment needed" message.
- Active1 MarchSubscription payment received
- Grace period1 AprilCard declined, retrying
- Suspended4 AprilStill unpaid
- Reinstated6 AprilCustomer updates their card
- Suspended20 MayPayment charged back
Add license key validation to any app with three API calls
Works with C# and .NET, C++, Python, Java, Electron and Node.js, PHP and anything else that can make an HTTPS request.
Generate
generate_license.php creates a license key when someone buys and returns it for your receipt email.
Activate
activate.php locks the key to the customer's device on first run and returns an activation token.
Validate
validate.php checks the license on start-up and catches expired, deactivated or unpaid subscription licenses.
# Python: activate on first run import requests, uuid, platform r = requests.post( "https://www.installationkey.com/api/activate.php", headers={"X-API-Key": API_KEY}, json={ "license_key": key, "hardware_id": str(uuid.getnode()), "computer_name": platform.node(), "app_version": "2.4.0", }, ).json() if r["activated"]: save_token(r["activation_token"]) else: show_error(r["message"]) # e.g. "Maximum number of activations reached"
One licensing API for desktop, web and plugins
Whatever you sell, your customers get a license key and your app gets a yes or no it can trust.
Windows and Mac desktop apps
Hardware-locked license keys for C#/.NET, C++, Delphi, Python and Electron apps, with online or offline activation.
WordPress plugins and themes
Per-site licensing with domain activation, so each license covers exactly the number of websites you sell.
PHP scripts and self-hosted web apps
Validate the license from your script's server and lock it to the customer's domain.
Games, tools and add-ins
Anything that can make an HTTPS request can activate and validate a license key.
Subscription software
Monthly plans sold through your own Stripe or PayPal account, with keys that follow each payment.
Trials and time-limited licenses
Trial license keys that expire on their own, plus annual and lifetime licenses for one-off sales.
Software licensing pricing that grows with your sales
Every plan includes the full license key API, online and offline activation and subscription licensing. Billed monthly, change or cancel any time.
Starter
For indie developers licensing their first app
- 1 product
- 250 active licenses
- 2 API keys
- 2 custom license types
- Subscription licensing with Stripe & PayPal
- Email support
Professional
For growing developers with multiple products
- 25 products
- 1,000 active licenses
- 5 API keys
- 10 custom license types
- Subscription licensing with Stripe & PayPal
- Priority email support
Business
For studios and publishers with a large catalogue
- Unlimited products
- 3,000 active licenses
- 15 API keys
- Unlimited custom license types
- Subscription licensing with Stripe & PayPal
- Priority support, 1 business day response
Need something different?
More active licenses or products than Business includes, a large back catalogue to migrate, or a specific requirement for your app? Tell us what you need and we'll put together a plan that fits.
Included in every plan
- License key generation API
- Hardware-locked desktop activation
- Domain activation for web apps and plugins
- Offline activation requests
- Monthly subscription licenses (Stripe and PayPal)
- Activation limits and expiry dates
- Customer self-service license portal
- Lost key recovery for your customers
Prices exclude VAT where applicable. Payments are processed securely by Stripe; we never see or store your card details.
Software licensing questions
What is a software licensing service?
A software licensing service issues license keys, checks them when your app runs and tracks which devices each key is activated on, so you do not have to build and host your own license server. Installation Key does this through a simple REST API, with a dashboard for you and a self-service portal for your customers.
How do I add license keys to my app?
Create a product in the developer portal and generate license keys from your checkout or payment webhook (or by hand). Then call activate.php on first run and validate.php each time your app starts. Most developers finish the integration in an afternoon using the copy-paste examples in the integration guide.
How does Installation Key stop license key sharing?
Each license has an activation limit. When your app activates a key it sends a hardware ID (or a domain name for web apps), and Installation Key refuses new activations once the limit is reached. Your app validates the activation token on start-up, so a copied key will not run on another machine.
Which programming languages are supported?
Any language that can send an HTTPS request with JSON: C# and .NET, VB.NET, C++, Delphi, Python, Java, Go, Rust, Electron and Node.js, PHP, WordPress plugins and more. The integration guide has copy-paste examples.
Can I license WordPress plugins, themes and PHP scripts?
Yes. Use domain licensing: your plugin, theme or script activates the license key for the site's domain and validates it periodically, and you decide how many sites each license covers.
Can I generate license keys automatically when a customer pays?
Yes. Call the license key generator endpoint from your checkout or payment webhook (Stripe, PayPal, Paddle, Gumroad, WooCommerce or your own store) and email the key to the buyer. You can also create keys by hand in the developer portal.
Do you support trial licenses, subscriptions and expiry dates?
Yes. Set an expiry date or a duration in days on any license type for trial and fixed-term licenses, or use a monthly subscription license type for software you sell on a recurring plan. When a license expires or a subscription stops being paid, validation fails and your app can prompt the customer to renew.
Can a license key stop working when a customer stops paying their subscription?
Yes. Subscription licenses stay active while monthly payments arrive and are suspended automatically when a payment fails (after a grace period you choose), is refunded or charged back, or when the customer cancels and their paid month ends. The moment they pay again the license is reinstated, with no action from you.
Does subscription licensing work with my own Stripe or PayPal account?
Yes. You keep your own Stripe or PayPal account and your own checkout. Add your Installation Key webhook URL in Stripe or PayPal, put the license key on the subscription, and every payment, failure, refund and cancellation updates the license automatically. Using another payment provider? Report payments with the subscription API instead.
What happens to my customers if I cancel?
Your API keys are paused when the subscription ends, so activation and validation calls from your apps will be refused. Resubscribe at any time and the same keys start working again with all your products and licenses intact.
Is there a contract?
No. Plans are billed monthly with no minimum term. Change plan or cancel from the developer portal at any time, and payments are processed securely by Stripe.
Can my customers manage their own licenses?
Yes. Your customers get a free account where they see every license issued to their email, check activations and expiry dates, read any deactivation reason you record, and recover lost license keys without emailing you.
Add software licensing to your app this week
Create an account, add your product and make your first license key activation in minutes.