Everything in KRIN is an API call

One REST API for advertisers, publishers and AI agents.

Opens at launch. This page shows how it works.

pause-offer.tsExample
import { Krin } from "@krin/sdk";

const krin = new Krin({ apiKey }); // a secret key from your server

// Dry run: the would-be result and a diff, nothing applied
const preview = await krin.advertiser.offers.pause("ofr_...", { dryRun: true });
console.log(preview.diff);

// Every conversion, page by page
for await (const c of krin.publisher.conversions.list()) {
  report(c);
}

In short

One REST API for advertisers, publishers and AI agents, described in OpenAPI 3.1. Writes take an idempotency key, money is in integer micro-dollars, and every postback is signed.

One API for both sides of KRIN

  1. 01

    Described in OpenAPI 3.1, with a reference at docs.krin.io.

  2. 02

    Idempotency keys on every write.

  3. 03

    Money in integer micro-dollars.

  4. 04

    A Sandbox mode with test keys that never move money.

Straight answers

Is there a Sandbox?

Yes. Sandbox is a mode of your account on the same API, with test keys, test offers and test conversions that never move money.

Can I draw my own offer wall?

Yes. The headless Offer API returns offers already ranked for each user, with progress, in the same shapes as the hosted wall.

Where is the reference?

At docs.krin.io, generated from the same OpenAPI file the API runs on, with a Markdown copy of every page for coding agents.

Start as an advertiser or as a publisher

Create an account and start in Sandbox. Live campaigns and walls go through review first.

Last updated: