Skip to main content
darkmeter

Product · SDK and API

Three calls. Your code stays in charge.

A browser SDK produces a device token. Your backend calls Darkmeter to check a login, gate a request, and report what it used.

import { Darkmeter } from "@darkmeter/js";

const dm = await Darkmeter.load({ key: "dm_pub_..." });
const { deviceToken } = await dm.identify();

// Send deviceToken to your backend with each login

Preview of the planned SDK. Names may change.

Questions

Build Darkmeter with us.

We are working with a small group of AI teams. Tell us about your free tier and what it costs you.