format.halowerk.com/v1/bates-number
Apply consecutive Bates numbers (prefix + zero-padded counter + suffix) to every page of one or several PDFs, continuing across documents, with ranges per document. Stamps every page of the documents, in order, with a Bates label such as ACME000001 (pdf-lib, Helvetica) at a corner or edge of the visible page (CropBox; rotated pages get an upright label), optionally on a white box and with a legend
POST
https://format.halowerk.com/v1/bates-numberUptime100% of 4 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/bates-number", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"digits":6,"documents":[{"name":"contract.pdf","pdf_base64":"JVBERi0xLjcKJYGBgYEKCjUgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL1R5cGUgL09ialN0bQovTiA0Ci9GaXJzdCAyMAovTGVuZ3RoIDI1Nwo+PgpzdHJlYW0KeJzVUk1LxDAQvedXzFFPmaTZpCuloP24iLAsnpQ9hG1YCrKRtAX99840q+JBPBt45OO9SWbyRgGCBmOgAFeCgU2hoaqEfHx/DSB3/hQmIe/HYYJnYhH2cBCyict5BiXqWnxrGz/7l3gSOQgUiz8VuxSH5RgSVH3X94gOEa0hWETd0twQtgRNe+J0SWuCMxfQmSsQi1vi+gzrcg),
});
console.log(await res.json());Example input
{"digits":6,"documents":[{"name":"contract.pdf","pdf_base64":"JVBERi0xLjcKJYGBgYEKCjUgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL1R5cGUgL09ialN0bQovTiA0Ci9GaXJzdCAyMAovTGVuZ3RoIDI1Nwo+PgpzdHJlYW0KeJzVUk1LxDAQvedXzFFPmaTZpCuloP24iLAsnpQ9hG1YCrKRtAX99840q+JBPBt45OO9SWbyRgGCBmOgAFeCgU2hoaqEfHx/DSB3/hQmIe/HYYJnYhH2cBCyict5BiXqWnxrGz/7l3gSOQgUiz8VuxSH5RgSVH3X94gOEa0hWETd0twQtgRNe+J0SWuCMxfQmSsQi1vi+gzrcg