A normal web browser which executes javascript will send an HTTP post to that endpoint, the response is a JSON formatted text string. In this case,
"{\"display\":{\"AddressRangeKeys\":[{\"Key\":\"\",\"Value\":\"Ordinary Address Range\"}],\"AddressRangeList\":[{\"b7sc\":\"13735001\",\"bin\":\"1063602\",\"high_address_number\":\" 500\",\"low_address_number\":\" 500\",\"street_name\":\"WEST 180 STREET \",\"tpad_bin_status\":\"No activity\",\"type\":\" \",\"type_meaning\":\"Ordinary Address Range\"},{\"b7sc\":\"11171001\",\"bin\":\"1063602\",\"high_address_number\":\" 2416\",\"low_address_number\":\" 2416\",\"street_name\":\"AMSTERDAM AVENUE \",\"tpad_bin_status\":\"No activity\",\"type\":\" \",\"type_meaning\":\"Ordinary Address Range\"}],\"CompleteBINList\":[{\"bin\":\"1063602\",\"tpad\":\"No activity\"}],\"HighB7SCList\":[{\"b7sc\":\"11201001\",\"streetName\":\"AUDUBON AVENUE \"}],\"LowB7SCList\":[{\"b7sc\":\"11171001\",\"streetName\":\"AMSTERDAM AVENUE \"}],\"SimilarNamesList\":[],\"in_boro\":\"1\",\"in_browse_flag\":\" \",\"in_func_code\":\"1B\",\"in_hnd\":\"500 \",\"in_hns\":\" \",\"in_roadbed_request_switch\":\" \",\"in_stname1\":\"W 180TH STREET \",\"in_tpad_switch\":\"Y\",\"in_unit\":\"\",\"in_zip_code\":\" \",\"out_No_Parking_lanes\":\" 2\",\"out_No_Total_Lanes\":\" 3\",\"out_No_Traveling_lanes\":\" 1\",\"out_TPAD_bin\":\" \",\"out_TPAD_bin_status\":\"No activity\",\"out_TPAD_conflict_flag\":\"1\",\"out_ad\":\"72\",\"out_alx\":\"No Split\\/Change\",\"out_atomic_polygon\":\"101\",\"out_b10sc1\":\"13735001010\",\"out_bbl\":\"1021520046\",\"out_bbl_block\":\"2152\",\"out_bbl_lot\":\"46\",\"out_bid\":\"\",\"out_bike_lane\":\" 2\",\"out_bike_traffic_direction\":\"One-way against\",\"out_bin\":\"1063602\",\"out_bin_status\":\"No activity\",\"out_blockface_id\":\"1322603485\",\"out_boe_lgc_pointer\":\"1\",\"out_boe_preferred_b7sc\":\"13735001 \\/ WEST 180 STREET \",\"out_boro_name1\":\"MANHATTAN\",\"out_cd\":\"13\",\"out_cd_eligible\":\"CD Eligible\",\"out_cdta_2020\":\"MN12\",\"out_census_block_2000\":\"1000\",\"out_census_block_2010\":\"4000\",\"out_census_block_2020\":\"4000\",\"out_census_block_suffix_2000\":\" \",\"out_census_block_suffix_2010\":\" \",\"out_census_block_suffix_2020\":\" \",\"out_census_tract_1990\":\" 261 \",\"out_census_tract_2000\":\" 261 \",\"out_census_tract_2010\":\" 261 \",\"out_census_tract_2020\":\" 261 \",\"out_co\":\"10\",\"out_coincident_seg_cnt\":\"1\",\"out_com_dist\":\"112\",\"out_condo_base_bbl\":\"N\\/A\",\"out_condo_bill_scc\":\" \",\"out_condo_billing_bbl\":\"N\\/A\",\"out_condo_flag\":\"Non-Condo\",\"out_condo_num\":\"N\\/A\",\"out_coop_num\":\"N\\/A\",\"out_corner_code\":\"SW\",\"out_curve_flag\":\"None\",\"out_dcp_zoning_map\":\"3B \",\"out_dot_st_light_contract_area\":\"1\",\"out_dsny_snow_priority\":\"C\",\"out_dsny_snow_priority_str\":null,\"out_ed\":\"045\",\"out_error_message\":\" \",\"out_error_message2\":\" \",\"out_fdny_id\":\" \",\"out_feature_type\":\"Street\",\"out_fire_bat\":\"13\",\"out_fire_co\":\"Ladder 45\",\"out_fire_co_str\":\"Ladder 45\",\"out_fire_div\":\"7\",\"out_from_additional_lgcs1\":\" \",\"out_from_additional_lgcs2\":\" \",\"out_from_additional_lgcs3\":\" \",\"out_from_additional_lgcs4\":\" \",\"out_from_additional_lgcs5\":\" \",\"out_from_dcp_preferred_lgcs1\":\"01\",\"out_from_dcp_preferred_lgcs2\":\" \",\"out_from_dcp_preferred_lgcs3\":\" \",\"out_from_dcp_preferred_lgcs4\":\" \",\"out_from_dcp_preferred_lgcs5\":\" \",\"out_from_node\":\"0043728\",\"out_generic_id\":\"0023098\",\"out_grc\":\"00\",\"out_grc2\":\"00\",\"out_health_area\":\"04.00\",\"out_health_center_dist\":\"17\",\"out_hi_hns\":\"528 \",\"out_hi_x_coord\":\"1002828\",\"out_hi_y_coord\":\"0248248\",\"out_high_bbl_condo\":\"N\\/A\",\"out_hnd\":\"500 \",\"out_hurricane_zone\":\" X\",\"out_individual_segment_length\":\"00460\",\"out_interior_flag\":\"Not Interior Lot\",\"out_irreg_flag\":\"Not Irregular Lot\",\"out_lat_property\":\"40.847457\",\"out_latitude\":\"40.847514\",\"out_lion_key_face_code\":\"5900\",\"out_lion_key_sequence_number\":\"00010\",\"out_lo_hns\":\"500 \",\"out_lo_x_coord\":\"1003231\",\"out_lo_y_coord\":\"0248026\",\"out_lon_property\":\"-73.931781 \",\"out_longitude\":\"-73.931618 \",\"out_low_bbl_condo\":\"N\\/A\",\"out_mc\":\"7\",\"out_no_cross_street_calculation_flag\":\" \",\"out_nta\":\"MN36 \\/ \",\"out_nta_2020\":\"MN1201\",\"out_num_of_bldgs\":\"1\",\"out_num_of_blockfaces\":\"2\",\"out_nypd_id\":\" \",\"out_physical_id\":\"0026975\",\"out_police_area\":\" \",\"out_police_patrol_boro\":\"Manhattan North\",\"out_police_pct\":\"34\",\"out_police_sector\":\" 34A\",\"out_preferred_lgc\":\"13735001\",\"out_preferred_street_name\":\"WEST 180 STREET \",\"out_puma_2020\":\"04112\",\"out_puma_code\":\"03801\",\"out_reason_code\":\" \",\"out_reason_code2\":\" \",\"out_right_of_way_type\":\" \",\"out_roadway_type\":\"Street\",\"out_rpad_bldg_class\":\"O5\",\"out_rpad_scc\":\"0\",\"out_san_bulk\":\"EMWF \",\"out_san_commercial_waste_zone\":\" MN7\",\"out_san_dist_section\":\"112 \\/ 122\",\"out_san_org_pick_up\":\" \",\"out_san_recycle\":\"EW \",\"out_san_reg\":\"MWF \",\"out_san_sched\":\"2A\",\"out_sanborn_boro\":\"1\",\"out_sanborn_page\":\"019 \",\"out_sanborn_volume\":\"12 \",\"out_school_dist\":\"6\",\"out_sd\":\"31\",\"out_segment_azm\":\"151\",\"out_segment_id\":\"0071345\",\"out_segment_len\":\"460\",\"out_segment_orientation\":\"W\",\"out_segment_type\":\"Undivided\",\"out_sos_ind\":\"Address is on the left when facing from AMSTERDAM AVENUE to AUDUBON AVENUE\",\"out_spec_addr_flag\":\" \",\"out_speed_limit\":\"25\",\"out_stname1\":\"WEST 180 STREET \",\"out_street_width_irregular\":\" \",\"out_street_width_max\":\" 30\",\"out_street_width_min\":\" 30\",\"out_stroll_key\":\" \",\"out_tax_map\":\"1\",\"out_tax_section\":\"08\",\"out_tax_volume\":\"03\",\"out_to_additional_lgcs1\":\" \",\"out_to_additional_lgcs2\":\" \",\"out_to_additional_lgcs3\":\" \",\"out_to_additional_lgcs4\":\" \",\"out_to_additional_lgcs5\":\" \",\"out_to_dcp_preferred_lgcs1\":\"01\",\"out_to_dcp_preferred_lgcs2\":\" \",\"out_to_dcp_preferred_lgcs3\":\" \",\"out_to_dcp_preferred_lgcs4\":\" \",\"out_to_dcp_preferred_lgcs5\":\" \",\"out_to_node\":\"0043602\",\"out_traffic_dir\":\"A\",\"out_truck_route_type\":\" \",\"out_unit\":\" \",\"out_usps_city_name\":\"NEW YORK \",\"out_vacant_flag\":\"Not Vacant\",\"out_valid_lgc_1\":\"01\",\"out_valid_lgc_2\":\" \",\"out_valid_lgc_3\":\" \",\"out_valid_lgc_4\":\" \",\"out_vanity_sos\":\"L\",\"out_wa1_message\":\" \",\"out_x_coord\":\"1003169\",\"out_x_coord_property\":\"1003124\",\"out_y_coord\":\"0248057\",\"out_y_coord_property\":\"0248036\",\"out_zip_code\":\"10033\"},\"root\":null}"
The browser then executes more javascript which adds this information to the DOM.
curl is a simple program that sends and receives HTTP messages (an alternative is wget). Most browser developer tools have a network tab where you can examine network calls and copy the relevant information for usage with programs like curl or wget. These are the arguments I used to obtain the above JSON response,
curl "https://a030-goat.nyc.gov/Goat/Function1B/GetResponse" -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "X-Requested-With: XMLHttpRequest" --data-raw "ButtonType=Submit&Borough=1&AddressNo=500&StreetName=w+180th+street&Unit=&RoadBedBool=false&TPADBool=true&TPADBool=false&BrowseFlag=&X-Requested-With=XMLHttpRequest"
Always be considerate when hijacking a website’s API - they are meant for browser use, not scripts. You don’t want to look like you’re attacking the server. So put a delay between each call if you go that way.
~Max