Get started

Wayleave Meter

See every agent request. Count every dollar.

Wayleave Meter records what crossed your app and what settled. Connect the middleware with one API key and see traffic split into verified agents, declared agents, suspected bots and humans — then turn what you learn into policies.

What's in the dashboard

  • Traffic — requests over time by lane.
  • Identities — which agent operators crossed, and whether they were verified.
  • Routes — which endpoints agents hit most.
  • Policies — allow, deny, rate-limit or price, published as a signed policy.
  • Revenue — HTTP 402 payments per route and agent.
  • Logs — every decision Wayleave made, with its evidence.

Observe before you enforce

The recommended start is observe-only: add the middleware with a Meter key, no blocking and no pricing. Once you know which agents hit which routes, decide which deserve rules or a price.

Privacy

Meter's public statistics expose aggregate totals only — no identities, paths, customers or amounts.

Connect Meter in one line

npm install wayleave

import Wayleave from 'wayleave';

const gate = new Wayleave({
  meter: { apiKey: process.env.WAYLEAVE_METER_KEY },
});
app.use(gate.express()); // before the routes you want to observe

Questions

Does signing in to Meter start billing?

No. Signing in does not start billing; see pricing for plans.

Can I use Wayleave without Meter?

Yes. Omit the meter option and use the onEvent hook to send events to your own backend.

Related

Identify. Control. Monetize.

Humans browse free. Agents pay their way.