The Mobility Data Specification offers three primary Application Programming Interfaces (APIs): agency
, provider
, and policy
.
Both the agency
and provider
APIs allow agencies to gather data about vehicles and trips from a mobility mervice provider. Although the design of the APIs differ, they allow for similar types of data gathering. A city can adopt one or both of these APIs depending on their goals, tools, and resources. See our Policy Language Guidance for how to specify endpoint needs in your city policy documents.
The agency
and provider
APIs were developed in alignment with each other, with shared terminology and a similar data model. While they will likely stay aligned at a high-level, they are part of an open source development process and it is possible that their features and functionality may diverge or align more in the future.
Public agencies should consider their goals and use cases when selecting software to ingest and analyze MDS data. Some software packages and vendors may only support agency
or provider
. Data sharing requirements in permits and regulations should specify which MDS API(s) the public agency intends to use.
The policy
API allows agencies to express various types of regulation through an API and can be used in tandem with agency
or provider
.
Three additional APIs support the core MDS APIs:
geography
- Geography API looks at spatial coverage and boundaries that define where the rules set out in the Policy API apply or that trigger data logging and reporting in the Agency, Provider and Metrics APIs (e.g. a geo-fenced zone where vehicle speeds are reduced or a boundary whose crossing initiates logging of vehicle trip characteristics).jurisdiction
- Jurisdiction API is used to define and communicate hierarchical or overlapping administrative or operational areas associated with specific data access rights. This API also enables co-ordination among different agencies.metrics
- Metrics API establishes common methodologies for creating indicators from MDS data. This API defines common indicator semantics and ensures that indicators are consistently being calculated. It thus provides the basis for consistent processing and the production of comparable outputs raw data on the mobility operator side that can be incorporated into data-reporting mandates.