barkd exposes the bark wallet as a local REST API, so you can integrate bitcoin payments into your application over HTTP. It supports Ark, Lightning, and on-chain operations. As a long-running daemon, it is best suited for always-on environments like servers, desktops, nodes, and point-of-sale terminals.
Running barkd
Start the daemon to expose the API on a local port:
barkd --datadir <path-to-bark-data>
The API is then available at http://localhost:3535/api/v1. The daemon also serves its own interactive Swagger UI at /swagger-ui and the raw OpenAPI spec at /api-docs/openapi.json.
The barkd API is designed for local use. Do not expose it to the public internet without authentication—anyone with access can control the wallet.