2s
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.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "PAYMENT-SIGNATURE required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"amount": "3600",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"name": "USDC",
"version": "1",
"feePayer": "Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"
},
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"amount": "3600",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 60
}
],
"resource": {
"url": "https://2s.io/api/product/gtin",
"tags": [
"public-records",
"identifiers",
"ai-agents",
"us-gov-data",
"x402",
"upto-billing",
"ai-gateway",
"agent-infrastructure"
],
"iconUrl": "https://2s.io/icon-512.png",
"mimeType": "application/json",
"description": "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.",
"serviceName": "2s"
},
"extensions": {
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"gtin": "049000042566"
}
},
"output": {
"type": "json",
"schema": {
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"gtin": {
"type": "string"
},
"isbn": {},
"note": {
"type": "string"
},
"input": {
"type": "string"
},
"valid": {
"type": "boolean"
},
"gtin14": {
"type": "string"
},
"identity": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"brand": {
"type": "string"
},
"found": {
"type": "boolean"
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"license": {
"type": "string"
},
"provider": {
"type": "string"
}
}
},
"dataset": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"quantity": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"gs1Prefix": {
"type": "string"
},
"symbology": {
"type": "string"
},
"checkDigit": {
"type": "object",
"properties": {
"given": {
"type": "integer"
},
"expected": {
"type": "integer"
}
}
},
"issuingOrg": {
"type": "string"
},
"issuingCountry": {
"type": "string"
},
"restrictedDistribution": {
"type": "boolean"
}
}
}
},
"total": {
"type": "integer"
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"license": {
"type": "string"
},
"provider": {
"type": "string"
}
}
}
}
},
"example": {
"ok": true,
"items": [
{
"gtin": "049000042566",
"isbn": null,
"note": "issuingCountry is the country of the GS1 member organisation that ISSUED the prefix — NOT necessarily where the product was manufactured.",
"input": "049000042566",
"valid": true,
"gtin14": "00049000042566",
"identity": {
"name": "Coca-Cola Zero Sugar",
"brand": "Coca-Cola",
"found": true,
"source": {
"url": "https://world.openfoodfacts.org/",
"license": "ODbL 1.0",
"provider": "Open Food Facts federation"
},
"dataset": "Open Food Facts",
"imageUrl": "https://…",
"quantity": "12 fl oz",
"categories": [
"en:beverages"
]
},
"gs1Prefix": "004",
"symbology": "UPC-A (GTIN-12)",
"checkDigit": {
"given": 6,
"expected": 6
},
"issuingOrg": "GS1 US",
"issuingCountry": "US",
"restrictedDistribution": false
}
],
"total": 1,
"source": {
"url": "https://www.gs1.org/standards/id-keys/company-prefix",
"license": "Public reference data (GS1 prefix allocation table).",
"provider": "GS1 General Specifications (GS1 Company Prefix / country-code list)"
}
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"queryParams"
],
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"required": [
"gtin"
],
"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."
}
}
}
}
},
"output": {
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"gtin": {
"type": "string"
},
"isbn": {},
"note": {
"type": "string"
},
"input": {
"type": "string"
},
"valid": {
"type": "boolean"
},
"gtin14": {
"type": "string"
},
"identity": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"brand": {
"type": "string"
},
"found": {
"type": "boolean"
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"license": {
"type": "string"
},
"provider": {
"type": "string"
}
}
},
"dataset": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"quantity": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"gs1Prefix": {
"type": "string"
},
"symbology": {
"type": "string"
},
"checkDigit": {
"type": "object",
"properties": {
"given": {
"type": "integer"
},
"expected": {
"type": "integer"
}
}
},
"issuingOrg": {
"type": "string"
},
"issuingCountry": {
"type": "string"
},
"restrictedDistribution": {
"type": "boolean"
}
}
}
},
"total": {
"type": "integer"
},
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"license": {
"type": "string"
},
"provider": {
"type": "string"
}
}
}
}
}
}
}
}
},
"x402Version": 2
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.00144 USDC on Base to 0x2b6D…C32C5. The signed payment is good for 1 minute.
- Paid to
- 0x2b6D…C32C5
- USD Coin contract
- 0x8335…02913
- Payment window
- 1 minute
- As published
- 1440 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- TW6nta…cyWhn
- Token contract
- EPjFWd…TDt1v
- Payment window
- 1 minute
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x2b6D4988Db4723E6908Db86Ab2b8dFBc51FC32C5",
"amount": "1440",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"name": "USDC",
"version": "1",
"feePayer": "BENrLoUbndxoNMUS5JXApGMtNykLjFXXixMtpDwDR9SP"
},
"payTo": "TW6ntaGzvj63ZgPjszd4FCGmVTGfzv1MAYZbjYcyWhn",
"amount": "1440",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 60
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"gtin": "049000042566"
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"queryParams"
],
"properties": {
"type": {
"const": "http"
},
"method": {
"const": "GET"
},
"queryParams": {
"required": [
"gtin"
],
"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."
}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-07-01 04:18Z
- Last indexed by Roundhouse
- 2026-07-30 11:50Z
- Last enriched (probe, favicon, geo)
- 2026-09-23 15:45Z
- x402 version
- 2
- Max timeout
- 60s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service 2s and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=2s' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://2s.io/api/product/gtin, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402, or use an organization key from https://roundhouseai.io/dashboard/team. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.