Skip to content
HALOWERK

Trade Operations

quantity tier budget capacity

Tier budget capacity finds the largest affordable order across every tier, including price cliffs. Use it when an agent needs setting a purchase quantity from a fixed budget.

POST https://handel.halowerk.com/v1/quantity-tier-budget-capacity

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tiersarrayYes
modeSee schemaYes
budgetintegerYes
limitintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tiers": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "minItems": 2,
        "maxItems": 2
      },
      "maxItems": 24,
      "minItems": 1
    },
    "mode": {
      "enum": [
        "graduated",
        "volume"
      ]
    },
    "budget": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    }
  },
  "required": [
    "tiers",
    "mode",
    "budget",
    "limit"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "tiers": [
    [
      1,
      12
    ],
    [
      10241,
      11
    ],
    [
      153601,
      8
    ]
  ],
  "mode": "graduated",
  "budget": 127000,
  "limit": 14000
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’