Crash Finder Embeds

Use Crash Finder embeds to add the search box and live crash counter to other sites.

Prebuilt region embeds

Embeds are prebuilt for every geography. Use this URL format:

https://crashcountnyc.com/embed/<layer>/<id>/

Layers:

  • borough (e.g. brooklyn)
  • council (e.g. 39)
  • assembly (e.g. 23)
  • senate (e.g. 18)
  • precinct (e.g. 77)
  • community (e.g. 1)
  • nta (neighborhood codes like bk0101)
  • citywide (nyc)

Examples:

  • https://crashcountnyc.com/embed/borough/brooklyn/
  • https://crashcountnyc.com/embed/council/39/
  • https://crashcountnyc.com/embed/nta/bk0101/
  • https://crashcountnyc.com/embed/citywide/nyc/

Copy/paste embed

<iframe
  src="https://crashcountnyc.com/embed/council/39/"
  width="100%"
  height="900"
  style="border:0;"
  loading="lazy"
  title="Crash Finder"></iframe>

If you need a different height, adjust the height attribute. The embed opens full Crash Finder pages in the parent window after a search is selected.

Citywide embed example

<iframe
  src="https://crashcountnyc.com/embed/citywide/nyc/"
  width="100%"
  height="900"
  style="border:0;"
  loading="lazy"
  title="Crash Finder (NYC)"></iframe>

Live preview