forge-tools.dentreprise.workers.dev/api/gtin-validate
GTIN / EAN-8 / EAN-13 / UPC-A / UPC-E / GTIN-14 validation and normalisation (GS1 check digit): type, expected check digit, corrected code, GTIN-14 and EAN-13 forms, GS1 prefix region, book/coupon flags. Up to 100 codes per call.
POST
https://forge-tools.dentreprise.workers.dev/api/gtin-validateUptime100% of 2 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://forge-tools.dentreprise.workers.dev/api/gtin-validate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"gtin":"3017624010701"}),
});
console.log(await res.json());Example input
{
"gtin": "3017624010701"
}