Proximitii Documentation Last updated: 2026-03-27

This document goes through the basic required steps to start using and customizing all of the SDKs and APIs on the Proximitii platform.

Introduction

The following products from Proximitii were designed to be easy to use and fully customizable. Before you begin, make sure that you have obtained your public or private key(s) as they are required to authenticate any of the products listed in this document.

Products

Authentication

In order to use any of the Proximitii products, you will need a key. The keys will authenticate your access to the widgets or API. We have two different types of authentication, depending on which product is being called.

Public Key (Widget):

When using a widget, you’ll be asked for the URL of the website you want to put it on, and given a public key in return. Use this public key in your widget, and as long as it’s installed on the correct site, the key will work.

Private Key (API):

When using the API, a public key and a private key is required to authenticate the API. Send these together in your API calls. Do not expose the private key in code or on publicly viewable endpoints.

If you do not have a key, please contact info@proximitii.com.

Service Areas

These are the areas that we currently cover:

USA All 50 states and D.C.
Canada Full Coverage of all Provinces and Territories.

Local Lifestyle Widget

The Local Lifestyle Widget provides detailed information and scores on nearby points of interest from up to 12 categories.

Local Lifestyle Widget

Installation

Add the following embed code to your page or template. In order for the widget to render, you must add your own public key and you must pass the latitude and longitude.

<script src="https://widget-api.proximitii.com/proximitii-embed.js?v=2.0.2"></script>
<div id="prox-map"></div>
<script type="module">
window.onProximitiiLoad = () => {
let proximitiiMap = new Proximitii('prox-map')

//Make sure to put in your own public key!
proximitiiMap.setPublicKey("YOUR OWN KEY HERE")

proximitiiMap.setCenter(43.66068291135164, -79.34739798021833)

proximitiiMap.setOptions({
    primaryColor: '#607EB8',   
    titleSize: '22px',
    hideScores: false, 
    hideTitle: false, 
    hideRadius: false, 
    hideBackgroundImage: false, 
    markerIconColor: 'white',
    language: 'en',
    height: '500px',
    customOrderCategories: false,
    disableGestureHandling: false
})

proximitiiMap.setColors({
    scoreCircle: "primary",
    locationMarker: "primary",
})

proximitiiMap.render()
}
</script>

How to Install the Widget:


First, start by importing the Proximitii script.

<script src="https://widget-api.proximitii.com/proximitii-embed.js"></script>

And a div for the map to fill.

<div id="prox-map"></div>

Next, you can access the onProximitiiLoad function and pass in a callback, where you create a new instance of Proximitii.

<div id="prox-map"></div>
<script type="module">
window.onProximitiiLoad = () => {
    let proximitiiMap = new Proximitii('prox-map')

    //Make sure to put in your own public key!
    proximitiiMap.setPublicKey('KEY')

    proximitiiMap.setCenter(44.656834, -63.5982224)

    proximitiiMap.render()
}
</script>

You can also set and reset options, including the center, at any time, if you call render after. Various colors may also be changed.

proximitiiMap.setOptions({
        primaryColor: '#02a0e9', 
        title: 'Proximitii Score',
        hideScores: false, 
        hideTitle: false, 
        hideRadius: false, 
        hideBackgroundImage: false, 
        markerIconColor: 'white',
	language: 'en',
        height: '500px',
        sortCategoriesScore: false,
        gestureHandling: false
    })
    
proximitiiMap.setColors({
        scoreCircle: "#189CAD",
        locationMarker: "#537BBE",
        link: "#02a0e9",
        categoryScore: "primary",
        categoryScoreText: "#ffffff"
    })

Always be sure to call render AFTER setting or resetting any options.

Customization

There are many customization options. See below for how to customize the widget.


General Options:

Name Description Default Value Accepted Values Variable / Function
Latitude Sets the latitude of center N/A Decimal between -90 and 90 setCenter(latitude, longitude)
Longitude Sets the longitude of center N/A Decimal between -180 and 180 setCenter(latitude, longitude)
Custom Title Sets the title text Proximitii Score Any valid text setOptions({title})
Title Size Sets the CSS size for the title 24px Any valid CSS value setOptions({titleSize})
Height Sets the height for desktop 500px Any valid CSS value (min. height is 450px) setOptions({height})


Display Options:

