You are here

Open New York Fare Card History for Metropolitan Transportation Authority API - SDKs

The Open New York Fare Card History for Metropolitan Transportation Authority API is an open service of the State of New York's data.ny.gov open data initiative. This API provides access to raw data collected from all MetroCard swipes made weekly by each subway customer entering any station of the New York City Subway system. The data is also collected from swipes used with PATH, AitrTrain JFK, and the Roosevelt Island Tram. This data is posted every Sunday by 1AM. The data has a corresponding date and day of the week and is sorted in biweekly units. The API can be accessed through HTTP communication, and available response types include JSON, XML, and CSV. The documentation features a live testing interface to run example requests. All requests must posses an app token in order to be authenticated.