Menu

weird stats

Traffic statistics of your sites: daily summary, top pages, opt-in detail.

weird stats [flags]

Also: weird statistics, weird traffic.

Traffic statistics of your own sites, pins and content.

The daily summary is included with storage, for every hostname and pin: requests and traffic per UTC day, how much came from the gateway's cache, the status classes (and exactly how many pages were not found), the requests per UTC hour and the most requested pages. It is made from the gateway's log of host, path without its query, status, size, cache tier and hour: nothing about who visited.

Detailed statistics are opt-in, per site, and only the site's owner can switch them on: visitors and visits per day, referring sites (host name only), countries, browsers, systems and devices, entry pages, missing pages with the site linking to them, and declared crawlers or unusually fast clients against the rest. Visitors are counted per day with a key that changes every day and differs per site, so counts cannot be linked from day to day or across sites. Your visitors' IP addresses, browser identification and referring sites are read on the gateway only to make these counts and are deleted within 48 hours at most; no cookie or script is added to your pages. Switching them on is your own legal act — you are the controller of your visitors' data and weird processes it for you — and every hour they are on uses credits (weird stats detail on --help).

weird stats sites                     what was requested, last 30 days
weird stats summary example.ro        a daily table and the hours
weird stats today example.ro          today so far
weird stats pages example.ro          the top pages of yesterday (--missing: not found)
weird stats detail example.ro         visitors, referring sites, countries, devices
weird stats detail on example.ro      switch detailed statistics on (asks first)
weird stats detail off example.ro     switch them off
weird stats settings                  which sites have detailed statistics on
weird stats export example.ro -o x.csv

A site is a hostname, a pin id, a CID or the key of one of your IPNS names (weird stats sites lists them); days are UTC, YYYY-MM-DD.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Subcommands: detail, export, pages, settings, sites, summary, today.

weird stats detail#

Visitors per day, referring sites, countries, browsers and devices, bots (opt-in per site).

weird stats detail <site> [flags]

The detailed statistics of one of your hostnames, once switched on with weird stats detail on <site>: per UTC day the visitors (people counted once per site and day), visits (a visit ends after 30 minutes without a request), requests, declared crawlers and unusually fast clients; then the top entries over the range of each list: referring sites, countries, browsers, systems, devices, entry pages and missing pages (--only picks some, a comma list of referrers, countries, browsers, os, devices, entry_pages, not_found).

Visitors are counted per day with a key that changes every day and differs per site: counts cannot be linked from day to day or across sites, and there is no monthly count of unique people. Your visitors' IP addresses, browser identification and referring sites are read on the gateway only to make these counts and are deleted within 48 hours at most (the gateway's longest setting); a referring site is kept as its host name only. Countries come from IP geolocation; requests sent with the Global Privacy Control signal are counted in the summary only. No cookie or script is added to your pages.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--fromstringthe first UTC day, YYYY-MM-DD
--onlystringonly these lists (comma list: referrers, countries, browsers, os, devices, entry_pages, not_found)
--tostringthe last UTC day, YYYY-MM-DD (default today)

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsDetail.

Subcommands: off, on.

weird stats detail off#

Switch detailed statistics off for one of your sites (free).

weird stats detail off <site> [flags]

Stops detailed statistics for one of your hostnames at once: no more visitor data is read for it and no further hour is charged. What was collected stays readable and exportable for its usual period. Always possible, also while the account is restricted or its storage unpaid; only the site's owner can switch it.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsSettings, disableIpfsDomainStatsDetail.

weird stats detail on#

Switch detailed statistics on for one of your sites (shows the terms and the hourly credit charge, asks first).

weird stats detail on <site> [flags]

Starts detailed statistics for one of your hostnames. Only the site's owner can switch them on (access given to you on a domain does not include it).

Every hour they are on uses credits, per site; switching on is charged too — the credit charges are shown, in credits, before you confirm. When the hours cannot be charged, collection pauses and resumes by itself once your credits cover them; what was collected stays readable. Switching on a site that is on already changes nothing and is not charged.

Visitors are counted per day with a key that changes every day and differs per site: counts cannot be linked from day to day or across sites, and there is no monthly count of unique people. Your visitors' IP addresses, browser identification and referring sites are read on the gateway only to make these counts and are deleted within 48 hours at most (the gateway's longest setting); a referring site is kept as its host name only. Countries come from IP geolocation; requests sent with the Global Privacy Control signal are counted in the summary only. No cookie or script is added to your pages.

