Skip to content
HALOWERK

Textwerk

product code extract

Finds digit sequences of GTIN-8/12/13/14 length (spaces and hyphens allowed) and validates the check digit per GS1 General Specifications 7.9 (weights 3/1); ISBN-13 (978/979) and ISBN-10 (mod 11, X), ISSN (mod 11, ISO 3297), PZN-8 (IFA rule: weights 1-7, mod 11, remainder 10 not issued) and ASIN (B0 + 8 characters, only with label). Article, part, order and model numbers are taken only after labels such as Art.-Nr., SKU, MPN, HAN, P/N, Modell, Typ; customs tariff numbers after.

POST https://text.halowerk.com/v1/product-code-extract

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
only_validbooleanNoDrop codes whose check digit is wrong.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000
    },
    "only_valid": {
      "type": "boolean",
      "default": false,
      "description": "Drop codes whose check digit is wrong."
    }
  }
}

Open original schema

Published input example

{
  "text": "EAN 4006381333931, ISBN 978-3-16-148410-0, PZN 27580899, Art.-Nr. AB-1234/56"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →