Decode a GS1-compressed Digital Link path segment
Decode the compressed form of a Digital Link (the single opaque path segment produced by GS1’s compression scheme) back into its Application Identifiers, plus the equivalent uncompressed path.
An undecodable segment is a 200 with is_valid: false and the reason — the same triage contract as /validate.
The inverse direction (compressing an uncompressed URI) is not yet implemented; the engine behind this endpoint is decode-only.
Keyless — no API key, no signup. IP-throttled at 300 requests/minute and cached at the edge for 24h, so repeat calls for the same input do not reach origin. Over-rate callers get a 429 with a Retry-After header and a retry_after field — it never silently degrades or returns a wrong answer under load.
Query Parameters
The compressed Digital Link path segment (GS1 base64 alphabet), e.g. CxFKk4awWMhZyepCypCI--g.
1 - 4096Response
OK
Decoded contents of a GS1-compressed Digital Link path segment.
The input segment, echoed back unchanged.
True when the segment decoded to a well-formed GS1 AI set.
Why decoding failed, or null on success.
Decoded {ai_code: value} pairs in canonical GS1 order (identifier, qualifiers, then attributes).
Any decoded non-GS1 query-string parameters carried in the compressed payload.
The equivalent uncompressed, root-relative Digital Link path, or null when decoding failed.