The CLI turns every SocialGO action into a command you can pipe, schedule and hand to an agent. Search the catalog, place orders, track them and check balance, from your terminal, a CI pipeline or a bot.
Installnpx @socialgo/cli
Commands5.000+
What you build on it
One command surface. Scripts, pipelines and agents.
Same commands the dashboard runs on. Exposed for code. Stitch them into a shell script, a CI step or an autonomous agent. Every command returns a clean exit code and machine-readable JSON.
Scripts
Chain commands in a shell script: find a service, place the order, poll the status. Pass --json and parse the output with jq.
Pipelines
Drop the CLI into a CI step or a cron job. It exits 0 on success and non-zero on failure, so your pipeline stops when an order does.
Agents
Hand the commands to an AI agent. It reads the catalog, confirms the rate and quantity, then places the order, the same calls you'd type by hand.
Spending is explicit. Search and list are read-only; an order only happens when you run order create with a service, link and quantity, in a script or by hand. The CLI never spends on its own.
Install
Install the CLI globally with npm, or run it on demand with npx and skip the install:
# install globally
npm i -g @socialgo/cli
# or run without installing
npx @socialgo/cli --help
Once installed, the socialgo command lives on your PATH. Run socialgo --help to list every command and flag.
For panel operators: pull the latest services and pricing from your connected provider into the local catalog. Requires an admin key:
socialgo admin sync-catalog
The three-command loop
Find a service, place the order, track it. The loop every script and agent runs:
# 1. find the service id
socialgo services search "instagram followers"
# 2. place the order
socialgo order create --service 1423 --link https://instagram.com/yourhandle --quantity 1000
# 3. track it
socialgo order status 90871
Script it end to end
Pass --json to any command and pipe it into jq. Here the script picks the cheapest matching service, then orders it, no clicking:
# pick the cheapest matching service, then order — with jq
id=$(socialgo services search "instagram followers" --json \
| jq -r 'sort_by(.rate) | .[0].id')
socialgo order create --service "$id" \
--link https://instagram.com/yourhandle --quantity 1000 --json
Exit codes & JSON
Every command returns 0 on success and a non-zero code on failure, so you can chain calls in CI pipelines and shell scripts. Pass --json to any command for machine-readable output to pipe into tools like jq, or to feed straight back to an agent.