GTIN Product Lookup
Decode and validate a product barcode (GTIN / UPC-A / EAN-13 / EAN-8 / GTIN-14 / ISBN-13 / ISSN). Returns the GS1 mod-10 check-digit validation (valid flag + expected digit — an LLM can't reliably compute this), the symbology, the zero-padded GTIN-14 canonical form, and the GS1 prefix decoded to the issuing GS1 member organisation and its country (NOTE: that's the country of the org that issued the prefix, not necessarily where the item was made). Flags restricted-distribution (in-store/variable-measure) prefixes and Bookland (ISBN) / serial (ISSN) ranges. Also attempts a FRESH best-effort product-identity lookup (name, brand, category, image) across the open Open Food/Beauty/Products/Pet Food Facts federation (ODbL) — reliable for food, beverage, and beauty items, sparse for general retail (electronics/apparel), and may be null. Always live (no caching). Set identity=false to skip the lookup and decode only.
Offering
- Provider
- 2s.io
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Business And Commerce
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://2s.io/api/product/gtin- MIME type
- application/json
- First seen
- 2026-10-16T01:59:37.852Z
- Last seen
- Tags
- public-records, identifiers, AI-agents, us-gov-data, X402, upto-billing, ai-gateway, agent-infrastructure
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.0036 USDC
Atomic price: 3600 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.0036 USDC
Atomic price: 3600 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3600",
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3600",
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn"
}
]Observed health
- Status
- Healthy
- Latest latency
- 106 ms
- Average latency
- 304 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": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"gtin": {
"type": "string",
"description": "Barcode digits — UPC-A (12), EAN-13 (13), EAN-8 (8), GTIN-14 (14), or ISBN-13. Spaces/hyphens are stripped."
},
"identity": {
"type": "boolean",
"description": "Look up live product identity in the open federation (default true). false = decode only."
}
},
"required": [
"gtin"
]
}
},
"required": [
"type",
"method",
"queryParams"
]
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"properties": {
"gtin": {
"type": "string",
"description": "Barcode digits — UPC-A (12), EAN-13 (13), EAN-8 (8), GTIN-14 (14), or ISBN-13. Spaces/hyphens are stripped."
},
"identity": {
"type": "boolean",
"description": "Look up live product identity in the open federation (default true). false = decode only."
}
},
"required": [
"gtin"
]
}
},
"required": [
"type",
"method",
"queryParams"
]
}
},
"required": [
"input"
]
}