Haikubox provides an easy-to-use REST API for interacting with your Haikubox devices. Haikubox listens to your environment and reports when it hears your birds. This documentation will guide you through making requests to the Haikubox API.
This endpoint retrieves information about a specific Haikubox by its serial code.
/haikubox/<SERIAL_CODE>
GET
<SERIAL_CODE>=[alphanumeric] (serial code of your Haikubox)
https://api.haikubox.com/haikubox/1000000066e59043
This endpoint provides the daily counts for each of the bird species detected on your Haikubox for a specific day.
/haikubox/<SERIAL_CODE>/daily-count
GET
<SERIAL_CODE>=[alphanumeric] (serial code of your Haikubox)
date=[YYYY-MM-DD] (optional, date in format YYYY-MM-DD)
https://api.haikubox.com/haikubox/1000000066e59043/daily-count?date=2023-05-17
This endpoint provides the yearly counts for each of the bird species detected on your Haikubox for a specific year. The counts are limited to the top 75 species for the year specified.
/haikubox/<SERIAL_CODE>/yearly-count
GET
<SERIAL_CODE>=[alphanumeric] (serial code of your Haikubox)
year=[YYYY] (optional, year in format YYYY)
https://api.haikubox.com/haikubox/1000000066e59043/yearly-count?year=2023
This endpoint provides a sample of recent detections from your Haikubox. By default, it returns up to 5 most recent detections per species in the last 8 hours. You can also specify a different time range up to the last 24 hours.
/haikubox/<SERIAL_CODE>/detections
GET
<SERIAL_CODE>=[alphanumeric] (serial code of your Haikubox)
hours=[integer] (optional, number of past hours to retrieve detections for, max 24)
https://api.haikubox.com/haikubox/1000000066e59043/detections?hours=4
Please be aware that there may be rate limits applied to the API requests to ensure the quality of service. If you encounter any issues or need higher limits, please contact our support team.
For any issues or queries related to the API, please reach out to support@haikubox.com.
Data obtained using this API are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. If you are using data from Haikubox for research purposes, please cite the following paper:
@article{kahl2021birdnet,
title={BirdNET: A deep learning solution for avian diversity monitoring},
author={Kahl, Stefan and Wood, Connor M and Eibl, Maximilian and Klinck, Holger},
journal={Ecological Informatics},
volume={61},
pages={101236},
year={2021},
publisher={Elsevier}
}