CrawlProof

← Docs

CLI

crawlproof reads your account from a terminal: who arrived on every site you own, what your ads delivered, and — when a CoinPay merchant session is on the machine — what the bank actually did. It is the same data the dashboard renders, without a browser.

Install

curl -fsSL https://crawlproof.com/install.sh | sh

Installs under ~/.local and never asks for sudo; with no Node 22+ it fetches a private official Node first. Run it again to update; remove with sh ~/.local/share/crawlproof/uninstall.sh.

npm install -g @profullstack/crawlproof

Or with npm. Needs Node 22.6 or newer for the dashboard. stats and --json run anywhere.

Authenticate with an API token from Social → API tokens. Either export it, or drop it in ~/.crawlproof.json so you never have to think about it again.

export CRAWLPROOF_TOKEN=crp_…

# or, once:
echo '{ "token": "crp_…" }' > ~/.crawlproof.json && chmod 600 ~/.crawlproof.json

The dashboard

Five live screens: ROI, Traffic, Ads, Money and Spend. It refreshes on a timer.

crawlproof dashboard
crawlproof dashboard --range=1m --who=all
crawlproof dashboard --sites=example.com,blog.example.com

1-5 or Tab switches screens · w cycles the window · b cycles humans / all / bots · r refreshes · ? explains the arithmetic · q quits.

Aliases: roi and tui. On a machine with no terminal, --json prints the same snapshot the screens render.

crawlproof dashboard --json | jq .roi.derived
crawlproof dashboard --json | jq '.sites[] | {site, visitors}'

One property at a time

On Traffic, ↑/↓ pick a site and Enter — or a click on the row — opens it. That screen is only that domain: pageviews, visits, humans against bots, AI referrals and where they arrived from, next to the burn prorated onto it, its ad earnings and spend, and the commission when there is exactly one merchant business to attribute it to. Esc comes back.

crawlproof dashboard --sort=score
crawlproof dashboard --json | jq '.sites[] | {site, score: .score.score}'

s cycles the order: score, visitors, pageviews.

The risk-to-viral score

Every property is scored out of 100, shown as a column on the Traffic list and taken apart on the domain screen. It is arithmetic over numbers already on the screen, not a model, so a high score can always be traced to the figure that caused it.

score = 100 × viral × (1 − risk/2)

viral = momentum .40 + discovery .30 + humanity .20 + money .10
risk  = volatility .40 + concentration .30 + bot dependence .20 + unmonetised .10

A component with no data behind it is dropped and its weight redistributed, never counted as a zero. A trailing ~ marks fewer than 25 human visits in the window, and a site whose stats call failed is not scored at all — missing is not the same as bad.

Traffic, as text

Sources, referrers and top pages for one site. Defaults to the last day and humans only, because a launch is invisible inside a month of crawler traffic. With a single project the site can be left out.

crawlproof stats
crawlproof stats example.com --range=1w
crawlproof stats example.com --who=bots --json
example.com  1d  humans
172 visitors, 58 pageviews

Sources
  Referral · example.com     163
  Search · google              9

Pages
  /                           18
  /pricing                     7

Run an ad

CrawlProof reads the page, writes the creatives and starts serving. A URL that already has a live campaign gets that campaign back rather than a duplicate, so running it twice is safe.

crawlproof ad https://example.com/launch
crawlproof ad https://example.com/launch --budget=500 --name "Launch"

crawlproof ads
crawlproof ads show crawlproof-ad-144
crawlproof ads pause crawlproof-ad-144
crawlproof ads budget crawlproof-ad-144 250

A ref looks like crawlproof-ad-144.

What the numbers mean

Two rules run through the ROI arithmetic, and both exist because breaking either produces a friendlier number that is false.

Self-deal is not revenue. Where an account advertises on its own slots, ad spend and ad earnings are one dollar moving between two pockets. They appear under Internal and count as neither cost nor revenue.

Personal money is not business cost. A bank feed carries groceries next to servers, so cost is the business scope only, joined from each transaction’s account to that account’s books.

Everything is normalised to a monthly rate and then prorated onto the window you picked, because burn is a rate. The bank window is not the traffic range — bank data has no hourly resolution — so every panel names its own basis.

It also reports what it cannot know. A site that did not answer is shown as missing rather than zero, a vendor list built from one page of a longer ledger says so, and a fleet whose visits run far above its pageviews says that too. A “visitor” is any hit not classified as a crawler, which on a site with a machine-readable endpoint runs orders of magnitude above the pages anyone read, so the per-pageview figure sits beside the per-visitor one.

Money screens

The Money and Spend screens read a bank and card feed through CoinPay. They need a merchant session, which coinpay auth login writes to ~/.coinpay.json. Without one the other three screens still work and the money panels say what is missing rather than showing zero.

crawlproof dashboard --no-coinpay   # skip them entirely

Environment

VariableMeaning
CRAWLPROOF_TOKENAPI token. Falls back to the token field of ~/.crawlproof.json; --token beats both.
CRAWLPROOF_SITE_URLAPI base, default https://crawlproof.com.
COINPAY_SESSION_TOKENMerchant JWT for the money screens. Defaults to jwtToken in ~/.coinpay.json.

The API underneath

Every command is HTTP with a bearer token, so anything can call it.

curl -H "Authorization: Bearer $CRAWLPROOF_TOKEN" \
  https://crawlproof.com/api/tracker/v1/sites

curl -H "Authorization: Bearer $CRAWLPROOF_TOKEN" \
  "https://crawlproof.com/api/tracker/v1/stats?site=example.com&range=1d"

curl -H "Authorization: Bearer $CRAWLPROOF_TOKEN" \
  "https://crawlproof.com/api/ads/v1/earnings?days=30"