Built for developers who need reliable authentication
Get started in minutes
Sign up and create your first application. Get your unique API key instantly.
Create license keys with custom settings like expiration dates and usage limits.
Add our API to your application and start authenticating users in minutes.
Works with any programming language
import requests
import hashlib
import platform
# Get hardware ID
def get_hwid():
return hashlib.sha256(
platform.node().encode()
).hexdigest()
# Initialize license
response = requests.post(
"https://lockence.com/api/v1/init",
json={
"api_key": "your_api_key",
"license_key": "XXXXX-XXXXX-XXXXX-XXXXX",
"hwid": get_hwid()
}
)
if response.json()["success"]:
session_token = response.json()["session_token"]
print("Authentication successful!")
else:
print("Authentication failed:", response.json()["message"])
Start free, scale as you grow