gtin_validate
Validate and normalize GTIN, EAN, and UPC codes using GS1 check digits, returning corrected codes, GTIN-14/EAN-13 forms, and region data for up to 100 codes per call.
Instructions
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. Costs 0.001 USDC on Base per successful call (x402). Without a payment key this tool returns the 402 challenge.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"gtin": "<gtin>"
},
"name": "gtin_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtin | Yes | Code(s), comma-separated |