Catalog/encoding-ulid-parse

Encoding

Parse ULID timestamp API

Parses a 26-char ULID, decoding the leading 48-bit Crockford-base32 timestamp into epoch-ms and ISO time and isolating the 80-bit randomness suffix. Answers 'When was this ULID created?', 'Extract the timestamp from a ULID.'

Price$0.01per request
MethodPOST
Route/v1/encoding/ulid-parse
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
ulidtimestampparsecrockfordsortable-idepochisoencoding
API URLhttps://x402.hexl.dev/v1/encoding/ulid-parse
Integration docs
Example request
{
  "value": "01ARZ3NDEKTSV4RRFFQ69G5FAV"
}
Example response
{
  "timestampMs": 1469922850259,
  "timestampIso": "2016-07-30T23:54:10.259Z",
  "randomness": "TSV4RRFFQ69G5FAV",
  "valid": true,
  "interpretation": "ULID created at 2016-07-30T23:54:10.259Z (epoch ms 1469922850259); 80-bit randomness component follows."
}
Input schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "examples": [
        "01ARZ3NDEKTSV4RRFFQ69G5FAV"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}