Skip to content

Mobility API API

by o2.cz

No authHTTPSPhone
Open documentation ↗

Overview

Transit API can be used to obtain time-aggregated data representing moving the people between various spatial points within the Czech Republic. Having A - 'from' and B - 'to' points, the API can return count of people traveling from A to B or people that are from A and traveling to B, etc. The mobility data is based on moving mobile stations in O2 mobile network.

Mobility API is a phone API from o2.cz. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 2 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Phone
Base URL
https://developer.o2.cz/mobility/sandbox/api
Version
1.2.0
Endpoints
2
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://developer.o2.cz/mobility/sandbox/api/info" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://developer.o2.cz/mobility/sandbox/api/info", {
  method: "GET",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://developer.o2.cz/mobility/sandbox/api/info",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/infoInformation about versions of application and data.
GET/transit/{from}/{to}Transit between basic residential units

Questions

Does the Mobility API API need an API key?

No. The Mobility API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Mobility API API support HTTPS?

Yes, the Mobility API API is served over HTTPS.

How many endpoints does the Mobility API API have?

Its OpenAPI description lists 2 endpoints in version 1.2.0. All of them are shown on this page.

What are alternatives to the Mobility API API?

Other Phone APIs include Twilio - Accounts, ETSI GS MEC 010-2 - Part 2: Application lifecycle, rules and requirements management, Twilio - Api, Telnyx API, Twilio - Autopilot.

Compare alternatives →

Listed from APIs.guru (CC0).