EAN and GTIN Barcode Prefix Issuer Lookup (Smartatest.se)
smartatest/ean-prefix
Reads the prefix of an EAN or GTIN barcode number (8, 12, 13 or 14 digits), from Smartatest.se: the first digits, whether the check digit is valid, whether it is a UPC-A read with a leading zero, and which GS1 organisation issued the number block (organisation, country, prefix range and a note such as ISBN for 978 and 979). The prefix names the GS1 member that handed out the number, not where the item was made. Swedish field names and text are passed through as the source wrote them. A code of the wrong length or with non-digits is refused as VALIDATION. Data: smartatest.se (CC BY 4.0), served by Eden Engine; not an official Smartatest.se product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Data: smartatest.se (https://smartatest.se/api), published under CC BY 4.0. Served by Eden Engine; not an official Smartatest.se product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "smartatest/ean-prefix" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "smartatest/ean-prefix" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "smartatest/ean-prefix", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "smartatest/ean-prefix", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 25, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"kod"
],
"properties": {
"kod": {
"type": "string",
"pattern": "^([0-9]{8}|[0-9]{12,14})$",
"description": "The barcode number as digits only, 8, 12, 13 or 14 long, for example 7350053850019."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"endpoint",
"data",
"dokumentation"
],
"properties": {
"data": {
"type": "object",
"required": [
"siffror",
"prefix",
"kontrollsiffraGiltig",
"lastSomUpcMedNolla",
"traff",
"utfardare",
"anmarkning"
],
"properties": {
"traff": {
"type": "boolean",
"description": "Whether the prefix matched a known block."
},
"prefix": {
"type": "string",
"description": "The leading prefix used for the lookup."
},
"siffror": {
"type": "string",
"description": "The digits as read."
},
"utfardare": {
"type": "object",
"required": [
"organisation",
"land",
"intervall",
"notering"
],
"properties": {
"land": {
"type": [
"string",
"null"
]
},
"notering": {
"type": [
"string",
"null"
]
},
"intervall": {
"type": "object",
"required": [
"fran",
"till"
],
"properties": {
"fran": {
"type": "string"
},
"till": {
"type": "string"
}
},
"description": "The prefix range of the block: fran (from) and till (to).",
"additionalProperties": true
},
"organisation": {
"type": [
"string",
"null"
]
}
},
"description": "The issuing block: organisation and country (null for blocks such as ISBN), the prefix range and a note.",
"additionalProperties": true
},
"anmarkning": {
"type": "string",
"description": "Note from the source, in Swedish."
},
"lastSomUpcMedNolla": {
"type": "boolean",
"description": "Whether the number was read as a UPC-A with a leading zero."
},
"kontrollsiffraGiltig": {
"type": "boolean",
"description": "Whether the check digit is valid."
}
},
"description": "The barcode reading.",
"additionalProperties": true
},
"endpoint": {
"type": "string",
"description": "Name of the source endpoint."
},
"dokumentation": {
"type": "string",
"description": "URL of the source's documentation for this endpoint."
}
},
"description": "The reading as `data` (digits, prefix, check-digit validity, matched block and note), the source endpoint name and its documentation URL.",
"additionalProperties": true
}