Overview
Installation To use the DuckDB C API, download the
libduckdbarchive for your platform.The latest stable version of the DuckDB C API is 1.5.5.
DuckDB implements a custom C API modeled somewhat following the SQLite C API. The API is contained in the duckdb.h header. Continue to Startup & Shutdown to get started, or check out the Full API overview.
We also provide a SQLite API wrapper which means that if your application is programmed against the SQLite C API, you can re-link to DuckDB and it should continue working. See the shell_helpers.cpp file in our source repository for more information.
Installation
The DuckDB C API can be installed as part of the libduckdb packages. Please see the installation page for details.