Skip to main content
pdsx can read public records from any repository without authentication using the -r flag.

basic usage

read with handle

pdsx automatically discovers the correct PDS:
  1. handle → DID (via DNS TXT or HTTPS well-known)
  2. DID → PDS URL (from DID document)
  3. fetches records from correct PDS
automatic PDS discovery works for any handle or DID, including custom PDS instances. no manual configuration needed!

read with DID (more durable)

DIDs are permanent identifiers - they don’t change if user updates their handle.

handles vs DIDs

handles can change or be reassigned. DIDs are permanent. use DIDs for automation or long-term references.

pagination

cursors are opaque tokens. for json/yaml output, they go to stderr to avoid breaking parsing. for compact/table output, they appear after results. both humans and LLMs can copy the cursor value for the next command.

output formats

examples

common collections

what’s next