Niilox API

Skip to main content

Communication that still works
on weak networks.

Video · Voice · Messaging APIs

import { createNiiloxClient } from '@niilox/sdk'

const client = createNiiloxClient({ appId, token })
const call = client.peer.createSession(room, 'peer')
// video → audio before the call drops

What you get

  • Video

    Falls back to audio before the call drops.

  • Messaging

    Realtime chat on weak networks.

  • Voice

    Clean audio when video cannot hold.

Stream health monitor — catch idle rooms before users feel it.


Proof

Tern

We built Tern on Niilox 493 KB, runs on 2G.


Why Niilox

  • Auto-adaptive

    Video becomes audio before the call drops.

  • Realtime

    Messaging and live video together.

  • Proven

    Tested on 2G in Africa and Southeast Asia.

  • Developer first

    REST, SDKs, examples. Start free.


Built for developers

  • npm
  • Go
  • Rust
  • Swift
  • Kotlin
  • Flutter

Niilox API platform capabilities

Multi-tenant B2B API for adaptive WebRTC P2P video, live streaming, realtime messaging, push, SMS, PSTN voice, phone numbers, auth, and payments — built for 2G.

  • Adaptive WebRTC & live video

    P2P calls and live rooms with an auto-adaptive layer — video switches to clean audio on poor links instead of freezing or breaking.

  • Stream health monitor

    LiveKit SFU idle signals (host alone or zero viewers, not chat): WebSocket still-live prompts, rate-limited host heartbeat, reconnect replay, and auto-end on idle_timeout.

  • Realtime messaging

    DMs, typing indicators, presence, room chat, and personal feeds over WebSockets.

  • Geo safety ping

    Live GPS pings on active gigs — geofence check-in, location trails, and alerts when a worker leaves the site.

  • Voice & SMS

    Dedicated phone numbers, outbound PSTN dial, inbound forwarding, and transactional SMS — telecom access request in the portal.

  • Auth & identity

    Phone OTP, Google and Apple sign-in, WebAuthn passkeys, magic links, ID verification.

  • Payments & wallet

    Checkout, token packs, mobile IAP, payouts, and multi-currency wallet.

  • Platform primitives

    Per-tenant API keys, usage metering, push, media storage, and scoped SQL console.

Number marketplace · Stream health monitor · llms.txt