Skip to content
//CENDOJ Scraper – Spanish Case Law example\\

Mortgage-fee rulings with key passages

Supreme Court civil rulings with the 3 passages that mention the search words.

Updated November 27, 2026

What this example returns

This example returns up to 3 rulings.

The dataset’s “Full text” view shows 10 columns: ROJ, ECLI, Court and chamber, Date, Procedure, Pages, PDF, Text, Key passages, and Error. See every output field.

What each setting does

The input this example runs CENDOJ Scraper – Spanish Case Law with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search terms, ECLI or ROJ numbers searchTerms

gastos hipotecarios

What to search in CENDOJ's case law. Each line is one search. Words and "exact phrases" work, with the operators AND, OR, NOT and NEARn (or the site's Y, O, NO, PROXn), written in capitals. To fetch one known ruling, enter its ECLI (ECLI:ES:TS:2019:102) or ROJ (STS 102/2019) alone on a line. Leave empty and set…

Max rulings per search term maxResults

3

How many rulings to save for each search term. The site serves at most 200 per query; above 200 the actor collects the rest newest first in date windows.

Default: 20 → this example uses 3

Court organoTypes

11

Only rulings from these courts or chambers. Empty = all courts.

Add the full text of each ruling includeFullText

Yes

Download each ruling's PDF and add its text, page count, chamber, seat, section and procedure. Slower, and billed as an extra event per ruling with text.

Default: No → this example uses Yes

Key passages only paragraphs

3

When text is extracted, return only this many paragraphs that mention your search words (preferring the legal reasoning) instead of the whole ruling. 0 = whole text.

Default: 0 → this example uses 3

.json
{
  "searchTerms": [
    "gastos hipotecarios"
  ],
  "organoTypes": [
    "11"
  ],
  "includeFullText": true,
  "paragraphs": 3,
  "maxResults": 3
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Rulingfrom $0.0003One court ruling saved to the dataset.
  • Full textfrom $0.000321Full text of one ruling extracted from its PDF (only with full text on).
  • Actor startfrom $0.0204Charged once when a run starts.

Full pricing

When to use this example

From the CENDOJ Scraper – Spanish Case Law readme:

Why is a field empty?

Not every ruling has every field: older rulings may lack a ruling number, and jurisdiction is only set when you filtered by exactly one jurisdiction (CENDOJ does not show it in the list; with full text, procedure gives it for each ruling).

Known limit

If the site asks for an image check on a download, that PDF is reported with an error; the actor does not solve image checks.

Other ways to run CENDOJ Scraper – Spanish Case Law

All examples of CENDOJ Scraper – Spanish Case Law

About CENDOJ Scraper – Spanish Case Law

Search Spain's official case-law database CENDOJ (poderjudicial.es) by keyword, ECLI or ROJ with court, jurisdiction, region and date filters. Get ECLI, ROJ, court, date, judge, appeal number, summary and PDF link, plus optional full text. No login needed.

Price:
From $0.30 / 1,000 results
Developer:
Querystone

CENDOJ Scraper – Spanish Case Law pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.