Skip to content


barbeau edited this page Oct 25, 2012 · 4 revisions

OTP will produce either JSON or XML (default).

To produce JSON output, make your request with the header 'Accept : application/json'.


curl --header "Accept: application/json" ""


curl --header "Accept: application/xml" ""

The documentation on this wiki is outdated and should not be used

unless you are intentionally working with legacy versions of OpenTripPlanner. Please consult the current documentation at readthedocs

Clone this wiki locally
You can’t perform that action at this time.