Label Roll Batch Fit

Estimate labeling run length with setup waste per design and a mandatory leader on each roll.

Custom requests cost 0.04 USDC on Base.

Download example JSON · OpenAPI · Source and usage

Pay with a browser wallet · Open example in checkout

POST a JSON request to /label-roll-batch-fit/v1/check with an x402 V2 client.

Worked example

Request

{
  "roll_length_mm": 1000,
  "leader_mm": 20,
  "pitch_mm": 50,
  "rolls": 2,
  "designs": [
    {
      "id": "a",
      "labels": 25,
      "setup_labels": 1
    },
    {
      "id": "b",
      "labels": 11,
      "setup_labels": 2
    }
  ]
}

Result

{
  "capacity_per_roll": 19,
  "slots_needed": 39,
  "minimum_rolls": 3,
  "additional_rolls": 1
}

Support catalog maintenance through GitHub Sponsors. Sponsor gptenv · Sponsor Jeremy Carter