@socialrouter/cli package lets you run extractions, browse providers, and check your account directly from the terminal. It wraps the SDK and adds formatted output with spinners.
Installation
Authentication
Set your API key as an environment variable:Quick example
All commands
extract
Extract data from one or more social media URLs.
search
Run a query-driven search (e.g. Google Maps).
get
Retrieve a previous extraction or search by ID.
providers
List available providers and pricing.
balance & usage
Check credits and usage stats.
JSON output
Every command supports a-j / --json flag for raw JSON output, useful for piping into other tools: