Catalog/gt-dominant-strategy

Game Theory

Dominant strategy finder API

Scans a payoff matrix (your rows vs opponent columns) for strictly or weakly dominant rows and lists dominated strategies that can be eliminated. Answers 'Do I have a dominant strategy in this game?', 'Which strategies are dominated and can be removed?'.

Price$0.06per request
MethodPOST
Route/v1/gametheory/dominant-strategy
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
game-theorydominant-strategydominatedstrategyeliminationpayoff-matrixdecisionstrict
API URLhttps://x402.hexl.dev/v1/gametheory/dominant-strategy
Integration docs
Example request
{
  "payoffs": [
    [
      5,
      6
    ],
    [
      2,
      3
    ]
  ]
}
Example response
{
  "rows": 2,
  "cols": 2,
  "strict": true,
  "dominantStrategyRow": 0,
  "dominantStrategies": [
    0
  ],
  "dominatedStrategies": [
    {
      "dominated": 1,
      "by": 0
    }
  ],
  "hasDominant": true,
  "interpretation": "Row 0 is a strictly dominant strategy (best regardless of the opponent's choice)."
}
Input schema
{
  "type": "object",
  "required": [
    "payoffs"
  ],
  "properties": {
    "payoffs": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      },
      "examples": [
        [
          [
            5,
            6
          ],
          [
            2,
            3
          ]
        ]
      ]
    },
    "strict": {
      "type": "boolean",
      "examples": [
        true
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}