Skip to content

Advanced Usage

You can get filtered data by using the following request parameters.

Filter by line

Use the parameter line=<NAME> and add it to your request URL.

http://vtapi.floscodes.net/?station=<YOUR_STATION>&line=<YOUR_LINE>

Make sure to replace <YOUR_LINE> and <YOUR_STATION> accordingly.

Filter by direction

Use the parameter towards=<LAST_STOP> and add it to your request URL.

http://vtapi.floscodes.net/?station=<YOUR_STATION>&towards=<LAST_STOP>
Make sure to replace <LAST_STOP> and <YOUR_STATION> accordingly.

Get the countdown for the next train or bus

Add &countdown to your request URL.

Get the location data of any station

Add &geodata to your request URL.

Combine all filters

You can combine all the parameters above to filter your data as much as you need.