# Peru Judicial Auctions (REMAJU Remates Judiciales) (`frankely84/peru-judicial-auctions-remaju`) Actor

All current electronic judicial auctions of Peru's Poder Judicial (REMAJU): houses, apartments, land, commercial property and vehicles with base price, location, department and offer deadline. Filters and daily watch alerts.

- **URL**: https://apify.com/frankely84/peru-judicial-auctions-remaju.md
- **Developed by:** [Frankelys Hernandez](https://apify.com/frankely84) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 auctions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Peru Judicial Auctions (REMAJU) – Remates Judiciales del Perú

Get **every current electronic judicial auction of Peru's Poder Judicial (REMAJU)** as clean JSON, CSV or Excel: houses, apartments, land, shops, offices, parking spaces and vehicles, with **base price (PEN or USD)**, **district and department**, **call (primera, segunda, tercera convocatoria)** and **offer deadline**. Filter by **department, district, property type, price, deadline and keywords**, and turn on **Watch mode** to get **daily alerts of new auctions**.

No login, no captcha, no API key: it reads the public REMAJU auction list.

### What you get

| Field | Description |
|---|---|
| `auctionNumber`, `call` | Remate N° and convocatoria (PRIMERA / SEGUNDA / TERCERA) |
| `propertyType` | Auto-detected: house, apartment, land, commercial, parking, vehicle, machinery, shares, other |
| `department`, `location` | Department (detected from the description and district) and district / city |
| `description` | Property description as published (address, areas, materials) |
| `basePrice`, `currency` | Base price (precio base) in PEN or USD |
| `currentPhase`, `phaseDate`, `phaseTime` | Current phase (e.g. Presentación de Ofertas) and its deadline |
| `status`, `stage`, `auctionType` | Status, stage and simple / multiple auction |
| **With `includeDetails`:** `caseNumber`, `court`, `judge`, `courtClerk`, `caseMatter`, `judicialDistrict`, `resolutionNumber`, `resolutionDate` | Expediente, órgano jurisdiccional, juez, especialista, materia and the resolution that ordered the auction |
| **With `includeDetails`:** `appraisalValue`, `discountVsAppraisalPct`, `minBidIncrement`, `registrationFee`, `depositRequired`, `registeredBidders` | Tasación, % discount of the base price vs the appraisal, incremento entre ofertas, arancel, oblaje (deposit) and N° inscritos |

### How to use it (3 steps)

1. Pick **departments** (e.g. LIMA, AREQUIPA) and **property types** (e.g. apartment, house), optionally a **price range** and **currency**.
2. Run it: the Actor scans the full REMAJU list (about 2-3 minutes) and returns only matching auctions.
3. Turn on **Watch mode** and schedule it daily to receive only new auctions by email, Slack, Sheets or webhook.

With no filters the Actor reads only enough pages to fill **Max auctions** (default 500). Filters and Watch mode still scan the full list, because a match can sit on any page.

```json
{ "departments": ["LIMA"], "propertyTypes": ["apartment", "house"], "currency": "USD", "maxPrice": 200000, "maxItems": 30 }
```

Add `"includeDetails": true` to also get the **case number (expediente), court, judge, appraisal value (tasación), discount vs appraisal, required deposit (oblaje) and fee (arancel)** from each auction's public detail page. It adds about 1-2 seconds per returned auction and costs the same.

```json
{ "departments": ["LIMA"], "propertyTypes": ["apartment", "house"], "includeDetails": true, "maxItems": 20 }
```

**Find bargains:** set `minDiscountPct` to get only auctions whose base price is at least that % below the official appraisal (tasación), sorted best deal first. Details are turned on automatically.

```json
{ "departments": ["LIMA"], "propertyTypes": ["apartment", "house"], "minDiscountPct": 30, "maxItems": 20 }
```

### Use cases

- **Real-estate investors**: below-market properties in Lima, Arequipa, Trujillo, Piura...
- **Daily alerts** of new judicial auctions in your area and budget.
- **Lawyers, brokers and appraisers** following auctions and second/third calls with lower base prices.
- **Market research** on judicial auction volumes and prices by department.

### Pricing (pay per event)

- `auction`: **$0.01** per auction returned ($10 per 1,000). A full scan of all ~250 current auctions costs about $2.50; filtered runs and Watch mode cost much less. *Max auctions* caps every run.

### FAQ

**Is this official data?** Yes, it is the public auction list of REMAJU (Remate Electrónico Judicial, Poder Judicial del Perú). The Actor does not log in, bid or bypass any protection. To bid you must register on REMAJU yourself.

**How accurate are department and property type?** They are detected from the published description and district. Most auctions are classified; when the text is ambiguous, type is `other` or department is empty, so leave the filter empty if you don't want to miss those.

**Why is the same auction returned twice in Watch mode?** A new call (e.g. SEGUNDA CONVOCATORIA with a lower base price) is a new opportunity, so it is reported again.

**Can I get the expediente, judge and appraisal (tasación)?** Yes: turn on *Include case details*. You also get `discountVsAppraisalPct` (how far below the appraisal the base price is), the deposit (oblaje) needed to bid and the number of registered bidders.

**What if the run times out?** The Actor stops about 30 s before the timeout and saves everything found so far. The default timeout is enough for a full scan.

***

### En español: Remates judiciales del Perú (REMAJU)

Obtén todos los **remates judiciales vigentes del Poder Judicial (REMAJU)**: casas, departamentos, terrenos, locales comerciales, cocheras y vehículos, con **precio base**, **distrito y departamento**, **convocatoria** y **fecha límite para presentar ofertas**. Filtra por departamento, distrito, tipo de inmueble, precio y palabras clave, y activa el **modo vigilancia** para recibir cada día **solo los remates nuevos**.

Ejemplo (departamentos y casas en Lima, dólares, hasta 200 mil):

```json
{ "departments": ["LIMA"], "propertyTypes": ["apartment", "house"], "currency": "USD", "maxPrice": 200000, "maxItems": 30 }
```

Alerta diaria de terrenos en Arequipa:

```json
{ "departments": ["AREQUIPA"], "propertyTypes": ["land"], "onlyNew": true, "monitorName": "arequipa-terrenos", "maxItems": 50 }
```

#### Preguntas frecuentes

**¿Puedo obtener el expediente, juzgado, juez y tasación?** Sí: activa *Include case details* (`includeDetails`). Añade expediente, órgano jurisdiccional, juez, especialista, materia, resolución, **tasación**, **% de descuento frente a la tasación**, incremento entre ofertas, arancel, **oblaje** y N° de inscritos. Mismo precio, un poco más lento.

**¿Puedo buscar solo gangas, por debajo de la tasación?** Sí: pon *Minimum discount vs appraisal* (`minDiscountPct`), por ejemplo 30, y solo recibirás remates cuyo precio base está al menos 30 % por debajo de la tasación, ordenados del mayor descuento al menor. Activa los detalles automáticamente. Combínalo con *Watch mode* para alertas diarias de oportunidades.

**¿Cómo recibo alertas de remates nuevos en Lima?** Elige departamento LIMA, el tipo de inmueble, activa *Watch mode* y prográmalo diario. Solo pagas por remates nuevos.

**¿Incluye segunda y tercera convocatoria?** Sí, por defecto. Suelen tener precio base más bajo. Activa *Only first call* si solo quieres la primera.

**¿Puedo filtrar por precio en soles o dólares?** Sí, con *Currency* (PEN o USD) y precio mínimo y máximo.

**¿Cuánto cuesta?** $0.01 USD por remate.

**¿Sirve para ofertar?** No. Es una herramienta de búsqueda y alertas; para participar debes registrarte en REMAJU.

# Actor input Schema

## `departments` (type: `array`):

Only auctions in these Peruvian departments. The department is detected from the property description and district. Leave empty for all of Peru.

## `districts` (type: `array`):

Optional. Only these districts / cities as shown in REMAJU, e.g. MIRAFLORES, SAN ISIDRO, TRUJILLO. Accent-insensitive.

## `propertyTypes` (type: `array`):

Only these types (auto-classified from the description): house, apartment, land, commercial (shops, offices, warehouses), parking, vehicle, machinery, shares, other.

## `keywords` (type: `array`):

Optional. Auction matches if its description contains ANY item; all words of one item must appear. Accent-insensitive, e.g. 'piscina', 'av. javier prado'.

## `currency` (type: `string`):

Base price currency: PEN (soles), USD or ANY.

## `minPrice` (type: `integer`):

Optional minimum base price (in the auction's currency; set Currency to compare like with like).

## `maxPrice` (type: `integer`):

Optional maximum base price.

## `phaseDateFrom` (type: `string`):

Optional (YYYY-MM-DD). Filters on the date of the current phase (offer submission).

## `phaseDateTo` (type: `string`):

Optional (YYYY-MM-DD).

## `firstCallOnly` (type: `boolean`):

Only auctions in their first call. Turn off to include second and third calls, which usually have lower base prices.

## `onlyNew` (type: `boolean`):

Remembers auctions returned before (per Watch name) and outputs only new ones (a new call of the same auction counts as new). Schedule it daily for alerts; you pay only for new auctions.

## `monitorName` (type: `string`):

Name for this watch's memory, e.g. 'lima-houses'.

## `includeDetails` (type: `boolean`):

Also open each matching auction's public 'Detalle' page and add caseNumber (expediente), court, judge, courtClerk, caseMatter, judicialDistrict, resolutionNumber/Date, appraisalValue (tasación), discountVsAppraisalPct, minBidIncrement, registrationFee (arancel), depositRequired (oblaje) and registeredBidders. Slower (about 1-2 s per auction), same price.

## `minDiscountPct` (type: `integer`):

Optional. Only auctions whose base price is at least this % below the official appraisal (tasación), sorted best deal first, e.g. 30. Turns on case details automatically (the appraisal comes from each auction's detail page), so the run is slower. Leave empty for no discount filter.

## `maxItems` (type: `integer`):

Cap on auctions returned (and charged) per run.

## `maxRunSeconds` (type: `integer`):

Optional safety cap: the Actor stops fetching shortly before this many seconds and finishes with SUCCEEDED, keeping all results found so far. 0 or empty = no extra cap (only the run timeout applies). Raise it or set 0 for big searches.

## Actor input object example

```json
{
  "currency": "ANY",
  "firstCallOnly": false,
  "onlyNew": false,
  "monitorName": "default",
  "includeDetails": false,
  "maxItems": 20,
  "maxRunSeconds": 180
}
```

# Actor output Schema

## `auctions` (type: `string`):

Matching auctions (overview).

## `auctionsAll` (type: `string`):

All fields.

## `summary` (type: `string`):

Scan counts.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 20,
    "maxRunSeconds": 180
};

// Run the Actor and wait for it to finish
const run = await client.actor("frankely84/peru-judicial-auctions-remaju").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "maxItems": 20,
    "maxRunSeconds": 180,
}

# Run the Actor and wait for it to finish
run = client.actor("frankely84/peru-judicial-auctions-remaju").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 20,
  "maxRunSeconds": 180
}' |
apify call frankely84/peru-judicial-auctions-remaju --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,frankely84/peru-judicial-auctions-remaju"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YaMYR7PMamapm06L7/builds/ZCH1nIb7hB5ONdBbN/openapi.json
