E

eu-verify · Logistics Gtin Check

by eu-verify

GETBase

$0.001

per call · USD Coin on Base

Offline validation of product barcode numbers: EAN-8, UPC-A, EAN-13 and GTIN-14, using the GS1 mod-10 weighted checksum. Catches corrupted GTINs in supplier catalogs before marketplace publication (Amazon/Google reject invalid GTINs). Query: ?gtin=4006381333931. Returns valid flag, detected format, GS1 member-org prefix and the computed check digit. Deterministic, cached 1 year.

Endpoint

GET https://data.greeneris.io/v1/logistics/gtin-check

2

Calls / 30d

2

Unique payers / 30d

Aug 27

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://data.greeneris.io/v1/logistics/gtin-check", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://data.greeneris.io/v1/logistics/gtin-check?gtin=4006381333931" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "check_digit": 1,
  "computed_check_digit": 1,
  "format": "EAN-13",
  "gs1_prefix": "400",
  "gtin": "4006381333931",
  "source": "GS1 mod-10 check-digit algorithm (offline, structure + checksum only)",
  "valid": true
}

Payment details

Pay to0x6ab8efe305cce67daa48c97bde29c04402822dff
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from eu-verify & similar services