transitLines is not a current Borough search parameter.
This page is kept so older references resolve cleanly, but line-by-line transit filtering is not part of the live contract today.
What to use instead
minTransitScorefor building-level transit accessibility filtering. It only matches listings Borough has linked to their building, which happens when it loads a listing’s full detail, so listings without that link are left out even when their building qualifies.areasfor neighborhood and borough scoping- building score detail endpoints when you need the current transit score itself
Current status
These requests are common, but they are not current Borough filters:transitLinesprewar- view-style amenity enums such as
CITY_VIEWorWATER_VIEW
transitLines or prewar: it ignores them and returns results as if they were not passed. The SDK drops them before sending the request.
Related: transit score
Instead of line filtering, you can filter by transit accessibility score:GET /v1/building/{id}/scores. The score is computed from public GTFS stop data (MTA subway, bus, LIRR, and Metro-North, plus NYC Ferry and the Staten Island Ferry). Points are added per mode, and the total is capped at 100:
The components add up to 110 before the cap, so a building does not need every mode to reach 100.
See Building Scores for details on how scores are computed.