What is this?

The CLI is a small program that talks to the public API of C99PHP.COM (https://www.c99php.com). You type a command, it fetches the data and prints it as a table, or as JSON if you want to use it in your own scripts.

  • Look up the latest entries, a domain or a notifier
  • Show global statistics
  • Export results as JSON for scripts and reports
  • Read-only: it cannot submit, change or delete anything

Requirements

Python 3.8 or newer. Nothing else to install. Check with:

python3 --version

Windows: use python instead of python3 (or install Python from python.org). macOS and most Linux systems already include it.

1. Download

Download c99php-com.py

Open a terminal in the folder where the file was saved (e.g. Downloads) and test it:

python3 c99php-com.py --version

The tool is preconfigured for https://www.c99php.com. Use --url to point it to another server.

2. API key (optional)

Without a key you get 100 requests per hour. With a free account and key: 10,000 per day. Create a key at My API, then save it once:

python3 c99php-com.py config --key sk_your_key_here

The key is stored in your home folder (~/.config/c99php-com/config.json). Alternatively set the environment variable DEFACER_API_KEY. Never share your key.

3. Commands

python3 c99php-com.py latest -n 20           # latest entries
python3 c99php-com.py domain example.com     # entries for a domain
python3 c99php-com.py attacker NAME          # entries for a notifier
python3 c99php-com.py stats                  # global statistics
python3 c99php-com.py search exam            # domain autocomplete
python3 c99php-com.py latest --json          # raw JSON for scripts
python3 c99php-com.py latest --page 2 -n 50  # paging (max 200 per page)

Example

$ python3 c99php-com.py latest -n 2
ID       Date                 Notifier          Domain              CC   Flags  Mirror
12345    2026-10-25 10:00:00  SomeNotifier      example.com         DE   S-H    https://www.c99php.com/mirror/12345/...
12344    2026-10-25 09:41:12  Other             example.org         US   --H    https://www.c99php.com/mirror/12344/...

Page 1 - 2 shown - 12345 total

Flags: S = special, M = mass, H = homepage. The last column links to the archived mirror.

FAQ

"Rate limit exceeded" (HTTP 429)?
You used up the hourly limit. Wait, or add an API key (step 2).

"python3 not found" on Windows?
Use python or py instead.

Can I use it in scripts?
Yes, add --json and pipe the output, e.g. into jq.

Show all options?
python3 c99php-com.py --help or python3 c99php-com.py latest --help