CLI

Install the Anakin CLI and scrape your first page in 2 minutes

Last updated Apr 28, 2026

The CLI is the fastest way to use AnakinScraper. It handles job submission, polling, and output formatting for you.


Install the CLI

Requires Python 3.10+.

pip install anakin-cli

Authenticate

Save your API key (you only need to do this once):

anakin login --api-key "ak-your-key-here"

Verify it worked:

anakin status

Scrape your first page

anakin scrape "https://example.com"

The CLI submits the job, polls until it's done, and prints the markdown output to your terminal. That's it.

Save to a file:

anakin scrape "https://example.com" -o page.md

Go further

Extract structured JSON with AI

anakin scrape "https://news.ycombinator.com" --format json

AI automatically extracts structured data from the page — no schema needed.

Scrape JavaScript-heavy sites

anakin scrape "https://example.com/spa" --browser

Enables full browser rendering for SPAs and dynamic content. Only use when needed — standard scraping is faster.

Batch scrape multiple URLs

anakin scrape-batch "https://a.com" "https://b.com" "https://c.com"

Scrape up to 10 URLs in parallel with a single command.

Search the web with AI

anakin search "best web scraping libraries 2025"

Returns AI-powered search results instantly.

Deep research

anakin research "comparison of web frameworks 2025" -o report.json

Runs a multi-stage AI research pipeline across 20+ sources. Takes 1–5 minutes.


Next steps