Gtin Validate
Validate a product barcode number's GS1 check digit: GTIN-8 (EAN-8), GTIN-12 (UPC-A), GTIN-13 (EAN-13, including ISBN-13 and ISSN prefixes) or GTIN-14, with the expected check digit and the 14-digit form. Spaces and hyphens ignored. Pairs with /api/barcode-lookup.
POST https://agent402.tools/api/gtin-validate
0.001 USDC on Base · payTo 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"code": "4006381333931"
}{
"alias": "EAN-13",
"checkDigit": 1,
"expectedCheckDigit": 1,
"format": "GTIN-13",
"gtin14": "04006381333931",
"prefix": null,
"valid": true
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://agent402.tools/api/gtin-validate · input in body · spec from live-challenge
Input schema
{
"properties": {
"code": {
"type": "string",
"maxLength": 64,
"description": "8, 12, 13 or 14 digits"
}
},
"required": [
"code"
]
}Output schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"format": {
"type": "string"
},
"alias": {
"type": "string"
},
"checkDigit": {
"type": "number"
},
"expectedCheckDigit": {
"type": "number"
},
"gtin14": {
"type": "string"
},
"prefix": {}
},
"required": [
"valid",
"format",
"alias",
"checkDigit",
"expectedCheckDigit",
"gtin14"
]
}curl -i -X POST 'https://agent402.tools/api/gtin-validate' \
-H 'content-type: application/json' -d '{"code":"4006381333931"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs