Skip to main content

ScrapeBadger CLI

A command-line tool for accessing ScrapeBadger APIs directly from your terminal. Supports multiple output formats, pipe-friendly design, and field selection.

Install

Quick Start

Authentication

The CLI resolves your API key in this order:
  1. SCRAPEBADGER_API_KEY environment variable
  2. .env file in the current directory
  3. ~/.config/scrapebadger/config.json (saved via scrapebadger auth)

Output Formats

Every command supports --output (-o) to choose the format:

Field Selection

Use --fields (-f) to include only specific columns:

Commands

Pipeline Examples

Environment Variables