Skip to content
Utilerio
All endpoints

GS1 Barcode Parser

POST/api/v1/tools/gs1-parser

Decode GS1 Application Identifiers from raw or bracketed barcode data — GTIN, batch, dates, serial and more.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/gs1-parser

Parameters

inputstringrequired

GS1 element string to parse — bracketed AI format like (01)... or raw scanner data.

Request body

{
  "input": "(01)12345678901231(17)251231(10)ABC123"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/gs1-parser \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":"(01)12345678901231(17)251231(10)ABC123"}'

Response

{ "fields": [{ "ai": "01", "name": "GTIN (Global Trade Item Number)", "rawValue": "12345678901231" }, { "ai": "17", "name": "Expiration date", "rawValue": "251231", "displayValue": "2025-12-31" }], "unrecognized": [] }