Metro Data API Documentation

Welcome to Metro Data API. You can use this API to get data from our metro systems database.

The API is organized around REST. All requests and response bodies, including errors, are encoded in JSON

Method

GET

URL Params

Optional
geoType=[alphanumeric]
Posible values : CON - Continent or COU - Country
example: geoType=CON
geoValue=[alphanumeric]
Name of the place of the geographic filter
example: geoValue=Colombia
sortField=[alphanumeric]
Posible values : LIN - lines, STS - Stations, RDS - Daily Ridership, SDT - Start Date, LNG - Lenght
example: sortField=LNG
sortOrder=[alphanumeric]
Posible values : ASC - ascending or DES - descending
example: sortOrder=ASC
lan=[alphanumeric]
Language of the results and query
Posible values : ES - EN
example: lan=EN

Example

http://www.metro-data.info/api/Systems?geoType=COU&geoValue=argentina&sortField=RDS&sortOrder=DES&lan=EN
Gets all the systems in Argentina, ordered by Daily ridership and retrived in English
[
  {
    "SystemId": 4,
    "Lines": 6,
    "Stations": 87,
    "DailyRidership": 1230000,
    "Website": "http://www.buenosaires.gob.ar/subte",
    "StartDate": "1913-12-01T00:00:00",
    "Lenght": 54.9,
    "LastUpdate": "2017-01-31T00:00:00",
    "City": "Buenos Aires",
    "Country": "Argentina",
    "Contintent": "America",
    "Name": "Buenos Aires Undergorund"
  }
]