Amazon Scraper API
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/asa

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

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

2. Authenticate

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

# Or set ASA_API_KEY in your env
export ASA_API_KEY=asa_live_...

3. Scrape your first ASIN

asa product B08N5KWBKK
# {"asin":"B08N5KWBKK","title":"...","price":...,"rating":...}

# Or pretty-print
asa product B08N5KWBKK --pretty

# Or pull a different marketplace
asa product B08N5KWBKK --domain de

How-to

Search Amazon and pipe to jq

asa search "wireless earbuds" --pages 3 --format json | jq '.results[] | .asin'

Bulk-scrape ASINs from a file

# asins.txt: one ASIN per line
asa batch --file asins.txt --format csv > products.csv

# Or use stdin
cat asins.txt | asa 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://amazonscraperapi.com/cli/install.sh | bash
      - run: asa batch --file asins.txt --format csv > prices-$(date +%F).csv
        env:
          ASA_API_KEY: ${{ secrets.ASA_API_KEY }}
      - uses: actions/upload-artifact@v4
        with:
          path: prices-*.csv

Available commands

asa product <ASIN>             # single product detail
asa search <query>             # search results
asa batch [--file FILE]        # async batch (up to 1,000 ASINs)
asa usage                      # current credit balance
asa keys list                  # API keys on your account
asa auth login | logout
asa --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 `ASA_API_KEY` from env. Fails with non-zero exit codes that CI runners detect. Resumable on partial batch failures.

Streaming batch

`asa 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
  • check_circle10 concurrent requests
  • check_circleAll 20 marketplaces
  • 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
  • check_circle30 concurrent requests
  • check_circleAll endpoints + 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
  • 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.