propline-cli
v0.15.0
Published
Command-line interface for the PropLine player props betting odds API. Wraps the propline SDK with pretty-printed tables and JSON output.
Maintainers
Readme
propline-cli
Terminal interface for the PropLine player props betting odds API. Wraps the propline Node SDK with pretty-printed tables and a --json opt-out.
npx propline-cli live
# or, for repeated use:
npm install -g propline-cli
propline liveAuth
Set your API key once:
export PROPLINE_API_KEY=your_key_hereOr pass --api-key per-invocation. Get a free key at https://prop-line.com/?ref=cli.
Quick examples
# Every game in progress, across every sport
propline live
# Today's MLB slate
propline events baseball_mlb
# Cross-book odds for one event
propline odds baseball_mlb 12345 --markets h2h,spreads,totals,player_points
# First-quarter NBA totals only (game-period filter on every odds command)
propline odds basketball_nba 12345 --markets totals --period q1
# Scores from the last 3 days
propline scores basketball_nba
# Game context — probable pitchers, umpire, first-pitch weather (free)
propline context baseball_mlb 12345
# Cross-book +EV plays (Pro tier)
propline ev baseball_mlb 12345 --plus
# Player prop history (Pro tier)
propline player-history baseball_mlb "Aaron Judge" --market batter_home_runs
# Aggregated hit-rate trends per market (Pro tier)
propline player-trends baseball_mlb "Aaron Judge"
propline player-trends baseball_mlb "Aaron Judge" --market batter_total_bases
# Scope the trend to a PrizePicks flavor's line (standard | goblin | demon)
propline player-trends baseball_mlb "Aaron Judge" --dfs-odds-type goblin
# Bulk CSV export of resolved props (Pro tier)
propline export-resolved-props --sport baseball_mlb --since 2026-04-01T00:00:00Z --out mlb-resolved.csv
# Manage webhook subscriptions (Streaming tier)
propline webhooks list
propline webhooks create --url https://example.com/hook --events line_movement,resolution --sport baseball_mlb
propline webhooks deliveries 42Commands
| Command | Description |
| --- | --- |
| propline sports | List available sports |
| propline events <sport> | List upcoming events for a sport |
| propline odds <sport> [event_id] | Bulk odds (no event_id) or per-event (with). --period q1 (or h1/p1/f5/…) filters to game-period markets. |
| propline history <sport> <event_id> | Historical line movement; supports --from/--to, --relative-from/--relative-to, --interval, --changes-only, --period (Hobby+) |
| propline closing <sport> <event_id> | Closing line per (book, market, outcome) — CLV helper. --period accepted (Hobby+) |
| propline scores <sport> | Recent scores + status |
| propline futures <sport> | Season-long futures — championship/division/conference winners, MVP + awards, season win totals across Bovada/FanDuel/DraftKings/Pinnacle (free) |
| propline context <sport> <event_id> | Game conditions a prop settles under — probable pitchers, lineup, home-plate umpire, first-pitch weather (free) |
| propline movement <sport> <event_id> | Line movement + steam detection across books — sharp-money signal (Hobby+) |
| propline resolution-summary | Graded-prop volume + per-sport breakdown (free) |
| propline live | Every in-progress game across the major sports |
| propline ev <sport> <event_id> | Cross-book +EV vs no-vig fair line (Pro) |
| propline player-history <sport> <player> | Recent prop history for a player on a market |
| propline player-trends <sport> <player> | Aggregated hit-rate trends per market — L5/L10/L20/L50 over/under splits + current streak. --market <key> to filter, --dfs-odds-type <flavor> to scope to a PrizePicks flavor (Pro full, Free redacted) |
| propline export-resolved-props --sport <key> | Bulk CSV export of resolved props (Pro) |
| propline webhooks list / create / delete / test / deliveries | Webhook management (Streaming) |
Run propline <cmd> --help for the full flag set on any command.
Global flags
--api-key <key>— overridesPROPLINE_API_KEY--base-url <url>— point at a self-hosted / staging deployment (defaulthttps://api.prop-line.com/v1)--timeout <seconds>— request timeout (default 15)--json— emit raw JSON instead of a table; pipe-friendly withjq
License
MIT
