Audio

xeno-canto API

by xeno-canto.org

Audio Added on December 1st, 2026
Visit xeno-canto.org →

What it does

The xeno-canto API searches a shared collection of wildlife sound recordings, mostly bird songs and calls, also bats and grasshoppers, for example for a nature app or for training species recognition. GET requests with search tags such as species, country or quality return JSON with audio file links, spectrograms, recordist and licence. Free with a free API key for registered members with a verified e-mail address. A User-Agent header is required, and each recording has its own Creative Commons licence, often non-commercial, so credit the recordist.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Needed, free · More APIs with a free key
Pricing
Free with a free API key for registered members with a verified e-mail address.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
xeno-canto.org

More information: https://xeno-canto.org/explore/api

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

xeno-canto.org
xeno-canto API

Example request

curl

curl 'https://xeno-canto.org/api/3/recordings?query=sp:%22larus%20fuscus%22&key=YOUR_API_KEY' \
  -H 'User-Agent: YourApp/1.0'

JavaScript

const response = await fetch("https://xeno-canto.org/api/3/recordings?query=sp:%22larus%20fuscus%22&key=YOUR_API_KEY", {
  headers: {
    "User-Agent": "YourApp/1.0",
  },
});
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://xeno-canto.org/api/3/recordings?query=sp:%22larus%20fuscus%22&key=YOUR_API_KEY",
    headers={
        "User-Agent": "YourApp/1.0",
    },
    timeout=30,
)
print(response.json())

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried xeno-canto API.