Skip to main content

Built by makers, shipped in public

Sign in
Spyglass CLI logo

Developer Tools

Spyglass CLI

Command-line interface for the Spyglass API

Community votes
0
DR by Ahrefs
4 no change since last check

Ahrefs Domain Rating benchmarked 19 Nov 2026, rebuilt 19 Nov 2026.

Official CLI that runs every Spyglass API endpoint as a command, available as a native binary for macOS, Linux, and Windows.

What it is

Screenshot of the Spyglass CLI homepage
docs.spyglass.so, as visitors see it

Spyglass CLI is the official command-line interface for the Spyglass API. It runs every API endpoint as a spyglass command and ships as a native binary for macOS, Linux, and Windows. The CLI is generated from the same OpenAPI spec as the SDKs, ensuring it stays synchronized with the API.

The CLI supports authentication via API keys, can be used in terminal, scripts, CI pipelines, and with coding agents. It outputs results as JSON when piped, and as tables in terminals. Output formats include JSON, table, YAML, CSV, JSONL, raw, and HTTP.

What it is built with

  • Runs every Spyglass API endpoint as a command
  • Native binary for macOS, Linux, and Windows
  • API key authentication with keychain support
  • Multiple output formats including JSON, table, YAML, CSV, JSONL
  • JMESPath filtering with --query flag
  • Automatic retry of network errors and retryable statuses
  • Shell completion for zsh, bash, and fish
  • Integration with coding agents like Cursor, Claude Code, and Codex
  • Dry-run mode to preview HTTP requests without spending credits
  • Machine-readable command catalog with --schema flag
Follow the workshop. Log in to follow Spyglass CLI's workshop

Following Spyglass CLI means an email when they reach a milestone, post an update or launch a new product.

Spyglass CLI metrics

Benchmarks for docs.spyglass.so: Ahrefs Domain Rating and Majestic link data, with the change since the last build.
MetricValue
Domain Rating4 no change since last check
Trust Flow0 no change since last check
Citation Flow0 no change since last check
Referring domains0 no change since last check
External backlinks0 no change since last check

Ahrefs Domain Rating benchmarked 19 Nov 2026, rebuilt 19 Nov 2026. Majestic benchmarked 19 Nov 2026, rebuilt 19 Nov 2026. Link data built by Majestic. Trust Flow, Citation Flow and Topical Trust Flow are trademarks of Majestic-12 Ltd.

Spyglass CLI domain build sheet

Open the build sheet
Public RDAP record, last read 20 Nov 2026, 02:50 UTC.
Domain age6 months
Registered
Expires
RegistrarNameCheap
DNSSECNot signed

Inspect spyglass.so's registration

Spyglass CLI after-launch build log

Since Spyglass CLI launched on Maker Launches on 19 November 2026, these are the figures we have tracked.

Domain Rating (Ahrefs)
4
First measured 19 Nov 2026
Trust Flow (Majestic)
0
First measured 19 Nov 2026
Referring domains (Majestic)
0
First measured 19 Nov 2026

Day 0 since launch. Next receipt: day 30, 19 Dec 2026. We show what changed, not what caused it: many things affect these numbers. Nothing here is estimated.

Biggest gains on Maker Launches

Planning a launch?

Plan your launch with our free playbook, from preparing your listing to choosing more launch directories.

  • The week before
  • Launch day
  • Launch week
  • Afterwards

Get the launch playbook

Questions from the bench

How do I install the Spyglass CLI?
Install via npm with: npm install -g @spyglasshq/cli. Verify the installation with: spyglass --version. Alternatively, you can use npx, shell scripts for macOS/Linux, or PowerShell for Windows.
How do I authenticate with the Spyglass CLI?
Get an API key from Settings → API in the dashboard, then export it as SPYGLASS_API_KEY environment variable. Alternatively, use spyglass auth login to store it in your OS keychain, or store it in a .env file in your working directory.
What output formats does the CLI support?
The CLI outputs as a table in the terminal and as JSON when piped. You can explicitly set the format with --format json|table|yaml|csv|jsonl|raw|http or with the SPYGLASS_OUTPUT environment variable.
Can the CLI be used with AI coding agents?
Yes, the CLI is designed for agents such as Cursor, Claude Code, and Codex. It outputs JSON when not in a terminal, supports --dry-run for preview without spending credits, and has machine-readable schema output. Agents supporting MCP can use the hosted MCP server without an API key.
How do I filter CLI output?
Use the --query flag with a JMESPath expression to filter the response before it prints. For example: spyglass media search --account-id "$BRAND_ID" --limit 10 --query 'media[].{hook: hook, url: url}'

Leave a review for Spyglass CLI

Nobody has put Spyglass CLI on the bench yet. Leave the first review.

Your rating

Reviewing is free, and nobody can pay for a review. Read the bench notes

Maker reviews · Workshop notes · Show it off · Did you make this? Claim it · Report this build

More on this profile

Spyglass CLI has a free listing. The owner can unlock the full profile with a paid launch for $5:

  • Founder story (locked)
  • Milestones (locked)
  • Demo video (locked)
  • Dofollow website link: not on this free listing (its website link is nofollow)

More builds like this

Ask us