{"slug":"www-brainiac-software-api-v1-route-optimization-polyline-cod-83d85f","title":"Encode or decode Google Encoded Polyline strings and optionally simplify with Do","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/route-optimization/polyline-codec","category":"other","description":"Encode or decode Google Encoded Polyline strings and optionally simplify with Douglas-Peucker. Docs: https://www.brainiac.software/api/route-optimization/polyline-codec","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":314,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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 — 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"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":297,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":330,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":314,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":315,"error":null}],"description_full":"Encode or decode Google Encoded Polyline strings and optionally simplify with Douglas-Peucker. Docs: https://www.brainiac.software/api/route-optimization/polyline-codec","last_updated":"2026-11-24T14:45:22.935Z","schemes":["exact"]}