# Nepremicnine.net Property Types API Documentation

Scrappa's `GET /api/nepremicnine/property-types` returns the property types (apartment, house, plot and more) with their room types and the ids that `property_type` and `rooms_type` accept in search.

The list is cached for a day. It takes no parameters.

- **Documentation:** [https://scrappa.co/docs/nepremicnine-api/nepremicnine_property_types](https://scrappa.co/docs/nepremicnine-api/nepremicnine_property_types)
- **API group:** Nepremicnine.net API
- **Endpoint:** `GET https://scrappa.co/api/nepremicnine/property-types`

## 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.

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/nepremicnine/property-types"
```

## Example response

```json
{
    "success": true,
    "total": 1,
    "property_types": [
        {
            "id": 1,
            "name": "Stanovanje",
            "room_types": [
                {
                    "id": 4,
                    "name": "2-sobno",
                    "description": "dvosobno"
                }
            ]
        }
    ],
    "meta": {
        "endpoint_family": "property_types",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Nepremicnine.net could not be reached after retries or answered with an error (`upstream_unavailable`, `upstream_blocked`, `parser_drift`). Retryable and never billed. Clients are never rate limited. |

## 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)
