PeerDB provides multiple API endpoints to interact with it through the UI endpoint as a proxy. This is an ongoing effort to eventually expose all of PeerDB’s functionality in the form of API endpoints for programmatic use-cases.

Base endpoint

The base endpoint is the URL of PeerDB UI.

PeerDB OSS

When running PeerDB OSS on Docker, PeerDB UI is exposed at:

http://localhost:3000

PeerDB Cloud

When using PeerDB Cloud, the URL is provided as part of the PeerDB instance you purchase.

Authentication

PeerDB API uses basic authentication. The username is empty and the password is the same password used to login to PeerDB UI.