Name Description Default Value Accepted Values Variable / Function
Hide Scores Hides the score circles for each category false true/false setOptions({hideScores})
Hide Title Hides the top text & the overall score false true/false setOptions({hideTitle})
Hide Radius Hides all the radius options false true/false setOptions({hideRadius})
Hide Background Hides the background image in the header false true/false setOptions({hideBackgroundImage})
Categories Specifies which categories to display N/A true/false setOptions({categories})
Custom Order Categories Orders categories based on input order false true/false setOptions({customCategoryOrder})
Disable Gesture Handling Enables scroll wheel zoom and map interaction false true/false setOptions({disableGestureHandling})
Select Language Sets the language to English or French en en/fr setOptions({language})


Color Options:

Name Description Default Value Accepted Values Variable / Function
Primary Brand Color Sets the color of the score bars, link hover color and location marker color #607EB8 null or hex color setOptions({primaryColor})
Score Bar Color Sets the color of the bars for the overall and category scores null null or hex color setColors({scoreCircle})
Location Marker Color Sets the color of the marker pins on the map null null or hex color setColors({locationMarker})
Marker Icon Color Sets the icon color of the marker pins white "white" or "black" setOptions({markerIconColor})
Category Circle Color Sets the color of the category circle null null or hex color setColors({categoryScore})
Category Score Color Sets the color of the score inside the category circle #FFFFFF null or hex color setColors({categoryScoreText})
Link Hover Color Sets the color of the category name hover null hex color setColors({link})


Tech Options:

Name Description Variable / Function
Public Key The public key provided to you setPublicKey(key)
Extreme Defer If page speeds are a concern, you can select this option, which will defer loading of the widget on your page until the first user interaction. This almost completely bypasses any page speed testers. To manually use this option, link to ‘https://widget-api.proximitii.com/proximitii-embed-defer.js’ instead of ‘https://widget-api.proximitii.com/proximitii-embed.js’
Version The version of the widget to load. Unless you have a very specialized implementation which requires a specific build, it’s recommended to stick with “latest”, which will auto update which version of the widget loads as new versions come out. To manually use this option, you can append the embed link with the version number, i.e. “https://widget-api.proximitii.com/1.1.1/proximitii-embed.js”

Categories

These are the categories that are available in the Local Lifestyle Widget.

Category Type Category Name Variable
Main Walkability walkability
Main Education education
Main Active Living activeLiving
Main Transit Access transitAccess
Sub Child Care childcare
Sub Coffee Shops coffee
Sub Elementary Schools elem
Sub Entertainment entertainment
Sub Fitness fitness
Sub Food & Drink food
Sub Groceries grocery
Sub Health & Safety health
Sub High Schools high
Sub Parks park
Sub Shops shop
Sub Transit transit

WordPress

To install the Local Lifestyle Widget on WordPress, please see the instructions below.

Install:
  1. Download the plugin from here, it’s a zip file
  2. Navigate to your WordPress dashboard, and go to “Plugins”
  3. Click “Add New”
  4. On the next page click “Upload Plugin” > “Choose File”
  5. Navigate to your downloads, and upload the package
  6. Click “Install”
  7. Go back to your list of Plugins, and find the Proximitii Widget plugin- click the “Activate” button underneath
  8. You should now see “Proximitii Widget” on your sidebar- click on that.
  9. Fill out settings. These are your default settings for your whole website- anytime you update here, it will update all widgets on your site automatically.

Shortcodes:
  1. You can use the widget anywhere on your WordPress site you can use shortcodes - [proximitii]
  2. The bare minimum you’ll need to pass in the latitude and longitude as parameters, like this - [proximitii latitude=”xx” longitude=”yy”]
  3. You can also override any settings you set on the settings page in each shortcode - [proximitii latitude=”xx” longitude=”yy” titleSize=”32px”]
  4. You can use The Playground page to generate shortcodes

Local Lifestyle API

The Proximitii Local Lifestyle API (Application Programming Interface), allows you to connect directly to our servers to download data. It returns structured points of interest like parks, transit stops, schools, restaurants and cafés, groceries, fitness, entertainment, and more—so you can power listing pages, neighborhood pages, and search filters with fresh local context at scale.

Example Calls

node.js

const url = 'https://widget-api.proximitii.com/api/map/locations?lat=43.659251&long=-79.345218&dataType=all&radius=6400&limit=2&categories=coffee,park,elem';
const options = {
  method: 'GET',
  headers: {
    'public_key': '{public_key}',
    'private_key': '{private_key}'
  }
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));


PHP

<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://widget-api.proximitii.com/api/map/locations?lat=43.659251&long=-79.345218&dataType=all&radius=6400&limit=2&categories=coffee,park,elem',
  CURLOPT_HTTPHEADER => [
    'public_key: {public_key}',
    'private_key: {private_key}'
  ],
]);

$response = curl_exec($curl);
curl_close($curl);

echo $response;

Keys

