Documentation

API Documentation &
Integration Guide

Everything you need to integrate LiteSOC into your application. From quick start guides to complete API references.

Recommended

Install our SDKs

The fastest way to integrate LiteSOC. Our official SDKs handle batching, retries, and provide type-safe convenience methods.

Node.js / TypeScript
npm install litesoc
View on NPM
Python
pip install litesoc
View on PyPI
PHP / Laravel
composer require litesoc/litesoc-php
View on Packagist

Using Go, Ruby, Rust, or another language? See raw API examples →

Simple Integration

Start tracking events in minutes

Our REST API is designed to be simple and intuitive. Send your first security event with a single API call.

  • Official SDKs for Node.js, Python, and PHP
  • RESTful API with JSON payloads
  • Auto GeoIP enrichment with country, city & coordinates
  • Network Intelligence: VPN, Tor, Proxy & Datacenter detection
  • Event Forensics UI with interactive maps & details
View Full Documentation
example.ts
// Using the official SDK (recommended)
import { LiteSOC } from 'litesoc';

const litesoc = new LiteSOC('YOUR_API_KEY');

// Track a security event
litesoc.track('auth.login_success', {
  actorId: 'user_123',
  actorEmail: 'user@example.com',
  userIp: request.ip,
  metadata: { method: 'password' }
});

// Use convenience methods
litesoc.trackLoginFailed('user_123', { userIp: request.ip });

Ready to get started?

Create your free account and start monitoring security events in under 5 minutes.