Skip to content
HALOWERK

Gamingwerk

game deck hypergeometric hits

Return hit-count probabilities when drawing without replacement from a supplied deck composition.

POST https://gaming.halowerk.com/v1/game-deck-hypergeometric-hits

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
deckintegerYes
hitsintegerYes
drawintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "deck": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "hits": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000
    },
    "draw": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "deck",
    "hits",
    "draw"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "deck": 10,
  "hits": 2,
  "draw": 2
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’