CivicAPI

View this data on a map using Polymaps

Available datasets:

                bos_addresses
                bos_address_points
                bos_airport
                bos_blocks
                bos_bridges
                bos_buildings
                bos_building_massing
                bos_building_shadows
                bos_catch_basins
                bos_census_blocks
                bos_census_block_groups
                bos_census_tracts
                bos_city_blocks
                bos_city_council_districts
                bos_community_centers
                bos_commuter_rail
                bos_districts
                bos_dnd_restrictions
                bos_evacucation_routes
                bos_fire_departments
                bos_fire_districts
                bos_fire_hydrants
                bos_health_centers
                bos_historic_districts
                bos_hospitals
                bos_mailing_neighborhoods
                bos_main_street_districts
                bos_non_public_schools
                bos_open_spaces
                bos_overpasses
                bos_parcel_centroids
                bos_parking_areas
                bos_points_of_interest
                bos_police_departments
                bos_police_districts
                bos_polling_locations
                bos_precincts
                bos_public_libraries
                bos_public_schools
                bos_public_schools_facilities
                bos_rail
                bos_roads_and_sidewalks
                bos_schools_and_churches
                bos_senate_districts
                bos_shelters
                bos_snow_districts
                bos_snow_farms
                bos_snow_lots
                bos_snow_parking
                bos_snow_routes
                bos_street_centerlines
                bos_street_trees
                bos_subdistricts
                bos_tourist_trails
                bos_towns
                bos_traffic_signals
                bos_trash_zones_2007
                bos_tunnels
                bos_t_lines
                bos_t_stops
                bos_us_representatives
                bos_water_sampling_stations
                bos_water_service_zones
                bos_zipcodes
                bos_zoning
                

Get objects in a bounding box:

civicapi.com/v1/bos_fire_hydrants?bbox=-71.062520,42.358028,-71.059516,42.360089

Get entire dataset:

civicapi.com/v1/bos_fire_hydrants/all

Get entire dataset as KML:

civicapi.com/v1/bos_fire_hydrants/kml

jQuery examples:

get objects in a bounding box:
 
              $.ajax({ 
                url: "http://civicapi.com/v1/bos_fire_hydrants", 
                dataType: 'jsonp', 
                data: { 
                  "bbox":"-71.062520,42.358028,-71.059516,42.360089" 
                }, 
                success: function(data){ 
                  // manipulate data 
                } 
              }); 
              
get available datasets:
 
              $.ajax({ 
                url: "http://civicapi.com/v1/datasets", 
                dataType: 'jsonp', 
                success: function(data){ 
                  // manipulate data 
                } 
              });