New Origin and Destination APIs Overview

The New Analytical Origin/Destination APIs provide use-case-driven tools for analyzing journey flows between and through defined zones, with simplified parameters and faster processing compared to the legacy O/D API.

API background

The Closed Origin/Destination, Segment Flow, and Open-Ended OD APIs are purpose-built analytical tools, each designed around a specific journey flow question. This focused design enables:

  • Simplified parameters
  • Faster processing (target magnitude: 50% reduction)

As each API targets one analytical question, outputs are consistent and predictable regardless of which zones or corridors are included in a query.

API module comparison

Use the following table to identify which Origin/Destination API matches your analytical question.

Note:

Journey counts across these APIs are not directly comparable. Each API measures a different unit: Closed O/D counts pairwise zone journeys; Segment Flow OD counts flow-based traversals of a corridor; Open-Ended OD counts journeys relative to an anchor zone across all four zone flow types.

API

Question

Attribution method

Best suited for

Closed OD (getZoneClosedOriginDestinationMatrix)

How much freight moved from Zone A to Zone B?

Pairwise attribution: journey count is stable regardless of query scope

Trip demand, freight flows, and stable zone-to-zone baselines

Segment Flow OD (getCorridorOriginDestinationMatrix)

How much traffic used this corridor?

Passthrough attribution: counts run 10% to 20% higher than Closed O/D

Highway utilization, toll revenue, corridor siting, and EV charging infrastructure

Open-Ended OD (getOpenEndedOriginDestinationMatrix)

What are all the traffic patterns flowing through my zone of interest?

Zone-centric attribution: returns all four zone flow types (I:I, I:E, E:I, E:E) relative to an anchor zone

Anchor-zone traffic pattern discovery and multi-directional flow analysis

Legacy OD (getOriginDestinationMatrix)

What are my general O/D flows?

On-the-fly: count varies based on zones included in the query

Migration to Closed O/D or Segment Flow O/D