Chocodata
terminal

Homebrew - macOS / Linux / Windows

CLI

Single-binary CLI for one-off scrapes, scripting, and CI pipelines. Outputs JSON or CSV. No language runtime needed.

Quick start

1. Install

# macOS or Linux via Homebrew
brew install chocodata-com/tap/chocodata

# Linux via curl
curl -sSL https://chocodata.com/cli/install.sh | bash

# Windows via Scoop
scoop bucket add chocodata https://github.com/Chocodata-com/scoop-bucket
scoop install chocodata

2. Authenticate

# Stores the key in ~/.chocodata/config.toml
chocodata auth login

# Or set CHOCODATA_API_KEY in your env
export CHOCODATA_API_KEY=cd_live_...

3. Scrape your first product

chocodata product B08N5KWBKK
# {"id":"B08N5KWBKK","title":"...","price":...,"rating":...}

# Or pretty-print
chocodata product B08N5KWBKK --pretty

# Or pull a different region
chocodata product B08N5KWBKK --domain de

How-to

Run a search and pipe to jq

chocodata search "wireless earbuds" --site google --pages 3 --format json | jq '.results[] | .url'

Bulk-scrape IDs from a file

# ids.txt: one product ID or URL per line
chocodata batch --file ids.txt --format csv > products.csv

# Or use stdin
cat ids.txt | chocodata batch --format json > products.jsonl

CI pipeline (GitHub Actions)

# .github/workflows/scrape.yml
name: Daily price scrape
on:
  schedule:
    - cron: "0 6 * * *"

jobs:
  scrape:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: curl -sSL https://chocodata.com/cli/install.sh | bash
      - run: chocodata batch --file ids.txt --format csv > prices-$(date +%F).csv
        env:
          CHOCODATA_API_KEY: ${{ secrets.CHOCODATA_API_KEY }}
      - uses: actions/upload-artifact@v4
        with:
          path: prices-*.csv

Available commands

chocodata product <ID>               # single product detail
chocodata search <query>             # search results
chocodata batch [--file FILE]        # async batch (up to 1,000 items)
chocodata usage                      # current credit balance
chocodata keys list                  # API keys on your account
chocodata auth login | logout
chocodata --help                     # full reference

Why use the CLI?

Single binary, zero runtime

No Node, Python, or Go install required on the host. One executable, runs anywhere.

Pipe-friendly

JSON output by default works with jq, fx, mlr, and any Unix pipe. CSV mode for spreadsheets and BI tools.

Built for cron and CI

Reads `CHOCODATA_API_KEY` from env. Fails with non-zero exit codes that CI runners detect. Resumable on partial batch failures.

Streaming batch

`chocodata batch --stream` writes results to stdout as they complete; pipe straight into a database or queue without buffering the whole batch.

Official resources

Pricing

Same rate across every integration. Monthly plans from $19 or pay-as-you-go at $0.90 per 1,000 successful requests. 1,000 free on signup.

Free

$0

Forever free on signup

  • check_circle1,000 requests / month (5,000 credits)
  • check_circle10 concurrent requests
  • check_circleAll 237 targets
  • check_circleFull dashboard + analytics
  • check_circleTop-up at $0.90 / 1k
  • check_circleCommunity support
Start free
Most popular

Vibe

$19 / month

$0.70 / 1k effective

  • check_circle27,000 requests / month (135,000 credits)
  • check_circle30 concurrent requests
  • check_circleAll 237 targets + content-language
  • check_circleCountry-matched residential IPs
  • check_circlePer-API-key usage tracking
  • check_circleTop-up at $0.90 / 1k
  • check_circleEmail support (1 business day)
Get Vibe

Pro

$49 / month

$0.60 / 1k effective

  • check_circle82,000 requests / month (410,000 credits)
  • check_circle50 concurrent requests
  • check_circlePriority routing queue
  • check_circleCountry-matched residential IPs
  • check_circleTeam seats (up to 5)
  • check_circleTop-up at $0.90 / 1k
  • check_circleEmail + chat support
Get Pro

Custom

$100-$2k / month

Flat $0.50 / 1k effective at every level

  • check_circle200k - 4M+ requests / month
  • check_circle100-500+ concurrent requests
  • check_circlePriority queue (highest)
  • check_circlePremium proxy pool + SLA on request
  • check_circleUnlimited team seats
  • check_circleWire / invoice / annual PO
  • check_circleDedicated Slack channel
Pick Custom level

Pay-as-you-go top-up

$0.90 / 1,000 successful requests

Available on every plan including Free. Top up any time when included credits run out. Only 2xx responses charged. Balance never expires.

Install the CLI

1,000 free requests on signup. No credit card required.