Overview
xeno-canto is a community-built library of over 700,000 wild bird sound recordings from around the world. You can query by species name, country, or quality rating and get back metadata plus a direct audio file URL. It is ideal for nature apps, educational tools, or anyone learning to work with scientific data APIs.
Beginner Tip
Search with a plain GET request like https://xeno-canto.org/api/2/recordings?query=owl — no API key needed. The recordings[].file field gives you a direct MP3 link you can play immediately.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"name": "xeno-canto",
"data": "xeno-canto-specific information and attributes",
"source": "xeno-canto"
} Field Reference
numRecordings Total number of recordings matching your query numPages Total pages available; use the page parameter to paginate through results recordings[].en English common name of the bird species recordings[].file Direct URL to the MP3 audio recording recordings[].cnt Country where the recording was made recordings[].q Quality rating from A (best) to E (worst) Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://xeno-canto.org/api/2/recordings?query=owl+cnt:united+states&page=1";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →Axolotl
⭐ Beginner's PickAxolotl API returns random photos and fun facts about axolotls (aquatic salamanders).
Cat Facts
⭐ Beginner's PickCat Facts delivers random, verified facts about cats via a simple REST API.
Cataas
Cataas provides programmatic access to cat as a service (cats pictures and gifs) via REST API.
Dog Facts
⭐ Beginner's PickDog Facts API returns random interesting facts about dogs as plain JSON.
Dog Facts
⭐ Beginner's PickThis Dog Facts API returns random dog facts in clean JSON with no API key required.