# Bien'ici New-Build Programme Units

Lists the individual lots available in a new-build programme — flats, parking, and cellars — with their own price and surface ranges, status, and delivery date. Pass a programme ad id from a new_build search. An ad that is not a programme returns an empty unit list.

- **Documentation:** [https://scrappa.co/docs/bienici-api/bienici_programme_units](https://scrappa.co/docs/bienici-api/bienici_programme_units)
- **API group:** Bien'ici API
- **Endpoint:** `GET https://scrappa.co/api/bienici/programme-units`

## 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 |
| --- | --- | --- | --- |
| `ad_id` | string | Yes | Id of a new-build programme ad, such as mki-50307. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bienici/programme-units?ad_id=mki-50307"
```

## Example response

```json
{
    "success": true,
    "data": {
        "units": [
            {
                "id": "mki-50307-A71",
                "propertyType": "flat",
                "roomsQuantity": 2,
                "price": {
                    "min": 426000,
                    "max": 426000,
                    "currency": null,
                    "disclosed": true,
                    "unit": "total"
                },
                "surfaceArea": [
                    35.34,
                    null
                ],
                "deliveryDate": "2018-12-31T00:00:00.000Z"
            }
        ],
        "unitsCount": 1
    },
    "meta": {
        "endpoint_family": "programme_units"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested house was not found. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. 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)
