# Rentalia Price

Quotes a stay given dates, capacity, and rental_unit_id.

- **Documentation:** [https://scrappa.co/docs/rentalia-api/rentalia_price](https://scrappa.co/docs/rentalia-api/rentalia_price)
- **API group:** Rentalia API
- **Endpoint:** `GET https://scrappa.co/api/rentalia/price`

## 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 |
| --- | --- | --- | --- |
| `rental_unit_id` | string | Yes | Unit identifier from house detail. |
| `check_in_date` | string | Yes | YYYY-MM-DD. |
| `check_out_date` | string | Yes | YYYY-MM-DD. |
| `capacity` | integer | Yes | Guest count. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/rentalia/price?rental_unit_id=978257&check_in_date=2026-09-01&check_out_date=2026-09-08&capacity=2"
```

## Example response

```json
{
    "success": true,
    "data": {
        "price": 890
    }
}
```

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