Casa del Libro Books Scraper (Spain) avatar

Casa del Libro Books Scraper (Spain)

Pricing

from $2.00 / 1,000 book listings

Go to Apify Store
Casa del Libro Books Scraper (Spain)

Casa del Libro Books Scraper (Spain)

Extract book listings from Casa del Libro, a major Spanish bookstore: title, author, publisher, category, ISBN, format, page count, price, currency, stock status, language and publication date.

Pricing

from $2.00 / 1,000 book listings

Rating

0.0

(0)

Developer

Vivien MORVAN

Vivien MORVAN

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Scrape Casa del Libro, a major Spanish bookstore, for book data: title, author, publisher, category, ISBN, format, page count, prices and stock status, ready for price tracking, market research and catalog comparison in Spain.

What you can do with it

  • Track book prices in Spain: pull current price, currency and stock status for new and recently reissued titles.
  • Build a catalog or price-comparison feed: export title, author, publisher, ISBN, format and page count for cataloging or matching against your own inventory.
  • Research the Spanish publishing market: see which publishers and categories dominate newly released books over the last 30 days.
  • Feed a book recommendation or metadata database: ISBN, language and publication date are ready for deduplication against other sources.

Input

FieldWhat it does
Maximum number of booksThe run stops once this many books are saved.

Output

One record per book:

{
"title": "Responsabilidad por daños en la construcción modular de edificios",
"author": "PEDRO PEREZ CABALLERO ABAD",
"publisher": "Editorial Dykinson, S.L.",
"category": "Derecho civil",
"isbn": "9791370474553",
"bookFormat": "Paperback",
"numberOfPages": 156,
"price": 19,
"currency": "EUR",
"inStock": false,
"language": "es",
"datePublished": "2026-10-01",
"url": "https://www.casadellibro.com/libro-responsabilidad-por-danos-en-la-construccion-modular-de-edificios/9791370474553/18780048"
}

Export the dataset as JSON, CSV or Excel, or read it through the Apify API.

Good to know

  • Books are listed from Casa del Libro's own "new and recently reissued books" sitemap (last 30 days for printed books, ebooks and audiobooks, last 7 days for textbooks, last 90 days for pre-orders), not a paginated listing: the site's robots.txt blocks every listing, sort and search path (/libros/p1*.../p9*, /libros/ordenar*, /libros/*?*, /fichas*, /libreria*), so the sitemap is the only discovery path available. A typical run has several thousand book URLs to pick from.
  • inStock reflects the edition's real-time availability on the site: a false value means the edition is currently out of stock, not a scraping error.
  • author is the book's own published bibliographic credit (the same kind of public attribution as a film's director), never a private individual's contact data. Co-written books list every credited author.
  • category is the most specific category Casa del Libro's own breadcrumb gives for the book (e.g. "Derecho civil", "Poesía contemporánea española del XIX al XXI").
  • price and numberOfPages are numbers, not text, even though the site publishes them as strings.
  • A handful of listed editions occasionally come back 404 between the sitemap being generated and the page being fetched (taken off sale, merged into another ISBN); those are skipped rather than failing the run.
  • No browser and no proxy needed: runs are fast and cheap.
  • The dataset contains public book catalog information only. No personal data of any individual (buyer, reviewer, or bookstore staff) is collected.

Why this one

  • One record per book with its ISBN. isbn, author, publisher, bookFormat and numberOfPages are separate fields.
  • Prices and stock. price, currency and inStock for every book, ready for price tracking.

Pricing

Pay per result: $2.00 per 1,000 books, plus $0.00005 per run start. For example, 100 books cost about $0.20. You only pay for the books you receive, and platform usage is included in that price.

Run it from your code

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('bibian/casadellibro-books-scraper').call({
maxItems: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

Python:

from apify_client import ApifyClient
client = ApifyClient(token="<APIFY_TOKEN>")
run = client.actor("bibian/casadellibro-books-scraper").call(run_input={
"maxItems": 50
})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Frequently asked questions

Do I need an account, cookies or a proxy for Casa del Libro? No. The actor reads publicly visible pages only.

How do I track book prices? Schedule a daily run with Apify Schedules and compare price and inStock for the same isbn between runs.

Which formats can I export? JSON, CSV, Excel, XML, HTML table or RSS, from the dataset page or through the API.

Can I connect it to Make, Zapier, n8n or Google Sheets? Yes, through Apify integrations and webhooks.

Is it legal to scrape? The actor collects publicly visible book data and respects the robots.txt rules of the site. How you use the data is your responsibility: check the site's terms and the laws that apply to you, for example the GDPR.

Something does not work? Open an issue in the Issues tab. Every public actor is test-run daily and the broken ones are repaired.

Did this save you time? A short review on the Store page helps other people find the actor, and tells me what to improve next.

More data scrapers by the same author