# Portal Inmobiliario Projects API Documentation

List new development projects (proyectos) for sale or rent in a comuna or region. Cards show the starting price, bedroom, bathroom and area ranges, the available units and the possession date. A bedroom filter matches a project when one of its units fits. The page size is fixed at 48. No projects is a successful empty response.

- **Documentation:** [https://scrappa.co/docs/portal-inmobiliario-api/portal_inmobiliario_projects](https://scrappa.co/docs/portal-inmobiliario-api/portal_inmobiliario_projects)
- **API group:** Portal Inmobiliario API
- **Endpoint:** `GET https://scrappa.co/api/portal-inmobiliario/projects`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `operation` | string | Yes | venta (sale) or arriendo (rent). |
| `location` | string | Yes | Location slug from the locations endpoint, e.g. providencia-metropolitana. |
| `property_type` | string | No | departamento, casa, oficina, terreno, sitio, parcela, bodega, estacionamiento, industrial, agricola or otros. Defaults to departamento. |
| `bedrooms` | integer | No | 0 (studio), 1, 2, 3 or 4. 4 means 4 or more. |
| `bathrooms` | integer | No | 1, 2 or 3. 3 means 3 or more. |
| `price_min` | integer | No | Minimum price, inclusive, in the currency parameter. |
| `price_max` | integer | No | Maximum price, inclusive, in the currency parameter. |
| `currency` | string | No | CLP or UF. Applies to price_min and price_max. Defaults to CLP. |
| `sort` | string | No | relevance, price_asc, price_desc, newest or oldest. Defaults to relevance. |
| `page` | integer | No | Page number from 1 to 42. Defaults to 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/portal-inmobiliario/projects?operation=venta&location=providencia-metropolitana&property_type=departamento"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listings": [
            {
                "id": "MLC1938092725",
                "url": "https://www.portalinmobiliario.com/MLC-1938092725-los-leones-1500-_JM",
                "title": "Los Leones 1500",
                "headline": "Departamentos en venta",
                "is_project": true,
                "price": {
                    "amount": 5405,
                    "currency": "UF",
                    "amount_clp": 222771276,
                    "is_from": true
                },
                "bedrooms": null,
                "bedrooms_min": 1,
                "bedrooms_max": 3,
                "area_min_m2": 47,
                "area_max_m2": 122,
                "available_units": 54,
                "possession_date": "Entrega Segundo semestre 2028"
            }
        ],
        "currency_conversions": {
            "uf_clp": 41215.78,
            "usd_clp": 986.58
        }
    },
    "meta": {
        "endpoint_family": "projects",
        "billable": true,
        "pagination": {
            "page": 1,
            "per_page": 48,
            "total": 45,
            "page_count": 1,
            "results_limit": 2000,
            "has_more": false,
            "next_page": null
        }
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 404 | Not Found | The listing id or the location slug is unknown. This response is not billable. |
| 503 | Upstream Unavailable | Portal Inmobiliario blocked every route, did not answer or returned a page the API could not read. Retry shortly. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
