All web services TriMet has made available use the Representational State Transfer (REST) RPC-style calls over HTTP GET requests with parameters URL encoded into the request.
Each web service begins with a base URL followed by parameters and arguments. Parameters and arguments can be seperated by a forward slash ("/"). Parameters can also be passed using the HTTP GET parameter style; following the base URL with a "?", argument names followed by an equals "=" followed by the argument value and the next parameters separated by a &.
The final parameter will always be "appID" and should be a valid registered AppID. AppIDs registration can be done here.
For example called the arrivals service with a base url of "http://developer.trimet.org/ws/V1/arrivals" would be called:
Using slashes:
"http://developer.trimet.org/ws/V1/arrivals/locIDs/6849,6850/appID/0000000000000000000000000"
Using HTTP GET parameters:
"http://developer.trimet.org/ws/V1/arrivals?locIDs=6849,6850&appID=0000000000000000000000000"
| Arrivals: | Reports next arrivals at a stop identified by location ID. |
| Detours: | Retrieves a list of detours currently in effect by route. |
| RouteConfig: | Retrieves a list of routes being reported by TransitTracker from the active schedule, optionally a list of directions for those routes and stops in each of those directions. |