Api Endpoint

GTIN Check

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.

Open interactive test console

Offering

Provider
data.greeneris.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://data.greeneris.io/v1/logistics/gtin-check
MIME type
application/json
First seen
2026-10-16T01:50:14.534Z
Last seen
Tags
logistics, gtin, ean, upc, barcode, Validation

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff"
  }
]

Observed health

Status
Healthy
Latest latency
98 ms
Average latency
252 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "required": [
        "gtin"
      ],
      "properties": {
        "gtin": {
          "type": "string",
          "description": "Barcode number: 8, 12, 13 or 14 digits (spaces/dashes tolerated)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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