TIP
Enable Hash Check on your app in Panel → Settings. Clients must send this MD5 on
init — see Anti-Tamper.Seller API · GET / POST
Add Application Hash
Add an MD5 hash to the application whitelist so clients with Hash Check enabled can run. Ideal for Discord bot automation after each build.
Parameters
sellerkey
string
required Example:
YOUR_SELLER_KEYSeller API key from Panel → Seller API
type
string
required Example:
addhashRequest action
app
integer
required Example:
1Application ID (numeric)
hash
string
required Example:
d41d8cd98f00b204e9800998ecf8427e32-character lowercase MD5 hex of compiled binary
Request Code Samples
GET query string or POST form body — both work. Discord bots typically use GET with fetch().
Shell
curl -G 'https://libreauth.nutexe.dev/seller-api/' \
--data-urlencode 'sellerkey=YOUR_SELLER_KEY' \
--data-urlencode 'type=addhash' \
--data-urlencode 'app=1' \
--data-urlencode 'hash=d41d8cd98f00b204e9800998ecf8427e'
PHP
<?php
$q = http_build_query([
'sellerkey' => 'YOUR_SELLER_KEY',
'type' => 'addhash',
'app' => '1',
'hash' => 'd41d8cd98f00b204e9800998ecf8427e'
]);
echo file_get_contents('https://libreauth.nutexe.dev/seller-api/?' . $q);
Python
import requests
params = {
'sellerkey': 'YOUR_SELLER_KEY',
'type': 'addhash',
'app': '1',
'hash': 'd41d8cd98f00b204e9800998ecf8427e',
}
r = requests.get('https://libreauth.nutexe.dev/seller-api/', params=params)
print(r.json())
HTTP
GET /seller-api/?sellerkey=YOUR_SELLER_KEY&type=addhash&app=1&hash=d41d8cd98f00b204e9800998ecf8427e HTTP/1.1
Host: libreauth.nutexe.dev
JavaScript
const params = new URLSearchParams({
sellerkey: 'YOUR_SELLER_KEY',
type: 'addhash',
app: '1',
hash: 'd41d8cd98f00b204e9800998ecf8427e'
});
const res = await fetch('https://libreauth.nutexe.dev/seller-api/?' + params.toString());
const data = await res.json();
console.log(data);
TypeScript
const params = new URLSearchParams({
sellerkey: 'YOUR_SELLER_KEY',
type: 'addhash',
app: '1',
hash: 'd41d8cd98f00b204e9800998ecf8427e'
});
const res = await fetch('https://libreauth.nutexe.dev/seller-api/?' + params.toString());
const data = await res.json();
console.log(data);
Discord.js
// discord.js v14 — slash command /addhash
import { SlashCommandBuilder } from 'discord.js';
const SELLER_KEY = process.env.SELLER_KEY;
const APP_ID = '1';
const BASE = 'https://libreauth.nutexe.dev/seller-api/';
export const data = new SlashCommandBuilder()
.setName('addhash')
.setDescription('Add MD5 hash to app whitelist')
.addStringOption(o => o.setName('hash').setDescription('32-char MD5').setRequired(true));
export async function execute(interaction) {
const hash = interaction.options.getString('hash', true).toLowerCase();
const qs = new URLSearchParams({ sellerkey: SELLER_KEY, type: 'addhash', app: APP_ID, hash });
const res = await fetch(`${BASE}?${qs}`);
const body = await res.json();
if (!body.success) {
return interaction.reply({ content: `Failed: ${body.message}`, ephemeral: true });
}
await interaction.reply({ content: `Hash added — ${body.hashes?.length ?? 0} total`, ephemeral: true });
}
Responses
application/json · object
{
"success": true,
"message": "Hash added",
"file_hash": "d41d8cd98f00b204e9800998ecf8427e",
"hashes": [{ "id": 1, "hash_val": "d41d8cd98f00b204e9800998ecf8427e" }]
}
application/json · object
{
"success": false,
"message": "Invalid MD5"
}
Common Errors
| Message | How to fix |
|---|---|
Invalid MD5 | Hash must be exactly 32 hex characters (MD5 of exe) |