# QuintoAndar Property Detail API Documentation

Scrappa's `GET /api/quintoandar/property` returns the full public record of one QuintoAndar listing.

## What you get

`prices` holds rent, sale price, condominium fee, property tax (`iptu`), insurance, service fee and `total_cost` where QuintoAndar publishes them. Amounts it does not publish are `null`, never `0`. You also get area, rooms, `address` and coordinates, `amenities`, `installations`, nearby places, photos, the description, the `condominium` reference (use its `hash_id` with the condominium endpoint) and availability.

## Two kinds of listing

QuintoAndar-managed listings (`origin` `TRANSACTIONAL`) carry the richest data and name the rental administrator. Partner listings (`CLASSIFIED`) carry `publisher` with the agency id, name and logo. For managed listings `publisher` is `null`. When `origin` is omitted the API tries the managed route first and falls back to the partner route. You pay for one result either way.

## Hidden data

When a partner hides the exact address or position, `address.street` and the coordinates are `null`. Phone numbers and e-mail addresses are removed from descriptions.

- **Documentation:** [https://scrappa.co/docs/quintoandar-api/quintoandar_property](https://scrappa.co/docs/quintoandar-api/quintoandar_property)
- **API group:** QuintoAndar API
- **Endpoint:** `GET https://scrappa.co/api/quintoandar/property`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric listing id from search. |
| `origin` | string | No | TRANSACTIONAL or CLASSIFIED, as search returned it. Optional. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/quintoandar/property?id=893892728"
```

## Example response

```json
{
    "success": true,
    "listing": {
        "id": 893892728,
        "origin": "TRANSACTIONAL",
        "url": "https://www.quintoandar.com.br/imovel/893892728/alugar",
        "status": "alugado",
        "for_rent": true,
        "for_sale": false,
        "type": "Apartamento",
        "area": 53,
        "bedrooms": 2,
        "bathrooms": 1,
        "suites": null,
        "parking_spaces": 1,
        "prices": {
            "rent": 1318,
            "sale": null,
            "condominium_fee": 500,
            "iptu": 42,
            "homeowners_insurance": 19,
            "tenant_service_fee": 34,
            "total_cost": 1913
        },
        "address": {
            "street": "Rua Rosam\u00e9lia de Oliveira",
            "neighborhood": "Campo Comprido",
            "city": "Curitiba",
            "state": "Paran\u00e1",
            "state_code": "PR",
            "postal_code": "81230-230"
        },
        "latitude": -25.4582091,
        "longitude": -49.3285549,
        "condominium": {
            "hash_id": "pm8sqex37k",
            "name": null,
            "slug": "rua-rosamelia-de-oliveira-780-campo-comprido-curitiba",
            "address": "Rua Rosam\u00e9lia de Oliveira",
            "number": "780"
        },
        "amenities": [
            {
                "key": "BOX",
                "label": "Box"
            }
        ],
        "installations": [
            {
                "key": "PLAYGROUND",
                "label": "Playground"
            }
        ],
        "places_nearby": [
            {
                "name": "Escola Paula Amaral",
                "type": "SCHOOL",
                "slug": "escola-paula-amaral-campo-comprido-curitiba"
            }
        ],
        "images": [
            {
                "url": "https://www.quintoandar.com.br/img/893892728-393.9820271578673IMG9002.jpg",
                "caption": "Sala"
            }
        ],
        "description": "Espa\u00e7o de lazer completo.",
        "rental_administrator": "QUINTOANDAR",
        "publisher": null
    },
    "meta": {
        "billable": true,
        "attempts": 1,
        "last_status": 200,
        "endpoint_family": "property"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Nothing exists with that id or hash (`not_found`). Non-billable. |
| 422 | Validation Error | A query parameter failed validation or is not supported. Unsupported parameters are rejected instead of ignored. Non-billable. |
| 503 | Upstream Unavailable | QuintoAndar could not be reached after a retry, or answered with a body this API cannot read (`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)
