Skip to content
PricingDocs

Developer Experience

Built by Engineers, for Engineers

Three lines of code to production-grade device identification. No config files, no build steps, no vendor lock-in.

Quick Start

From zero to device fingerprint in three lines. Works with any JavaScript framework.

app.js
// 1. Install
npm install @tracio/js-agent
// 2. Initialize
import { Tracio } from '@tracio/js-agent'
const tracio = await Tracio.load({ apiKey: 'your_key' })
// 3. Identify
const { visitorId, confidence } = await tracio.identify()

SDK Matrix

Official SDKs for every major language. All open-source, all typed.

JSJavaScriptnpm install @tracio/js-agent
PYPythonpip install tracio
GOGogo get github.com/tracio/tracio-go
RBRubygem install tracio
PHPPHPcomposer require tracio/tracio-php

API Features

Everything you need for production integration. No surprises.

Webhooks

Real-time event notifications to your server. Configure per-event type filtering, retry logic, and signature verification.

Rate Limits

Generous rate limits with clear headers. 1,000 req/min on Pro, 10,000 on Enterprise. Burst support for traffic spikes.

Batch API

Process up to 500 identification requests in a single batch call. Ideal for back-filling historical data or bulk analysis.

Streaming

Server-sent events for real-time fraud monitoring. Subscribe to identification events as they happen across your traffic.

API in Action

Real request/response examples. Copy, paste, ship.

Server-Side Identification

$ curl -X POST https://api.tracio.ai/v1/identify \
-H "Authorization: Bearer ak_live_***" \
-H "Content-Type: application/json" \
-d '{"requestId": "req_abc123"}'
{
"visitorId": "v_8f2k4n...",
"confidence": 0.994,
"signals": 146,
"riskScore": 0.12,
"bot": { "detected": false }
}

Event History

$ curl https://api.tracio.ai/v1/events?visitor_id=v_8f2k4n \
-H "Authorization: Bearer ak_live_***"
{
"events": [
{ "ts": "2026-03-16T14:22:01Z", "ip": "203.0.113.42", "url": "/login" },
{ "ts": "2026-03-16T14:22:15Z", "ip": "203.0.113.42", "url": "/dashboard" }
],
"totalSessions": 14,
"firstSeen": "2026-02-01T08:11:00Z"
}

Open Source, Open Process

Our SDKs are open-source. Report bugs, submit PRs, or just read the code. Transparency is a feature.