In order to call the API successfully, you will need a public and private key. Make sure to store the keys safely and call the API on the backend so the keys are not exposed to the public.

Values

Name Description Default Value Accepted Values Variable
Latitude Sets the latitude of center N/A Decimal between -90 and 90 lat
Longitude Sets the longitude of center N/A Decimal between -180 and 180 long
Data Type Type of data to return all all, scores, locations, overall_score dataType
Radius Sets maximum search radius (meters) 6400 1 - 20000 radius
Limit Sets the maximum number of results 12 1 - 25 limit
Categories Selects specific categories only N/A comma delimited (see table below) categories
Public Key Your public key N/A N/A public_key (Header)
Private Key Your private key N/A N/A private_key (Header)


Categories:

Main Categories Variable Text (Changes according to score)
Walkability walkability "Highly walkable with lots of daily essentials nearby."
Active Living activeLiving "Some wellness and outdoor options are within reach."
Education education "Limited education options nearby; most require travel."
Transit Access transitAccess "Several transit options are conveniently close by."

Sub Categories Variable
Child Care childcare
Coffee Shops coffee
Elementary Schools elem
Entertainment entertainment
Fitness fitness
Food & Drink food
Groceries grocery
Health & Safety health
High Schools high
Parks park
Shops shop
Transit transit

Sample Output

