ToolAssay

Split stops into k balanced, compact territories with capacitated k-means and im

Split stops into k balanced, compact territories with capacitated k-means and imbalance limits. Docs: https://www.brainiac.software/api/route-optimization/territory-cluster

Answeringour last check, 2026-11-28
5 of 5checks answered this week
311 msmedian answer time
$0.03listed price per call
$0.03price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://www.brainiac.software/api/v1/route-optimization/territory-cluster

CategoryEverything else
Provider hostwww.brainiac.software
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-28 valid payment request 402$0.03 298 ms
2026-11-27 valid payment request 402$0.03 311 ms
2026-11-26 valid payment request 402$0.03 349 ms
2026-11-25 valid payment request 402$0.03 333 ms
2026-11-24 valid payment request 402$0.03 308 ms

Example input (from the provider)

{
  "body": {
    "balanceBy": "weight",
    "k": 2,
    "matrixFromPoints": "euclidean",
    "maxImbalance": 0.1,
    "stops": [
      {
        "id": "1",
        "weight": 1,
        "x": 0,
        "y": 0
      },
      {
        "id": "2",
        "weight": 1,
        "x": 1,
        "y": 0
      },
      {
        "id": "3",
        "weight": 1,
        "x": 0,
        "y": 1
      },
      {
        "id": "4",
        "weight": 1,
        "x": 1,
        "y": 1
      },
      {
        "id": "5",
        "weight": 1,
        "x": 10,
        "y": 10
      },
      {
        "id": "6",
        "weight": 1,
        "x": 11,
        "y": 10
      },
      {
        "id": "7",
        "weight": 1,
        "x": 10,
        "y": 11
      },
      {
        "id": "8",
        "weight": 1,
        "x": 11,
        "y": 11
      }
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "balanceBy": {
              "description": "balance By supplied by the caller for this operation.",
              "enum": [
                "count",
                "weight"
              ],
              "example": "weight",
              "type": "string"
            },
            "k": {
              "description": "k supplied by the caller for this operation.",
              "example": 2,
              "maximum": 500,
              "minimum": 1,
              "type": "integer"
            },
            "matrixFromPoints": {
              "description": "matrix From Points supplied by the caller for this operation.",
              "enum": [
                "euclidean",
                "haversine"
              ],
              "example": "euclidean",
              "type": "string"
            },
            "maxImbalance": {
              "description": "max Imbalance supplied by the caller for this operation.",
              "example": 0.1,
              "maximum": 1,
              "minimum": 0,
              "type": "number"
            },
            "seed": {
              "description": "seed supplied by the caller for this operation.",
              "maximum": 9007199254740991,
              "minimum": -9007199254740991,
              "type": "integer"
            },
            "stops": {
              "description": "stops supplied by the caller for this operation.",
              "example": [
                {
                  "id": "1",
                  "weight": 1,
                  "x": 0,
                  "y": 0
                },
                {
                  "id": "2",
                  "weight": 1,
                  "x": 1,
                  "y": 0
                },
                {
                  "id": "3",
                  "weight": 1,
                  "x": 0,
                  "y": 1
                },
                {
                  "id": "4",
                  "weight": 1,
                  "x": 1,
                  "y": 1
                },
                {
                  "id": "5",
                  "weight": 1,
                  "x": 10,
                  "y": 10
                },
                {
                  "id": "6",
                  "weight": 1,
                  "x": 11,
                  "y": 10
                },
                {
                  "id": "7",
                  "weight": 1,
                  "x": 10,
                  "y": 11
                },
                {
                  "id": "8",
                  "weight": 1,
                  "x": 11,
                  "y": 11
                }
              ],
              "items": {
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "stops",
            "k"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON