# libpq C Client Library

**Canonical:** https://apis.io/apis/postgres/libpq/  
**Provider:** PostgreSQL — https://apis.io/providers/postgres/  
**Base URL:** postgresql://hostname:5432  
**Documentation:** https://www.postgresql.org/docs/current/libpq.html

libpq C Client Library is one of 4 APIs that [PostgreSQL](https://apis.io/providers/postgres/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include Database, C Library, Client Library, and libpq. The published artifact set on APIs.io includes API documentation.

libpq is the official C application programmer's interface to PostgreSQL and the underlying library used by most other PostgreSQL client interfaces. It provides connection management, query execution, prepared statements, COPY support, asynchronous operations, and SSL/TLS.

## Machine-readable artifacts (1)

- **Documentation** — https://www.postgresql.org/docs/current/libpq.html

## Other PostgreSQL APIs (3)

- [PostgreSQL Wire Protocol](https://apis.io/apis/postgres/wire-protocol/)
- [PostgreSQL JDBC Driver](https://apis.io/apis/postgres/jdbc/)
- [PostgreSQL ODBC Driver (psqlODBC)](https://apis.io/apis/postgres/odbc/)

## Tags

Database, C Library, Client Library, libpq

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/postgres/libpq/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/postgres/.