{
    "OverallScore": 94,
    "Data": {
        "Walkability": {
            "Category": "Walkability",
            "Score": 10,
            "Text": "Highly walkable with lots of daily essentials nearby."
        },
        "Active Living": {
            "Category": "Active Living",
            "Score": 10,
            "Text": "Great access to wellness, fitness, and outdoor spaces."
        },
        "Education": {
            "Category": "Education",
            "Score": 9,
            "Text": "Excellent education options close by and easy to reach."
        },
        "Transit Access": {
            "Category": "Transit Access",
            "Score": 9,
            "Text": "Excellent transit access with plenty of options nearby."
        },
        "coffee": {
            "Category": "coffee",
            "Score": 10,
            "Count": 5,
            "Locations": [
                {
                    "AmenityID": "29295",
                    "Name": "Starbucks",
                    "Address": " ",
                    "Category": "coffee",
                    "Dist": 245,
                    "Tag": "Coffee Shop",
                    "District": null,
                    "WalkingTime": 4,
                    "Coord": {
                        "Lat": 43.6603708,
                        "Long": -79.3425969
                    }
                },
                {
                    "AmenityID": "14002",
                    "Name": "Purple Penguin Cafe",
                    "Address": "889 Queen Street East",
                    "Category": "coffee",
                    "Dist": 271,
                    "Tag": "Coffee Shop",
                    "District": null,
                    "WalkingTime": 4,
                    "Coord": {
                        "Lat": 43.6604252,
                        "Long": -79.3422613
                    }
                },
                {
                    "AmenityID": "26668",
                    "Name": "Starbucks",
                    "Address": " ",
                    "Category": "coffee",
                    "Dist": 289,
                    "Tag": "Coffee Shop",
                    "District": null,
                    "WalkingTime": 5,
                    "Coord": {
                        "Lat": 43.6607025,
                        "Long": -79.3422363
                    }
                },
                {
                    "AmenityID": "25207",
                    "Name": "The Dock",
                    "Address": "932 Queen Street East",
                    "Category": "coffee",
                    "Dist": 346,
                    "Tag": "Coffee Shop",
                    "District": null,
                    "WalkingTime": 6,
                    "Coord": {
                        "Lat": 43.6608715,
                        "Long": -79.3415515
                    }
                },
                {
                    "AmenityID": "4373",
                    "Name": "Mercury Espresso",
                    "Address": "915 Queen Street East",
                    "Category": "coffee",
                    "Dist": 347,
                    "Tag": "Coffee Shop",
                    "District": null,
                    "WalkingTime": 6,
                    "Coord": {
                        "Lat": 43.660667,
                        "Long": -79.3413718
                    }
                }
            ]
        },
        "park": {
            "Category": "park",
            "Score": 10,
            "Count": 5,
            "Locations": [
                {
                    "AmenityID": "1142535",
                    "Name": null,
                    "Address": null,
                    "Category": "park",
                    "Dist": 15,
                    "Tag": "Playground",
                    "District": null,
                    "WalkingTime": 1,
                    "Coord": {
                        "Lat": 43.6592602297925,
                        "Long": -79.3454005968036
                    }
                },
                {
                    "AmenityID": "1000098",
                    "Name": "McCleary Playground",
                    "Address": "80 McGee Street",
                    "Category": "park",
                    "Dist": 17,
                    "Tag": "Park",
                    "District": null,
                    "WalkingTime": 1,
                    "Coord": {
                        "Lat": 43.6593088127695,
                        "Long": -79.3454086596916
                    }
                },
                {
                    "AmenityID": "1009659",
                    "Name": "Saulter Street Parkette",
                    "Address": "25 Saulter Street",
                    "Category": "park",
                    "Dist": 200,
                    "Tag": "Park",
                    "District": null,
                    "WalkingTime": 3,
                    "Coord": {
                        "Lat": 43.6577088206208,
                        "Long": -79.3465032129895
                    }
                },
                {
                    "AmenityID": "858978",
                    "Name": "Jimmie Simpson Park",
                    "Address": "870 Queen Street East",
                    "Category": "park",
                    "Dist": 222,
                    "Tag": "Park",
                    "District": null,
                    "WalkingTime": 4,
                    "Coord": {
                        "Lat": 43.6612131263222,
                        "Long": -79.3447192120837
                    }
                },
                {
                    "AmenityID": "906145",
                    "Name": "Bruce Mackey Park",
                    "Address": "55 Wardell Street",
                    "Category": "park",
                    "Dist": 327,
                    "Tag": "Park",
                    "District": null,
                    "WalkingTime": 5,
                    "Coord": {
                        "Lat": 43.6621705282381,
                        "Long": -79.3457540944358
                    }
                }
            ]
        },
        "elem": {
            "Category": "elem",
            "Score": 9,
            "Count": 4,
            "Locations": [
                {
                    "NCESDistrictID": null,
                    "AmenityID": "153214-CA",
                    "Name": "Dundas Junior Public School",
                    "Address": "935 Dundas St E",
                    "Category": "elem",
                    "Dist": 416,
                    "Tag": "Elementary",
                    "District": null,
                    "LowGrade": "JK",
                    "HighGrade": "5",
                    "SchoolScore": "74.5",
                    "Site": "http:\/\/schoolweb.tdsb.on.ca\/dundas",
                    "City": "Toronto",
                    "StateAbbr": "ON",
                    "ZIP": "M4M 1R4",
                    "Phone": "416-393-9565",
                    "IsPre": "0",
                    "IsElem": "1",
                    "IsMid": "0",
                    "IsHigh": "0",
                    "ProfMath": "67",
                    "ProfLang": "82",
                    "WalkingTime": 7,
                    "Coord": {
                        "Lat": 43.6620635986328,
                        "Long": -79.3486251831055
                    },
                    "Assigned": false
                },
                {
                    "NCESDistrictID": null,
                    "AmenityID": "374733-CA",
                    "Name": "Morse Street Junior Public School",
                    "Address": "180 Carlaw Ave",
                    "Category": "elem",
                    "Dist": 420,
                    "Tag": "Elementary",
                    "District": null,
                    "LowGrade": "JK",
                    "HighGrade": "6",
                    "SchoolScore": "71.5",
                    "Site": "http:\/\/schoolweb.tdsb.on.ca\/morsestreet",
                    "City": "Toronto",
                    "StateAbbr": "ON",
                    "ZIP": "M4M 2R9",
                    "Phone": "416-393-9494",
                    "IsPre": "0",
                    "IsElem": "1",
                    "IsMid": "0",
                    "IsHigh": "0",
                    "ProfMath": "57",
                    "ProfLang": "86",
                    "WalkingTime": 7,
                    "Coord": {
                        "Lat": 43.6601181030273,
                        "Long": -79.3401336669922
                    },
                    "Assigned": false
                },
                {
                    "NCESDistrictID": null,
                    "AmenityID": "461830-CA",
                    "Name": "Queen Alexandra Middle School",
                    "Address": "181 Broadview Ave",
                    "Category": "elem",
                    "Dist": 467,
                    "Tag": "Elementary",
                    "District": null,
                    "LowGrade": "6",
                    "HighGrade": "8",
                    "SchoolScore": "61.5",
                    "Site": "http:\/\/schoolweb.tdsb.on.ca\/queenalexandra",
                    "City": "Toronto",
                    "StateAbbr": "ON",
                    "ZIP": "M4M 2G3",
                    "Phone": "416-393-9535",
                    "IsPre": "0",
                    "IsElem": "1",
                    "IsMid": "1",
                    "IsHigh": "0",
                    "ProfMath": "43",
                    "ProfLang": "80",
                    "WalkingTime": 7,
                    "Coord": {
                        "Lat": 43.6614952087402,
                        "Long": -79.3501281738281
                    },
                    "Assigned": false
                },
                {
                    "NCESDistrictID": null,
                    "AmenityID": "067547-CA",
                    "Name": "Bruce Public School",
                    "Address": "51 Larchmount Ave",
                    "Category": "elem",
                    "Dist": 975,
                    "Tag": "Elementary",
                    "District": null,
                    "LowGrade": "JK",
                    "HighGrade": "8",
                    "SchoolScore": "62.125",
                    "Site": "http:\/\/schoolweb.tdsb.on.ca\/bruce",
                    "City": "Toronto",
                    "StateAbbr": "ON",
                    "ZIP": "M4M 2Y6",
                    "Phone": "416-393-0670",
                    "IsPre": "0",
                    "IsElem": "1",
                    "IsMid": "1",
                    "IsHigh": "0",
                    "ProfMath": "49",
                    "ProfLang": "75.25",
                    "WalkingTime": 16,
                    "Coord": {
                        "Lat": 43.6610527038574,
                        "Long": -79.3333511352539
                    },
                    "Assigned": false
                }
            ]
        }
    },
    "Active": 1

Demographics API

The Proximitii Demographics API (Application Programming Interface) lets you connect directly to our servers and pull hyperlocal demographic insights within a small radius. It returns structured data like population, density, age, income, education, and more—so you can enrich listing and neighborhood pages and help visitors quickly understand “Who lives nearby?”

Example Calls

node.js

const baseUrl = 'https://api.proximitii.com/v1/demographics/';

const keyPublic = 'YOUR PUBLIC KEY';
const keyPrivate = 'YOUR PRIVATE KEY';

const headers = new Headers({
  'Public-Key': keyPublic,
  'Private-Key': keyPrivate
});

const params = new URLSearchParams({
  lat: '42.3444676',
  lon: '-71.0691738',
  radius: '1',
  munit: 'mi',
  categories: 'all'
});

async function getDemographics() {
  try {
    const requestUrl = `${baseUrl}?${params.toString()}`;
    const response = await fetch(requestUrl, {
      method: 'GET',
      headers: headers
    });
    
    const data = await response.json();
    console.log(data);
    return data;
  } catch (error) {
    console.error('Error fetching data:', error);
  }
}

getDemographics();


PHP

<?PHP	
	$url = "https://api.proximitii.com/v1/demographics/";

	$key_public = 'YOUR PUBLIC KEY';
	$key_private = 'YOUR PRIVATE KEY';

	$headers = [
		"Public-Key: {$key_public}",
		"Private-Key: {$key_private}"
	];			

	$params = array(
		'lat' => '42.3444676',
		'lon' => '-71.0691738',
		'radius' =>  '1',
		'munit' => 'mi',
		'categories'=>'all'
	);

	$ch = curl_init ($url . '?' . http_build_query($params));
	curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

	$data = curl_exec($ch);
	$data = json_decode ($data, true);	
?>

Keys

In order to call the API successfully, you will need a public and private key. Make sure to store the keys safely and call the API on the backend so the keys are not exposed to the public.

Values

Name Description Accepted Values Variable
Latitude Sets the latitude of center Decimal between -90 and 90 lat
Longitude Sets the longitude of center Decimal between -180 and 180 lon
Radius Sets the radius 500 - 3200 (1000 meters is recommended) radius
Radius Unit meters or miles m, mi munit
Categories Selects specific categories only comma delimited (see table below) categories


Categories:

Category Variable Type Description
Community Snapshot population Population and community profile
Population Population number Population of the area
Population Density Density number People per square mile
Ethnicity PctWhite percent White
Ethnicity PctBlack percent Black or African American
Ethnicity PctNative percent American Indian
Ethnicity PctAsian percent Asian
Ethnicity PctHawaiian percent Hawaiian or Pacific Islander
Ethnicity PctOtherRaceAlone percent Other Ethnicity Alone
Ethnicity PctMultiRacial percent Multi Racial
Ethnicity HispanicOrLatino percent Hispanic or Latino
Age MedianAge number Median age of the population
Married Couples PctMarried number Married couples (over 15 years)
Families with Kids PctWithKids number Families with kids (under 18 years)
Poverty Level PctPoverty number People below the poverty line
Speak Another Language PctOtherLang number People who speak another language
Age Breakdown age Breakdown of all age groups
Age PctUnder5 percent People under 5 years
Age PctBetween5_14 percent People 5 to 14 years
Age PctBetween15_19 percent People 15 to 19 years
Age PctBetween20_24 percent People 20 to 24 years
Age PctBetween25_34 percent People 25 to 34 years
Age PctBetween35_44 percent People 35 to 44 years
Age PctBetween45_54 percent People 45 to 54 years
Age PctBetween55_64 percent People 55 to 64 years
Age PctBetween65_84 percent People 64 to 84 years
Age PctOver85Plus number People over 85 years
Languages Spoken languages Breakdown of language spoken at home
Languages PctSpeakEnglish percent People who speak English
Languages PctSpeakSpanish percent People who speak Spanish
Languages PctSpeakEuropean percent People who speak a European language
Languages PctSpeakAsianPacific percent People who speak an Asian/Pacific language
Languages PctSpeakOther percent People who speak another language
Economic Profile economy Income distribution and employment
Economy IncomePerCapita number Per capita income
Median Household Income MedHouseholdIncome number Household income per family
Unemployment Rate PctUnemployed percent Percent of unemployed workers
Income Breakdown PctInc10K_Less percent People who earn 10k or less
Income Breakdown PctInc10K_25K percent People who earn between 10k-25k
Income Breakdown PctInc25K_40K percent People who earn between 25k-40k
Income Breakdown PctInc40K_60K percent People who earn between 40k-60k
Income Breakdown PctInc60K_100K percent People who earn between 60k-100k
Income Breakdown PctInc100K_150K percent People who earn between 100k-150k
Income Breakdown PctInc150K_200K percent People who earn between 150k-200k
Income Breakdown PctInc200K_More percent People who earn more than 200k
Education Breakdown education Education level achieved
Education Level PctCompleted8thGrade percent Completed 8th grade
Education Level PctCompletedHighSchool percent Completed high school
Education Level PctSomeCollege percent Completed some college
Education Level PctAssocDegree percent Completed associate's degree
Education Level PctBachelorsDegree percent Completed bachelor's degree
Education Level PctProSchoolDegree percent Completed professional degree
Education Level PctDoctorateDegree percent Completed doctorate's degree
Housing housing Housing & Household Profile
Housing Units HousingUnits number Number of physical housing structures
Households Households number Number of total occupied housing units
Home Value MedValueOwnerOccupied number Median home value
Rent Value MedRent number Median rent value
Average Household Size AvgHouseholdSize number Average number of people per household
Owner Occupied PctOwnerOccupied percent People who own a home
Renter Occupied PctRenterOccupied percent People who rent a home
Home Price Breakdown PctPrice50k percent Home price of 50k or less
Home Price Breakdown PctPrice100k percent Home price between 50k-100k
Home Price Breakdown PctPrice150k percent Home price between 100k-150k
Home Price Breakdown PctPrice200k percent Home price between 150k-200k
Home Price Breakdown PctPrice300k percent Home price between 200k-300k
Home Price Breakdown PctPrice500k percent Home price between 300k-500k
Home Price Breakdown PctPrice1m percent Home price between 500k-1M
Home Price Breakdown PctPrice2m percent Home price between 1M-2M
Home Price Breakdown PctPrice2mPlus percent Home price over 2M
Year Moved In PctMovedIn2021Plus percent Moved in after 2021
Year Moved In PctMovedIn2018 percent Moved in between 2018-2021
Year Moved In PctMovedIn2010 percent Moved in between 2010-2017
Year Moved In PctMovedIn2000 percent Moved in between 2000-2009
Year Moved In PctMovedIn1990 percent Moved in between 1990-1999
Year Moved In PctMovedIn1989Earlier percent Moved in between before 1989
Commute Method commute How people get to work
Average Commute AvgCommuteTime percent Average commute time
Commute Method PctDrive percent People who drive to work
Commute Method PctCarpool percent People who carpool to work
Commute Method PctPublicTrans percent People who take public transit to work
Commute Method PctMotorcycle percent People who ride a motorcycle to work
Commute Method PctBicycle percent People who ride a bicycle to work
Commute Method PctWalk percent People who walk to work
Commute Method PctWorkHome percent People who work from home
Workforce Breakdown workforce Breakdown of jobs in the workforce
Workforce Industry PctInAgriOrForestOrFishOrHuntOrMining percent People who work in agriculture, forest, fishing, etc.
Workforce Industry PctInConstruction percent People who work in construction
Workforce Industry PctInManufacturing percent People who work in manufacturing
Workforce Industry PctInWholesaleOrRetail percent People who work in wholesale or retail
Workforce Industry PctInTransportationOrWharehousingOrUtilities percent People who work in transportation, warehousing, utilities
Workforce Industry PctInInformation percent People who work in information technology
Workforce Industry PctInFinanceOrInsurance percent People who work in finance or insurance
Workforce Industry PctInRealEstateOrRentals percent People who work in real estate, rentals or leasing
Workforce Industry PctInProOrSciOrTechServices percent People who work in professional, scientific or tech services
Workforce Industry PctInAdminAndWasteMgmt percent People who work in waste management
Workforce Industry PctInEduOrHealthOrSocialServices percent People who work in education, health or social services
Workforce Industry PctInArtsOrEntOrRecOrFoodServices percent People who work in arts, entertainment, recreation or food services
Workforce Industry PctInOtherServices percent People who work in other services
Workforce Industry PctInPublicAdmin percent People who work in public administration

Sample Output

{
    "data": {
        "population": {
            "Population": "1560",
            "Density": 13569,
            "PctWhite": 61.7,
            "PctBlack": 8.38,
            "PctNative": 0.28,
            "PctAsian": 16.95,
            "PctHawaiian": 0.22,
            "PctOtherRaceAlone": 4.44,
            "PctMultiRacial": 8.03,
            "HispanicOrLatino": null,
            "MedianAge": 38.05,
            "PctMarried": 34.81,
            "PctWithKids": 10.14,
            "PctPoverty": 20.85,
            "PctOtherLang": 33.09
        },
        "age": {
            "PctUnder5": 3.5,
            "PctBetween5_14": 4.99,
            "PctBetween15_19": 5.11,
            "PctBetween20_24": 10.55,
            "PctBetween25_34": 24.13,
            "PctBetween35_44": 12.3,
            "PctBetween45_54": 11.47,
            "PctBetween55_64": 11.52,
            "PctBetween65_84": 14.34,
            "PctOver85Plus": 2.08
        },
        "languages": {
            "PctSpeakEnglish": 66.91,
            "PctSpeakSpanish": 9.98,
            "PctSpeakEuropean": 7.69,
            "PctSpeakAsianPacific": 12.81,
            "PctSpeakOther": 2.61
        },
        "economy": {
            "IncomePerCapita": "106139.90",
            "MedHouseholdIncome": "119509.02",
            "PctUnemployed": 3.55,
            "PctInc10K_Less": 10.83,
            "PctInc10K_25K": 13.95,
            "PctInc25K_40K": 5.31,
            "PctInc40K_60K": 8.72,
            "PctInc60K_100K": 11.77,
            "PctInc100K_150K": 12.02,
            "PctInc150K_200K": 8.77,
            "PctInc200K_More": 28.63
        },
        "education": {
            "PctCompleted8thGrade": 94.61,
            "PctCompletedHighSchool": 90.54,
            "PctSomeCollege": 80.81,
            "PctAssDegree": 73.06,
            "PctBachelorsDegree": 69.81,
            "PctMastersDegree": 37.39,
            "PctProSchoolDegree": 16.44,
            "PctDoctorateDegree": 6.35
        },
        "housing": {
            "HousingUnits": "822",
            "Households": "761",
            "MedValueOwnerOccupied": "1330327",
            "MedRent": "2330",
            "AvgHouseholdSize": 1.76,
            "PctOwnerOccupied": 31.36,
            "PctRenterOccupied": 68.64,
            "PctPrice50k": 4.02,
            "PctPrice100k": 0.42,
            "PctPrice150k": 0,
            "PctPrice200k": 0.83,
            "PctPrice300k": 2.45,
            "PctPrice500k": 5.99,
            "PctPrice1m": 27.45,
            "PctPrice2m": 32.74,
            "PctPrice2mPlus": 26.1,
            "PctMovedIn2021Plus": 5.51,
            "PctMovedIn2018": 18.6,
            "PctMovedIn2010": 35.58,
            "PctMovedIn2000": 22.42,
            "PctMovedIn1990": 10.68,
            "PctMovedIn1989Earlier": 7.19,
            "PctSingleFamily": 1.38,
            "PctSemiDetached": 7.4,
            "PctTownhouse": 15.71,
            "PctSmallApt": 29.36,
            "PctLargeApt": 46.06
        },
        "commute": {
            "AvgCommuteTime": null,
            "PctDrive": 19.37,
            "PctCarpool": 2.84,
            "PctPublicTrans": 21.02,
            "PctMotorcycle": 0.03,
            "PctBicycle": 2.28,
            "PctWalk": 34.33,
            "PctWorkHome": 18.59
        },
        "workforce": {
            "PctInAgriOrForestOrFishOrHuntOrMining": 0.05,
            "PctInConstruction": 1.46,
            "PctInManufacturing": 5.05,
            "PctInWholesaleOrRetail": 7.35,
            "PctInTransportationOrWharehousingOrUtilities": 1.77,
            "PctInInformation": 2.38,
            "PctInFinanceOrInsurance": 13.01,
            "PctInRealEstateOrRentals": 2.23,
            "PctInProOrSciOrTechServices": 21.01,
            "PctInManagement": 0.18,
            "PctInAdminAndWasteMgmt": 2.76,
            "PctInEduOrHealthOrSocialServices": 28.99,
            "PctInArtsOrEntOrRecOrFoodServices": 8.37,
            "PctInOtherServices": 3.47,
            "PctInPublicAdmin": 1.92
        }
    },
    "error": {
        "code": "201",
        "message": "Created"
    }
}

Crime Widget

The Proximitii Crime Widget provides real-time crime data on a block group level.

Local Lifestyle Widget

Installation

Add the following embed code to your page or template. In order for the widget to render, you must add your own public key and you must pass the latitude and longitude.

<script src="https://widget-api.proximitii.com/crime/embed.js"></script>
<div id="prox-crime-map"></div>
<script type="module">
window.onProximitiiCrimeLoad = () => {
let proximitiiCrimeMap = new ProximitiiCrimeMap('prox-crime-map')

//Make sure to put in your own public key!
proximitiiCrimeMap.setPublicKey("YOUR OWN KEY HERE")

proximitiiCrimeMap.setCenter(37.772079370456495, -122.42953237968246)

proximitiiCrimeMap.setOptions({
    centerMarker: false,
    height: '500px',
    zoom: 10
})
        
proximitiiCrimeMap.render()
}
</script>

Values

Variable Description Default Value Accepted Values Paramater Name
Latitude Sets the latitude of center N/A Decimal between -90 and 90 setCenter(latitude, longitude)
Longitude Sets the longitude of center N/A Decimal between -180 and 180 setCenter(latitude, longitude)
Height Sets the height for desktop 500px Any valid CSS value (min. height is 450px) setOptions({height})
Pin Displays a pin false "true" or "false" centerMarker:
Zoom Sets the default zoom level 13 Any number between 1 and 19 zoom:13
Extreme Defer Defers loading not set N/A /embed-defer.js

Proximitii Maps

The Proximitii Maps platform provides an easy to embed dynamic mapping solution.

Proximitii Maps

Installation

Add the following to the head of your page.

<!-- Proximitii script	-->
<script src="https://proximitiimaps.com/proxinit/"></script>	
		
<!-- Your script -->
<script src="prox-map.js"></script>

Add the following to the body of your page.

<div id="my-map" class="leaflet-pane:leaflet-map-pane"></div>

Add the following .js file to your server.

window.onload = () => {
	
	const gps = [43.654087, -79.38549];		//center of the map
	const opts = {					//map options	
		id:     'my-map',			//DIV id
		key:    'my-key-here',		        //your private key
		gps:    gps,
		zoom:   14,				//zoom level
		style:  'init_style_light',		//map style
		func:   onMapReady			//callback
	};
	
	var map_init = new ProxMap (opts);		//create the map
	map_init.create_map ();

	function onMapReady ()
	{
		var map = map_init.get_map ();	        //get map object
		if (map)
		{
			L.marker(gps)			//create marker	
				.bindPopup("Hello <b>Map</b>")
				.addTo(map)
				.openPopup();

			var popup = L.popup();		//popup onMapClick event func
			function onMapClick(e) {		
				popup
				.setLatLng(e.latlng)
				.setContent("Click at " + e.latlng.toString())
				.openOn(map);
			}
			map.on('click', onMapClick);	//click event
		}
	}
}

Here is a sample .html file.

<!DOCTYPE html>
<html lang="en">
	<head>
		<title>Proximitii Maps</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta charset="utf-8">

		<style>
			html, body {
				width: 100%;
				height: 100%;
				padding: 0;
				margin:0;
			}	
			#my-map { position: relative; width: 100%; height: 100%;}
		</style>
	  
		<script src="https://proximitiimaps.com/proxinit/"></script>	
		<script src="prox-map.js"></script>
	</head>

	<body>	
		<div id="my-map" class="leaflet-pane:leaflet-map-pane"></div>
	</body>
</html>

Values

General Options:

Variable Description Accepted Values Variable / Function
Latitude Sets the latitude of center Decimal between -90 and 90 const gps = [latitude, longitude]
Longitude Sets the longitude of center Decimal between -180 and 180 const gps = [latitude, longitude]
ID Sets your DIV id Any valid text id: 'my-map'
Key Sets your authentication key Any valid key key: 'YOUR KEY HERE'
Zoom Sets the default zoom level Any number between 1 and 19 zoom: 14
Map Style Sets the map style light, bright, modern, baseline style: 'init_style_light'

Map Styles

Light

Proximitii Maps


Bright

Proximitii Maps


Modern

Proximitii Maps


Baseline

Proximitii Maps