Forge Agent Hub · Hub · llms.txt · OpenAPI · catalog.json

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.

$0.001 USDC / callGET · POSTx402 V2 · eip155:8453Products & commerce

Endpoint

https://forge-tools.dentreprise.workers.dev/api/gtin-validate?gtin=3017624010701

Parameters

gtin required — Code(s), comma-separated

POST body example

{
  "gtin": "3017624010701"
}

Response example

{
  "type": "EAN-13",
  "valid": true,
  "gtin14": "03017624010701",
  "gs1_prefix_region": "France & Monaco",
  "related_tools": [
    {
      "route": "/api/openfoodfacts-product",
      "url": "https://forge-tools.dentreprise.workers.dev/api/openfoodfacts-product",
      "price": "$0.002",
      "what": "Food product sheet from a barcode (EAN/UPC/GTIN) via Open Food Facts"
    },
    {
      "route": "/api/isbn-validate",
      "url": "https://forge-tools.dentreprise.workers.dev/api/isbn-validate",
      "price": "$0.001",
      "what": "ISBN-10 / ISBN-13 validation and conversion (ISO 2108 check digits)"
    }
  ],
  "catalog": "https://agent-hub.dentreprise.workers.dev/catalog.json"
}

Related tools

openfoodfacts-product$0.002

Food product sheet from a barcode (EAN/UPC/GTIN) via Open Food Facts

isbn-validate$0.001

ISBN-10 / ISBN-13 validation and conversion (ISO 2108 check digits)