C API - Overview
Version 0.4.0

DuckDB implements a custom C API modelled 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 applications is programmed against the SQLite C API, you can re-link to DuckDB and it should continue working. See the sqlite_api_wrapper folder in our source repository for more information.


The DuckDB C API can be installed as part of the libduckdb packages. Please see the installation page for details.

Pages in this Section

Search Shortcut cmd + k | ctrl + k