•   almost 3 years ago

TIER - Mobility Data Sharing

Excited to be part of the Jelbi Hackathon! We hope that you would find the scooter data in Berlin interesting.

Mobility Data Specification (MDS):

Through this endpoint, you can access the last two weeks trip data:
GET https://platform.tier-services.io/mds/BERLIN/trips

See the documentation here: https://documentation.tier-services.io/#mobility-data-specification-mds
Please note that you would need to set the `Accept` header to "application/vnd.mds.provider+json;version=0.3" in order to get a proper response.

Use this header for authenticating your requests: `x-api-key: gXKxBRaZsYaXUyMyyvpKxADg`

This API key will be valid only during the hackathon.

Please let us know if you have any questions!

======= edit ======
Some example codes for accessing the endpoint:


curl --location --request GET 'https://platform.tier-services.io/mds/BERLIN/trips' \
--header 'x-api-key: gXKxBRaZsYaXUyMyyvpKxADg' \
--header 'Accept: application/vnd.mds.provider+json;version=0.3'


node.js (with request pkg):

var request = require('request');
var options = {
'method': 'GET',
'url': 'https://platform.tier-services.io/mds/BERLIN/trips',
'headers': {
'x-api-key': 'gXKxBRaZsYaXUyMyyvpKxADg',
'Accept': 'application/vnd.mds.provider+json;version=0.3'
request(options, function (error, response) {
if (error) throw new Error(error);


Python (with requests lib):

import requests

url = "https://platform.tier-services.io/mds/BERLIN/trips"

payload = {}
headers = {
'x-api-key': 'gXKxBRaZsYaXUyMyyvpKxADg',
'Accept': 'application/vnd.mds.provider+json;version=0.3'

response = requests.request("GET", url, headers=headers, data = payload)



  •   •   almost 3 years ago

    I get an error when trying to access the dataset. We´d like a little help with it. (Team next to the air-hockey table)

  •   •   almost 3 years ago

    Hey Luis, we are now commuting to the area, will stop you by as soon as we arrive :)

Comments are closed.