Demo for github.com/jmapb/parse-nyc-address
Enter an address or click on examples below to compare output with other address parsers. Parse-nyc-address is tailored for NYC addressing quirks such as fractional and non-numeric housenumber suffixes, street names starting with AVENUE, and street/saint ambiguities.
A borough code (1=Manhattan, 2=Bronx, 3=Brooklyn, 4=Queens, 5=Staten Island) will be returned if it can be parsed from a borough name/abbrevition, postal city, or zip code. Marble Hill addresses will return borough=1.