ToolAssay

Build a haversine distance and estimated duration matrix from caller coordinates

Build a haversine distance and estimated duration matrix from caller coordinates with optional circuity and speed. Docs: https://www.brainiac.software/api/route-optimization/distance-matrix

Answeringour last check, 2026-11-27
4 of 4checks answered this week
304 msmedian answer time
$0.02listed price per call
$0.02price 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/distance-matrix

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-27 valid payment request 402$0.02 292 ms
2026-11-26 valid payment request 402$0.02 292 ms
2026-11-25 valid payment request 402$0.02 361 ms
2026-11-24 valid payment request 402$0.02 317 ms

Example input (from the provider)

{
  "body": {
    "circuity": 1,
    "locations": [
      {
        "id": "london",
        "lat": 51.5074,
        "lon": -0.1278
      },
      {
        "id": "paris",
        "lat": 48.8566,
        "lon": 2.3522
      }
    ],
    "speedKph": 80
  },
  "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": {
            "circuity": {
              "description": "circuity supplied by the caller for this operation.",
              "example": 1,
              "maximum": 3,
              "minimum": 1,
              "type": "number"
            },
            "locations": {
              "description": "locations supplied by the caller for this operation.",
              "example": [
                {
                  "id": "london",
                  "lat": 51.5074,
                  "lon": -0.1278
                },
                {
                  "id": "paris",
                  "lat": 48.8566,
                  "lon": 2.3522
                }
              ],
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "speedKph": {
              "description": "speed Kph supplied by the caller for this operation.",
              "example": 80,
              "type": "number"
            },
            "speedMps": {
              "description": "speed Mps supplied by the caller for this operation.",
              "type": "number"
            }
          },
          "required": [
            "locations"
          ],
          "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": {
          "additionalProperties": true,
          "properties": {
            "distancesM": {
              "description": "distances M returned by this operation.",
              "type": "array"
            },
            "durationsS": {
              "description": "durations S returned by this operation.",
              "type": "array"
            },
            "estimate": {
              "description": "estimate returned by this operation.",
              "type": "boolean"
            },
            "ids": {
              "description": "ids returned by this operation.",
              "type": "array"
            },
            "limitations": {
              "description": "Product caveats. Absence of a signal is not a safety approval.",
              "type": "array"
            },
            "sources": {
              "description": "Provenance only \u2014 upstream name, url, and retrievedAt when available.",
              "items": {
                "additionalProperties": true,
                "properties": {
                  "retrievedAt": {
                    "description": "ISO-8601 timestamp when upstream data was retrieved.",
                    "type": "string"
                  },
                  "source": {
                    "description": "Named upstream source for this delayed reference series.",
                    "type": "string"
                  },
                  "status": {
                    "description": "Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged.",
                    "type": "string"
                  },
                  "url": {
                    "description": "Requested public URL.",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON