Ulid format

ulid-format · version 1.0.0 · Identifiers & check digits · free, no key needed

Format an explicit 48-bit timestamp and ten random bytes as one canonical uppercase ULID.

Use when you need to: format ULID from bytes · build ULID from timestamp · encode explicit ULID fields.

Decide before calling

Read the versioned contract and the supported scope below. Reuse ulid-format@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use ulid-format@1.0.0 for format ULID from bytes. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "timestamp_ms": "0",
  "random_bytes": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0
  ]
}

Response:

{
  "result": {
    "ulid": "00000000000000000000000000"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "ulid-format",
  "version": "1.0.0",
  "input": {
    "timestamp_ms": "0",
    "random_bytes": [
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/ulid-format/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"timestamp_ms":"0","random_bytes":[0,0,0,0,0,0,0,0,0,0]}'

The machine-readable contract is at /v1/tools/ulid-format/versions/1.0.0.

CLI

node cli.mjs run ulid-format 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.