HTML for people
Accept: text/html
The passport page in the browser language or with an explicit ?lang=en. The same page a customer sees after scanning the code.
The same address a customer scans returns data to a machine. All it takes is an Accept header. One identifier and two representations, as EN 18221 requires. None of the providers we checked has this today.
curl -H "Accept: application/json" \ https://dppera.com/01/05901234123457/10/2026-08-A { "public_id": "7f3ac21", "url": "https://dppera.com/01/05901234123457/10/2026-08-A", "did": "did:web:dppera.com:p:7f3ac21", "gtin": "05901234123457", "batch": "2026-08-A", "granularity": "batch", "product_name": "Płaszcz wełniany 03", "brand": "Northwind Apparel", "category": "textile", "data": { "composition": "Wełna merino - 100%", ... }, "documents": [ { "kind": "declaration", "href": "https://dppera.com/d/…" } ], "published_at": "2026-08-14T09:12:00Z" }
This is how a GS1 Digital Link conformant resolver works and what EN 18221 asks for: one identifier, and the client says what it can read.
Accept: text/html
The passport page in the browser language or with an explicit ?lang=en. The same page a customer sees after scanning the code.
Accept: application/json
An extract of the public record fields: identifiers, product, composition, responsible operator, documents, publication date. ?format=json works too.
?linkType=linkset
A link list per the GS1-Conformant Resolver Standard 1.2.0 and RFC 9264, with the gs1:dpp type. Also via Accept: application/linkset+json. Every response carries a Link header pointing at the linkset.
Reading is public, because a passport is public by definition. Writing and account export require a panel login.
public_idthe permanent passport identifier, the same as in the QR code and the DIDurl, didthe canonical address and the did:web identifiergtin, variant, batch, serialthe GS1 identifiers present at the given levelgranularity, model_idthe identification level (model, batch, item) and the model identifierproduct_name, brand, categoryname, brand and product groupdatacomposition, origin, care, durability, substances, warranty, manufacturerdocuments[]id, kind, title, filename, content_type, size_bytes, mandatory, hrefpublished_atpublication date of this version