Quick start
Live in under 5 minutes.
Paste one snippet into your page. The sandbox key below gives you live signals immediately — no signup required.
Sandbox tenant key
lx_demo_f35d9a9ff473ba61e4648063
Free · 1,000 calls · Real signals · Results at app.leonix.io
Paste before </body>
<script src="https://cdn.leonix.io/fraudwidgetV1.js" data-tenant-key="lx_demo_f35d9a9ff473ba61e4648063" data-api-base="https://fraud-engine-prod-v3-794477191755.us-central1.run.app" data-fpjs-public-key="lybk8D8ZmpCZhhwO8gvZ" data-fpjs-endpoint="https://cdn.leonix.io/fpjs"> </script>
Optional — react to the decision
Listen for fraudengine:ready to take action on your page.
Listen for result
window.addEventListener('fraudengine:ready', (e) => {
const { decision, score, reasons } = e.detail;
if (decision === 'block') {
// hide checkout, redirect, etc.
}
if (decision === 'review') {
// trigger step-up auth
}
});
Response shape
{
"decision": "block",
"risk_score": 0.92,
"reasons": [
"R24_BAD_BOT",
"R28_ANTI_DETECT_OR_NODRIVER"
],
"agent": {
"scenario_type": "bot_signup",
"severity": "critical",
"recommended_action": "block_and_flag"
}
}
