Trenitalia-API

Unofficial collection of trenitalia's private api endpoints.

Explore it with PostmanTrenitalia's mobile appSupport

This is a collection of unofficial API endpoints that have been reverse-engineered from Trenitalia's mobile app. Please note that these endpoints are not officially documented by Trenitalia, so use them at your own discretion and experiment with them.

Explore it with Postman

https://documenter.getpostman.com/view/21209683/2s9YsNdW1t

This project is still a WIP, not every endpoint is covered by the API, I'm implementing all of them little by little.

This is a collection of unofficial API endpoints that have been reverse-engineered from Trenitalia's mobile app. Please note that these endpoints are not officially documented by Trenitalia, so use them at your own discretion and experiment with them.

Trenitalia's mobile app

Following some informations about trenitalia's app. Trenitalia mobile app's developer adopted a security measure called SSL pinning, making impossible to intercept HTTPS traffic with a man-in-the-middle approach using a non rooted device. Trenitalia mobile app uses Retrofit to implement the api, both for data managing and UI purposes, such as displaying a view populated with datas.

Support

If you find a new endpoint or you want to contribute in any way opena a PR :)

If you need support please open an issue or you can find me on telegram: @edobal

I also accept donations, so I can keep this project up!

liberapay

ko-fi

paypal