ToolAssay

Encode or decode Google Encoded Polyline strings and optionally simplify with Do

Encode or decode Google Encoded Polyline strings and optionally simplify with Douglas-Peucker. Docs: https://www.brainiac.software/api/route-optimization/polyline-codec

Answeringour last check, 2026-11-27
4 of 4checks answered this week
314 msmedian answer time
$0.01listed price per call
$0.01price 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/polyline-codec

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.01 297 ms
2026-11-26 valid payment request 402$0.01 330 ms
2026-11-25 valid payment request 402$0.01 314 ms
2026-11-24 valid payment request 402$0.01 315 ms

Example input (from the provider)

{
  "body": {
    "decode": null,
    "encode": [
      [
        38.5,
        -120.2
      ],
      [
        40.7,
        -120.95
      ],
      [
        43.252,
        -126.453
      ]
    ],
    "precision": 5,
    "simplify": null
  },
  "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": {
            "decode": {
              "description": "decode supplied by the caller for this operation.",
              "example": null,
              "type": [
                "string",
                "null"
              ]
            },
            "encode": {
              "description": "encode supplied by the caller for this operation.",
              "example": [
                [
                  38.5,
                  -120.2
                ],
                [
                  40.7,
                  -120.95
                ],
                [
                  43.252,
                  -126.453
                ]
              ],
              "items": {
                "items": {
                  "type": "number"
                },
                "type": "array"
              },
              "type": "array"
            },
            "precision": {
              "description": "precision supplied by the caller for this operation.",
              "example": 5,
              "type": "number"
            },
            "simplify": {
              "description": "simplify supplied by the caller for this operation.",
              "example": null,
              "type": [
                "object",
                "null"
              ]
            }
          },
          "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": {
            "encoded": {
              "description": "encoded returned by this operation.",
              "type": "string"
            },
            "limitations": {
              "description": "Product caveats. Absence of a signal is not a safety approval.",
              "type": "array"
            },
            "points": {
              "description": "points returned by this operation.",
              "type": "integer"
            },
            "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