Wednesday, October 15, 2025

How to Create a Birdsong Map

Diario SUR has created an interactive that allows you to listen to Málaga birds singing directly from a map. Mouseover any of the markers on This is how Málaga sings and you can listen to a sound recording of a Málaga bird species submitted by users of the website Xeno-Canto.

Xeno-Canto is a community-driven online database of wildlife sound recordings from around the world. Users can upload and share their recordings, which are catalogued by species, location, and other metadata. The platform makes it easy to explore and listen to wildlife sounds from different countries, and it also provides an API that allows developers to access the recordings and their associated geographical data for projects like interactive maps.

I was inspired by Diario SUR’s interactive map to explore the Xeno-Canto API myself. It turned out to be very easy to use, with multiple ways to fetch geographical data - perfect for creating your own animal sound maps.

In just a few minutes, I built This is how Suffolk sings - an interactive map that brings Suffolk’s bird recordings to life. 

Using the API link:

https://xeno-canto.org/api/3/recordings?query=loc:"Suffolk Coastal District, Suffolk, England"+grp:birds&key=YOURKEY

I was able to fetch a JSON feed of bird recordings submitted by Xeno-Canto users in Suffolk.

For my map, I downloaded the JSON feed and saved it locally, which makes for fast loading and avoids API key issues in the browser. You could also fetch live data directly from Xeno-Canto with a valid API key. Either way, the recordings can be converted to GeoJSON and displayed on an interactive map.

The map itself is fully interactive: click a marker to see the bird species, hear its call, and view a small spectrogram image. You can pan and zoom to explore different areas of Suffolk and discover which species have been recorded where.

The code for 'This is how Suffolk' sings is available to be cloned on GitHub

Or if you want another example try:

French Mammal Recordings
Frogs of Florida

No comments: