Documentation Index
Fetch the complete documentation index at: https://docs.onlyfanskit.dev/llms.txt
Use this file to discover all available pages before exploring further.
onlyfanskit-cli ships the onlyfans command for connecting accounts,
sending DMs, validating sessions, running health checks, and streaming events
from scripts or your terminal.
Conventions
- All output goes to stdout; diagnostics go to stderr.
- Pass
--jsonfor machine-parseable output (defaults to a human summary). - Exit codes:
0success,1validation/usage error,2runtime/API failure. - Credentials come from the environment or
--account <id>(looked up in the local account registry — seeaccounts:add).
Credentials
Set the session in your environment, or register named accounts withonlyfans accounts:add and select them per command with --account: