Trip Planner Information Feed
Stops
Script Name: stops.php
Supports GET and POST. Equivalent SOAP functions will also be provided. Output formats: XML, JSON, and PHP.
Description
Return a stop list with coordinates, and linear distances for supplied route ID. Additionally provides supplied board and alight distances.
There is only one required value and that is route id. Only one route id is allowed per request.
- Route = route id
The route id is an integer.
- format [optional] = xml | json | php
By default output format is set to xml. JSON and PHP are native array formats.
Returns
Stops will return a list of text descriptions, linear distances, access rules and geometric coordinates in Longitude/Latitude values (decimal degrees/floating point).
JSON format
{'metadata': {'query_time': '0.0023758411407471 seconds',
'records_found': 117,
'request': 'Stops: Route ID: 1108',
'request_uri': '\\/tm\\/stops.php?route=1108&format=json'},
'stops': {'item': [{'distance': '0',
'id': '47782',
'text': 'N-SAN DIEGO STATION\\/1050 KETTNER BLVD-AT'},
{'distance': '163',
'id': '47783',
'text': 'N-OLD TOWN TRAIN STATION\\/4005 TAYLOR ST-AT'},
{'distance': '1047',
'id': '47784',
'text': 'N-SOLANA BEACH STATION\\/105 N CEDROS AV-AT'},
{'distance': '1055',
'id': '47784',
'text': 'N-SOLANA BEACH STATION\\/105 N CEDROS AV-AT'},
{'distance': '1852',
'id': '27802',
'text': 'N-OCEANSIDE STATION\\/235 S TREMONT AV-AT'},
{'distance': '1860',
'id': '27802',
'text': 'N-OCEANSIDE STATION\\/235 S TREMONT AV-AT'},
{'distance': '2955',
'id': '25987',
'text': 'N-SAN CLEMENTE PIER STATION\\/615 AVENIDA VICTORIA-AT'},
{'distance': '2962',
'id': '25987',
'text': 'N-SAN CLEMENTE PIER STATION\\/615 AVENIDA VICTORIA-AT'},
{'distance': '3269',
'id': '25626',
'text': 'N-SAN JUAN CAPISTRANO STATION\\/26701 VERDUGO ST-AT'},
{'distance': '3277',
'id': '25626',
'text': 'N-SAN JUAN CAPISTRANO STATION\\/26701 VERDUGO ST-AT'},
{'distance': '3281',
'id': '25626',
'text': 'N-SAN JUAN CAPISTRANO STATION\\/26701 VERDUGO ST-AT'},
{'distance': '3289',
'id': '25626',
'text': 'N-SAN JUAN CAPISTRANO STATION\\/26701 VERDUGO ST-AT'},
{'distance': '3476',
'id': '25475',
'text': 'N-LAGUNA NIGUEL MISSION VIEJO STATION\\/28200 FORBES RD-AT'},
{'distance': '3495',
'id': '25475',
'text': 'N-LAGUNA NIGUEL MISSION VIEJO STATION\\/28200 FORBES RD-AT'},
{'distance': '3874',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '3880',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '3882',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '3885',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '3893',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '3899',
'id': '24800',
'text': 'N-IRVINE STATION\\/15215 BARRANCA PKWY-AT'},
{'distance': '4385',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4391',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4393',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4396',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4404',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4410',
'id': '23210',
'text': 'N-SANTA ANA STATION\\/1000 E SANTA ANA BLVD-AT'},
{'distance': '4526',
'id': '23168',
'text': 'N-ORANGE STATION\\/194 N ATCHINSON ST-AT'},
{'distance': '4546',
'id': '23168',
'text': 'N-ORANGE STATION\\/194 N ATCHINSON ST-AT'},
{'distance': '4592',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4600',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4603',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4611',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4623',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4643',
'id': '22505',
'text': 'N-ANAHEIM STATION\\/2150 E KATELLA AV-AT'},
{'distance': '4852',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '4860',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '4864',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '4872',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '4884',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '4903',
'id': '21642',
'text': 'N-FULLERTON STATION\\/120 E SANTA FE AV-AT'},
{'distance': '6020',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6021',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6028',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6029',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6032',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6040',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6041',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6052',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6071',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6072',
'id': '12192',
'text': 'N-UNION STATION\\/800 N ALAMEDA ST-AT'},
{'distance': '6272',
'id': '10967',
'text': 'N-GLENDALE STATION\\/400 W CERRITOS AV-AT'},
{'distance': '6280',
'id': '10967',
'text': 'N-GLENDALE STATION\\/400 W CERRITOS AV-AT'},
{'distance': '6292',
'id': '10967',
'text': 'N-GLENDALE STATION\\/400 W CERRITOS AV-AT'},
{'distance': '6323',
'id': '10967',
'text': 'N-GLENDALE STATION\\/400 W CERRITOS AV-AT'},
{'distance': '6651',
'id': '7022',
'text': 'N-BURBANK AIRPORT STATION\\/3750 EMPIRE AV-AT'},
{'distance': '6659',
'id': '7022',
'text': 'N-BURBANK AIRPORT STATION\\/3750 EMPIRE AV-AT'},
{'distance': '6670',
'id': '7022',
'text': 'N-BURBANK AIRPORT STATION\\/3750 EMPIRE AV-AT'},
{'distance': '6702',
'id': '7022',
'text': 'N-BURBANK AIRPORT STATION\\/3750 EMPIRE AV-AT'},
{'distance': '6953',
'id': '4049',
'text': 'N-VAN NUYS STATION\\/7720 VAN NUYS BLVD-AT'},
{'distance': '6961',
'id': '4049',
'text': 'N-VAN NUYS STATION\\/7720 VAN NUYS BLVD-AT'},
{'distance': '6973',
'id': '4049',
'text': 'N-VAN NUYS STATION\\/7720 VAN NUYS BLVD-AT'},
{'distance': '7004',
'id': '4049',
'text': 'N-VAN NUYS STATION\\/7720 VAN NUYS BLVD-AT'},
{'distance': '7434',
'id': '1815',
'text': 'N-CHATSWORTH STATION\\/10046 OLD DEPOT PLAZA RD-AT'},
{'distance': '7442',
'id': '1815',
'text': 'N-CHATSWORTH STATION\\/10046 OLD DEPOT PLAZA RD-AT'},
{'distance': '7453',
'id': '1815',
'text': 'N-CHATSWORTH STATION\\/10046 OLD DEPOT PLAZA RD-AT'},
{'distance': '7485',
'id': '1815',
'text': 'N-CHATSWORTH STATION\\/10046 OLD DEPOT PLAZA RD-AT'},
{'distance': '7725',
'id': '1421',
'text': 'N-SIMI VALLEY STATION\\/5050 LOS ANGELES AV-AT'},
{'distance': '7733',
'id': '1421',
'text': 'N-SIMI VALLEY STATION\\/5050 LOS ANGELES AV-AT'},
{'distance': '7744',
'id': '1421',
'text': 'N-SIMI VALLEY STATION\\/5050 LOS ANGELES AV-AT'},
{'distance': '7775',
'id': '1421',
'text': 'N-SIMI VALLEY STATION\\/5050 LOS ANGELES AV-AT'},
{'distance': '8283',
'id': '972',
'text': 'N-MOORPARK STATION\\/300 HIGH ST-AT'},
{'distance': '8291',
'id': '972',
'text': 'N-MOORPARK STATION\\/300 HIGH ST-AT'},
{'distance': '8334',
'id': '972',
'text': 'N-MOORPARK STATION\\/300 HIGH ST-AT'},
{'distance': '8771',
'id': '31949',
'text': 'N-CAMARILLO STATION\\/30 LEWIS RD-AT'},
{'distance': '8790',
'id': '31949',
'text': 'N-CAMARILLO STATION\\/30 LEWIS RD-AT'},
{'distance': '8819',
'id': '31949',
'text': 'N-CAMARILLO STATION\\/30 LEWIS RD-AT'},
{'distance': '8826',
'id': '31949',
'text': 'N-CAMARILLO STATION\\/30 LEWIS RD-AT'},
{'distance': '8869',
'id': '31949',
'text': 'N-CAMARILLO STATION\\/30 LEWIS RD-AT'},
{'distance': '9205',
'id': '505',
'text': 'N-OXNARD STATION\\/201 E FOURTH ST-AT'},
{'distance': '9224',
'id': '505',
'text': 'N-OXNARD STATION\\/201 E FOURTH ST-AT'},
{'distance': '9253',
'id': '505',
'text': 'N-OXNARD STATION\\/201 E FOURTH ST-AT'},
{'distance': '9261',
'id': '505',
'text': 'N-OXNARD STATION\\/201 E FOURTH ST-AT'},
{'distance': '9303',
'id': '505',
'text': 'N-OXNARD STATION\\/201 E FOURTH ST-AT'},
{'distance': '9667',
'id': '47786',
'text': 'N-VENTURA STATION\\/ HARBOR BLVD&FIGUEROA ST-AT'},
{'distance': '9687',
'id': '47786',
'text': 'N-VENTURA STATION\\/ HARBOR BLVD&FIGUEROA ST-AT'},
{'distance': '9715',
'id': '47786',
'text': 'N-VENTURA STATION\\/ HARBOR BLVD&FIGUEROA ST-AT'},
{'distance': '9723',
'id': '47786',
'text': 'N-VENTURA STATION\\/ HARBOR BLVD&FIGUEROA ST-AT'},
{'distance': '9766',
'id': '47786',
'text': 'N-VENTURA STATION\\/ HARBOR BLVD&FIGUEROA ST-AT'},
{'distance': '10472',
'id': '47788',
'text': 'N-CARPINTERIA STATION\\/475 LINDEN AV-AT'},
{'distance': '10491',
'id': '47788',
'text': 'N-CARPINTERIA STATION\\/475 LINDEN AV-AT'},
{'distance': '10520',
'id': '47788',
'text': 'N-CARPINTERIA STATION\\/475 LINDEN AV-AT'},
{'distance': '10527',
'id': '47788',
'text': 'N-CARPINTERIA STATION\\/475 LINDEN AV-AT'},
{'distance': '10570',
'id': '47788',
'text': 'N-CARPINTERIA STATION\\/475 LINDEN AV-AT'},
{'distance': '10985',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '10986',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11004',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11032',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11040',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11041',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11083',
'id': '47790',
'text': 'N-SANTA BARBARA STATION\\/209 STATE ST-AT'},
{'distance': '11449',
'id': '47791',
'text': 'N-GOLETA STATION\\/25 S LA PATERA LN-AT'},
{'distance': '11504',
'id': '47791',
'text': 'N-GOLETA STATION\\/25 S LA PATERA LN-AT'},
{'distance': '11547',
'id': '47791',
'text': 'N-GOLETA STATION\\/25 S LA PATERA LN-AT'},
{'distance': '13912',
'id': '47794',
'text': 'N-LOMPOC SURF STATION\\/OCEAN AV&PARK RD-AT'},
{'distance': '13968',
'id': '47794',
'text': 'N-LOMPOC SURF STATION\\/OCEAN AV&PARK RD-AT'},
{'distance': '14011',
'id': '47794',
'text': 'N-LOMPOC SURF STATION\\/OCEAN AV&PARK RD-AT'},
{'distance': '14937',
'id': '47795',
'text': 'N-GUADALUPE STATION\\/330 GUADALUPE ST-AT'},
{'distance': '14992',
'id': '47795',
'text': 'N-GUADALUPE STATION\\/330 GUADALUPE ST-AT'},
{'distance': '15035',
'id': '47795',
'text': 'N-GUADALUPE STATION\\/330 GUADALUPE ST-AT'},
{'distance': '15536',
'id': '47799',
'text': 'N-GROVER BEACH STATION\\/180 W GRAND AV-AT'},
{'distance': '15592',
'id': '47799',
'text': 'N-GROVER BEACH STATION\\/180 W GRAND AV-AT'},
{'distance': '15635',
'id': '47799',
'text': 'N-GROVER BEACH STATION\\/180 W GRAND AV-AT'},
{'distance': '16103',
'id': '47800',
'text': 'N-SAN LUIS OBISPO STATION\\/1011 RAILROAD AV-AT'},
{'distance': '16159',
'id': '47800',
'text': 'N-SAN LUIS OBISPO STATION\\/1011 RAILROAD AV-AT'},
{'distance': '16202',
'id': '47800',
'text': 'N-SAN LUIS OBISPO STATION\\/1011 RAILROAD AV-AT'},
{'distance': '17424',
'id': '0',
'text': 'N-PASO ROBLES INTERMODAL STATION\\/800 PINE ST-AT'},
{'distance': '17467',
'id': '0',
'text': 'N-PASO ROBLES INTERMODAL STATION\\/800 PINE ST-AT'}]}}
XML format
<?xml version="1.0" encoding="ISO-8859-1"?> <root> <metadata> <request> Stops: Route ID: 1108 </request> <records_found> 117 </records_found> <request_uri> /tm/stops.php?route=1108 </request_uri> <query_time> 0.003000020980835 seconds </query_time> </metadata> <stops type="list"> <item> <id> 47782 </id> <text> N-SAN DIEGO STATION/1050 KETTNER BLVD-AT </text> <distance> 0 </distance> </item> <item> <id> 47783 </id> <text> N-OLD TOWN TRAIN STATION/4005 TAYLOR ST-AT </text> <distance> 163 </distance> </item> <item> <id> 47784 </id> <text> N-SOLANA BEACH STATION/105 N CEDROS AV-AT </text> <distance> 1047 </distance> </item> <item> <id> 47784 </id> <text> N-SOLANA BEACH STATION/105 N CEDROS AV-AT </text> <distance> 1055 </distance> </item> <item> <id> 27802 </id> <text> N-OCEANSIDE STATION/235 S TREMONT AV-AT </text> <distance> 1852 </distance> </item> <item> <id> 27802 </id> <text> N-OCEANSIDE STATION/235 S TREMONT AV-AT </text> <distance> 1860 </distance> </item> <item> <id> 25987 </id> <text> N-SAN CLEMENTE PIER STATION/615 AVENIDA VICTORIA-AT </text> <distance> 2955 </distance> </item> <item> <id> 25987 </id> <text> N-SAN CLEMENTE PIER STATION/615 AVENIDA VICTORIA-AT </text> <distance> 2962 </distance> </item> <item> <id> 25626 </id> <text> N-SAN JUAN CAPISTRANO STATION/26701 VERDUGO ST-AT </text> <distance> 3269 </distance> </item> <item> <id> 25626 </id> <text> N-SAN JUAN CAPISTRANO STATION/26701 VERDUGO ST-AT </text> <distance> 3277 </distance> </item> <item> <id> 25626 </id> <text> N-SAN JUAN CAPISTRANO STATION/26701 VERDUGO ST-AT </text> <distance> 3281 </distance> </item> <item> <id> 25626 </id> <text> N-SAN JUAN CAPISTRANO STATION/26701 VERDUGO ST-AT </text> <distance> 3289 </distance> </item> <item> <id> 25475 </id> <text> N-LAGUNA NIGUEL MISSION VIEJO STATION/28200 FORBES RD-AT </text> <distance> 3476 </distance> </item> <item> <id> 25475 </id> <text> N-LAGUNA NIGUEL MISSION VIEJO STATION/28200 FORBES RD-AT </text> <distance> 3495 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3874 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3880 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3882 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3885 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3893 </distance> </item> <item> <id> 24800 </id> <text> N-IRVINE STATION/15215 BARRANCA PKWY-AT </text> <distance> 3899 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4385 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4391 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4393 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4396 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4404 </distance> </item> <item> <id> 23210 </id> <text> N-SANTA ANA STATION/1000 E SANTA ANA BLVD-AT </text> <distance> 4410 </distance> </item> <item> <id> 23168 </id> <text> N-ORANGE STATION/194 N ATCHINSON ST-AT </text> <distance> 4526 </distance> </item> <item> <id> 23168 </id> <text> N-ORANGE STATION/194 N ATCHINSON ST-AT </text> <distance> 4546 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4592 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4600 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4603 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4611 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4623 </distance> </item> <item> <id> 22505 </id> <text> N-ANAHEIM STATION/2150 E KATELLA AV-AT </text> <distance> 4643 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4852 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4860 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4864 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4872 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4884 </distance> </item> <item> <id> 21642 </id> <text> N-FULLERTON STATION/120 E SANTA FE AV-AT </text> <distance> 4903 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6020 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6021 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6028 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6029 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6032 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6040 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6041 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6052 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6071 </distance> </item> <item> <id> 12192 </id> <text> N-UNION STATION/800 N ALAMEDA ST-AT </text> <distance> 6072 </distance> </item> <item> <id> 10967 </id> <text> N-GLENDALE STATION/400 W CERRITOS AV-AT </text> <distance> 6272 </distance> </item> <item> <id> 10967 </id> <text> N-GLENDALE STATION/400 W CERRITOS AV-AT </text> <distance> 6280 </distance> </item> <item> <id> 10967 </id> <text> N-GLENDALE STATION/400 W CERRITOS AV-AT </text> <distance> 6292 </distance> </item> <item> <id> 10967 </id> <text> N-GLENDALE STATION/400 W CERRITOS AV-AT </text> <distance> 6323 </distance> </item> <item> <id> 7022 </id> <text> N-BURBANK AIRPORT STATION/3750 EMPIRE AV-AT </text> <distance> 6651 </distance> </item> <item> <id> 7022 </id> <text> N-BURBANK AIRPORT STATION/3750 EMPIRE AV-AT </text> <distance> 6659 </distance> </item> <item> <id> 7022 </id> <text> N-BURBANK AIRPORT STATION/3750 EMPIRE AV-AT </text> <distance> 6670 </distance> </item> <item> <id> 7022 </id> <text> N-BURBANK AIRPORT STATION/3750 EMPIRE AV-AT </text> <distance> 6702 </distance> </item> <item> <id> 4049 </id> <text> N-VAN NUYS STATION/7720 VAN NUYS BLVD-AT </text> <distance> 6953 </distance> </item> <item> <id> 4049 </id> <text> N-VAN NUYS STATION/7720 VAN NUYS BLVD-AT </text> <distance> 6961 </distance> </item> <item> <id> 4049 </id> <text> N-VAN NUYS STATION/7720 VAN NUYS BLVD-AT </text> <distance> 6973 </distance> </item> <item> <id> 4049 </id> <text> N-VAN NUYS STATION/7720 VAN NUYS BLVD-AT </text> <distance> 7004 </distance> </item> <item> <id> 1815 </id> <text> N-CHATSWORTH STATION/10046 OLD DEPOT PLAZA RD-AT </text> <distance> 7434 </distance> </item> <item> <id> 1815 </id> <text> N-CHATSWORTH STATION/10046 OLD DEPOT PLAZA RD-AT </text> <distance> 7442 </distance> </item> <item> <id> 1815 </id> <text> N-CHATSWORTH STATION/10046 OLD DEPOT PLAZA RD-AT </text> <distance> 7453 </distance> </item> <item> <id> 1815 </id> <text> N-CHATSWORTH STATION/10046 OLD DEPOT PLAZA RD-AT </text> <distance> 7485 </distance> </item> <item> <id> 1421 </id> <text> N-SIMI VALLEY STATION/5050 LOS ANGELES AV-AT </text> <distance> 7725 </distance> </item> <item> <id> 1421 </id> <text> N-SIMI VALLEY STATION/5050 LOS ANGELES AV-AT </text> <distance> 7733 </distance> </item> <item> <id> 1421 </id> <text> N-SIMI VALLEY STATION/5050 LOS ANGELES AV-AT </text> <distance> 7744 </distance> </item> <item> <id> 1421 </id> <text> N-SIMI VALLEY STATION/5050 LOS ANGELES AV-AT </text> <distance> 7775 </distance> </item> <item> <id> 972 </id> <text> N-MOORPARK STATION/300 HIGH ST-AT </text> <distance> 8283 </distance> </item> <item> <id> 972 </id> <text> N-MOORPARK STATION/300 HIGH ST-AT </text> <distance> 8291 </distance> </item> <item> <id> 972 </id> <text> N-MOORPARK STATION/300 HIGH ST-AT </text> <distance> 8334 </distance> </item> <item> <id> 31949 </id> <text> N-CAMARILLO STATION/30 LEWIS RD-AT </text> <distance> 8771 </distance> </item> <item> <id> 31949 </id> <text> N-CAMARILLO STATION/30 LEWIS RD-AT </text> <distance> 8790 </distance> </item> <item> <id> 31949 </id> <text> N-CAMARILLO STATION/30 LEWIS RD-AT </text> <distance> 8819 </distance> </item> <item> <id> 31949 </id> <text> N-CAMARILLO STATION/30 LEWIS RD-AT </text> <distance> 8826 </distance> </item> <item> <id> 31949 </id> <text> N-CAMARILLO STATION/30 LEWIS RD-AT </text> <distance> 8869 </distance> </item> <item> <id> 505 </id> <text> N-OXNARD STATION/201 E FOURTH ST-AT </text> <distance> 9205 </distance> </item> <item> <id> 505 </id> <text> N-OXNARD STATION/201 E FOURTH ST-AT </text> <distance> 9224 </distance> </item> <item> <id> 505 </id> <text> N-OXNARD STATION/201 E FOURTH ST-AT </text> <distance> 9253 </distance> </item> <item> <id> 505 </id> <text> N-OXNARD STATION/201 E FOURTH ST-AT </text> <distance> 9261 </distance> </item> <item> <id> 505 </id> <text> N-OXNARD STATION/201 E FOURTH ST-AT </text> <distance> 9303 </distance> </item> <item> <id> 47786 </id> <text> N-VENTURA STATION/ HARBOR BLVD&FIGUEROA ST-AT </text> <distance> 9667 </distance> </item> <item> <id> 47786 </id> <text> N-VENTURA STATION/ HARBOR BLVD&FIGUEROA ST-AT </text> <distance> 9687 </distance> </item> <item> <id> 47786 </id> <text> N-VENTURA STATION/ HARBOR BLVD&FIGUEROA ST-AT </text> <distance> 9715 </distance> </item> <item> <id> 47786 </id> <text> N-VENTURA STATION/ HARBOR BLVD&FIGUEROA ST-AT </text> <distance> 9723 </distance> </item> <item> <id> 47786 </id> <text> N-VENTURA STATION/ HARBOR BLVD&FIGUEROA ST-AT </text> <distance> 9766 </distance> </item> <item> <id> 47788 </id> <text> N-CARPINTERIA STATION/475 LINDEN AV-AT </text> <distance> 10472 </distance> </item> <item> <id> 47788 </id> <text> N-CARPINTERIA STATION/475 LINDEN AV-AT </text> <distance> 10491 </distance> </item> <item> <id> 47788 </id> <text> N-CARPINTERIA STATION/475 LINDEN AV-AT </text> <distance> 10520 </distance> </item> <item> <id> 47788 </id> <text> N-CARPINTERIA STATION/475 LINDEN AV-AT </text> <distance> 10527 </distance> </item> <item> <id> 47788 </id> <text> N-CARPINTERIA STATION/475 LINDEN AV-AT </text> <distance> 10570 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 10985 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 10986 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 11004 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 11032 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 11040 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 11041 </distance> </item> <item> <id> 47790 </id> <text> N-SANTA BARBARA STATION/209 STATE ST-AT </text> <distance> 11083 </distance> </item> <item> <id> 47791 </id> <text> N-GOLETA STATION/25 S LA PATERA LN-AT </text> <distance> 11449 </distance> </item> <item> <id> 47791 </id> <text> N-GOLETA STATION/25 S LA PATERA LN-AT </text> <distance> 11504 </distance> </item> <item> <id> 47791 </id> <text> N-GOLETA STATION/25 S LA PATERA LN-AT </text> <distance> 11547 </distance> </item> <item> <id> 47794 </id> <text> N-LOMPOC SURF STATION/OCEAN AV&PARK RD-AT </text> <distance> 13912 </distance> </item> <item> <id> 47794 </id> <text> N-LOMPOC SURF STATION/OCEAN AV&PARK RD-AT </text> <distance> 13968 </distance> </item> <item> <id> 47794 </id> <text> N-LOMPOC SURF STATION/OCEAN AV&PARK RD-AT </text> <distance> 14011 </distance> </item> <item> <id> 47795 </id> <text> N-GUADALUPE STATION/330 GUADALUPE ST-AT </text> <distance> 14937 </distance> </item> <item> <id> 47795 </id> <text> N-GUADALUPE STATION/330 GUADALUPE ST-AT </text> <distance> 14992 </distance> </item> <item> <id> 47795 </id> <text> N-GUADALUPE STATION/330 GUADALUPE ST-AT </text> <distance> 15035 </distance> </item> <item> <id> 47799 </id> <text> N-GROVER BEACH STATION/180 W GRAND AV-AT </text> <distance> 15536 </distance> </item> <item> <id> 47799 </id> <text> N-GROVER BEACH STATION/180 W GRAND AV-AT </text> <distance> 15592 </distance> </item> <item> <id> 47799 </id> <text> N-GROVER BEACH STATION/180 W GRAND AV-AT </text> <distance> 15635 </distance> </item> <item> <id> 47800 </id> <text> N-SAN LUIS OBISPO STATION/1011 RAILROAD AV-AT </text> <distance> 16103 </distance> </item> <item> <id> 47800 </id> <text> N-SAN LUIS OBISPO STATION/1011 RAILROAD AV-AT </text> <distance> 16159 </distance> </item> <item> <id> 47800 </id> <text> N-SAN LUIS OBISPO STATION/1011 RAILROAD AV-AT </text> <distance> 16202 </distance> </item> <item> <id> 0 </id> <text> N-PASO ROBLES INTERMODAL STATION/800 PINE ST-AT </text> <distance> 17424 </distance> </item> <item> <id> 0 </id> <text> N-PASO ROBLES INTERMODAL STATION/800 PINE ST-AT </text> <distance> 17467 </distance> </item> </stops> </root>
Usage
# REQUIRED: apikey, stops id http://developer.metro.net/tm/stops.php?apikey=1-2-3-4-5&route=1 # OPTIONAL: specify format http://developer.metro.net/tm/stops.php?apikey=1-2-3-4-5&route=1&format=xml http://developer.metro.net/tm/stops.php?apikey=1-2-3-4-5&route=1&format=json http://developer.metro.net/tm/stops.php?apikey=1-2-3-4-5&route=1&format=php
User Contributed Notes
-
June 22, 2009
Is this not working?
I'm requesting the following URL:
http://mtaweb.metro.net/tm/stops.php?apiKey=<MY_API_KEY>&route=794&format=jsonAnd it doesn't return anything. It would be helpful if it could return some kind of response
saying invalid params or invalid API key or some error message.
And Why is it not working in my case?
I'm sure I have the correct params is there anything I am missing? -
June 23, 2009
Sorry about that -- mtaweb is our internal name for the server. I have updated the documentation to reflect the external domain name of developer.metro.net.
Thanks, and be sure to let us know how it goes!
-
June 23, 2009
It works now, this is so awesome!
-
June 23, 2009
dgoodwin, will the stops have Latitude/Longitude in the response? Currently the response I get doesn't have lat/lon even though the above says it returns lat/lon values.
Well, lat/lon values would be great then one could put them on a map. -
Aug. 26, 2009
I am also eagerly awaiting those lat/long values so we can add to a MapQuest map and build cool some visual apps! Might want to update your doc to reflect that lat/long isn't available yet.
Please Login (or Sign Up) to leave a comment
The Basics
Information and resources to you get started
The Data
Check here for new and updated data sets

