Skip to main content

Embed suburb data on your site

Add neighbourhood intelligence to your property listings with a single line of code. The widget shows safety indices, risk profiles, median property values, and school counts for any of the 744 suburbs in our Cape Town pilot.

What the widget shows

  • Suburb name and city context
  • Safety index with risk profile badge (Lower / Moderate / Higher reported crime)
  • Median property value band
  • Number of schools nearby
  • Data coverage tier (Full / Partial / Limited)
  • Link to the full StreetSignal suburb page

Embed code

Replace camps-bay with any suburb slug. The widget is self-contained, under 20KB, and uses inline styles only.

<iframe
  src="https://streetsignal.co.za/cape-town/embed/camps-bay/"
  width="320"
  height="280"
  style="border:none;border-radius:10px;overflow:hidden;"
  title="Camps Bay neighbourhood data - StreetSignal"
  loading="lazy"
></iframe>

Preview

Finding suburb slugs

Browse the suburb directory and copy the URL path. For example, the URL for Camps Bay is /suburbs/camps-bay/, so the embed URL is/embed/camps-bay/.

JSON data endpoints

Developers can also access static JSON data directly. These endpoints support CORS and are cached for 24 hours:

  • /data/boundaries.geojson - 742 suburb boundary polygons with safety indices
  • /data/search-index.json - suburb names, slugs, safety indices, and property values
  • /data/compare-index.json - suburb comparison data

Licensing

Embeds and data endpoints are free for non-commercial use.744 suburb widgets are available. For commercial use or higher-volume access, see our data products or contact us at[email protected].

Data sources and methodology are documented on themethodology page.