Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/id-block

Hands out strictly increasing integer blocks from a named sequence (1-1000 ids per call) so parallel agents never issue the same invoice, ticket or order number. Numbers are never reused. Not gapless: a block an agent reserves and never uses stays a gap, and if your call's payment fails after the block is written the same requestId returns that same block on retry. Legally gapless series must be a

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/id-block

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/id-block", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"op":"next","count":10,"sequence":"invoice:2026","requestId":"billing-run-2026-11-04"}),
});
console.log(await res.json());

Example input

{
  "op": "next",
  "count": 10,
  "sequence": "invoice:2026",
  "requestId": "billing-run-2026-11-04"
}