Run the Open Library Scraper from your terminal. These snippets call the hosted Actor — there is no scraper source code to install.
npm install -g apify-cli
apify login # paste your API token from Apify Console → Settings → Integrationsapify call logiover/openlibrary-scraperapify call logiover/openlibrary-scraper --input '{
"mode": "search",
"query": "science fiction",
"maxResults": 500
}'apify call logiover/openlibrary-scraper --input '{
"mode": "subject",
"subject": "mystery",
"maxResults": 300
}'apify call logiover/openlibrary-scraper --input '{
"mode": "author",
"query": "Isaac Asimov",
"maxResults": 50
}'apify call logiover/openlibrary-scraper --input '{
"mode": "bookDetail",
"workIds": ["OL27258W", "OL45804W", "OL262238W"]
}'apify call logiover/openlibrary-scraper --input '{
"mode": "search",
"query": "isbn:9780345391803"
}'cat > input.json <<'JSON'
{
"mode": "search",
"query": "fantasy",
"author": "tolkien",
"sort": "rating",
"maxResults": 1000
}
JSON
apify call logiover/openlibrary-scraper --input-file input.jsoncurl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN" -o books.csv📄 Documentation only.