Switching them on is your own legal act: you are the controller of your visitors' data, and weird processes it for you under its data processing agreement (read it: weird legal show dpa). The terms are shown, with the agreement's title and version, and you type "yes" to accept them; in scripts pass --accept-controller-terms (--yes, which approves the credits it takes, does not give it). Your acceptance is kept: it is asked for the first time, and again only when the text changes (the text is still shown). While no data processing agreement is published, detailed statistics cannot be switched on; nothing is charged.

Cost, in credits (every credit charge is in weird credits charges): ipfs.stats-detailed-enable per_request, taken before it runs (returned if it fails); ipfs.stats-detailed-hourly per_host_hour × the account's sites with detailed statistics on in that hour (each site once per hour it is on for any part of), taken every hour while it exists; ipfs.stats-detailed-hourly per_million_requests × requests analysed for those sites, per million: the requests of the hour the gateway turned into detailed statistics (a request carrying the Global Privacy Control signal is never analysed nor counted), billed with the hour's charge, taken for what is used; ipfs.reads per_request per successful request. You are shown the credits it takes and asked first. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--accept-controller-termsboolaccept the controller terms shown (you are the controller of your visitors' data; --yes does not imply it)

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsSettings, legalAcknowledgements, legalDocuments, enableIpfsDomainStatsDetail.

weird stats export#

Save a site's statistics over a range to a CSV or JSON file.

weird stats export <site> [flags]

Saves the statistics of a hostname, a pin id, a CID or an IPNS name's key over a range to a file: --level summary (one row per day, the hours as h00..h23) or detail (one row per day, per hour and per list entry), --format csv (a cell starting with =, +, - or @ is written with a leading ' so a spreadsheet never runs it) or json (the columns and the rows, the values exactly as recorded). The file is new (never overwritten); -o - writes to standard output.

weird stats export example.ro -o example-november.csv --from 2026-11-01 --to 2026-11-30

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--formatstringcsvcsv or json
--fromstringthe first UTC day, YYYY-MM-DD
--levelstringsummarysummary or detail
--output, -ostringthe file to write (default a name from the site and level; - for standard output)
--tostringthe last UTC day, YYYY-MM-DD (default today)

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: exportIpfsStats.

weird stats pages#

The most requested pages of a day, or the pages not found (--missing).

weird stats pages <site> [flags]

The most requested paths of a UTC day (yesterday by default), then every other path together; --missing lists the paths answered not found instead, most requested first — the links to fix. Paths never carry their query string; a very long path is cut. On a very varied site a count may be over by the margin shown.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--daystringa UTC day, YYYY-MM-DD (default yesterday)
--missingboolthe pages answered not found instead

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsPaths.

weird stats settings#

Which of your sites have detailed statistics on, and the terms you accepted.

weird stats settings [flags]

Which of your sites have detailed statistics on, and the terms you accepted.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsSettings.

weird stats sites#

Every hostname, pin and content of yours requested in a range (last 30 days by default).

weird stats sites [flags]

Also: weird stats subjects, weird stats list.

Every hostname, pin and content of yours requested in a range (last 30 days by default).

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--fromstringthe first UTC day, YYYY-MM-DD
--tostringthe last UTC day, YYYY-MM-DD (default today)

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: listIpfsStatsSubjects.

weird stats summary#

A site's daily requests, traffic, cache share and errors, and its busiest hours.

weird stats summary <site> [flags]

The daily summary of a hostname, a pin id, a CID or an IPNS name's key: per UTC day the requests, those answered with content, the traffic, the share served from the gateway's cache, pages not found and server errors; then the requests per UTC hour over the range as a sparkline. The summary is made from the gateway's log of host, path without its query, status, size, cache tier and hour: nothing about who visited. The numbers are as logged; your bill is authoritative.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

FlagTypeDefaultMeaning
--fromstringthe first UTC day, YYYY-MM-DD
--tostringthe last UTC day, YYYY-MM-DD (default today)

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsSummary.

weird stats today#

Today's (UTC) requests, traffic and status classes so far.

weird stats today <site> [flags]

Today's (UTC) counts of a site so far, updated within minutes; the day's full summary, with its hours and pages, follows after the day ends.

Cost, in credits (every credit charge is in weird credits charges): ipfs.reads per_request per successful request. A refused or failed call is free of the per-request charges.

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: getIpfsStatsToday.

This page is generated from the weird CLI; it changes when the CLI does.