Skip to content
Scrappa Get API key
Casa Sapo API 1 credit / request

Casa Sapo Listing Detail API

GET https://scrappa.co/api/casa-sapo/listing

Retrieve one Casa Sapo listing by its id: title, transaction, typology, bedrooms, bathrooms, price, price drop, useful and gross area, year built, licence, reference, energy certificate, floor, views, the publication label (and the date when Casa Sapo shows one), location with coordinates, the full description, all photos, the open list of details and features, room areas and the advertiser (agency name, licence, company, address, schedule, website and profile url, or only the type `private`). Telephone numbers and private seller names are never returned. Removed or unknown ids answer 404 and are not billed. Casa Sapo publishes the content signal ai-train=no: do not use this data to train AI models.

Casa Sapo Listing Detail API 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/casa-sapo/listing
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": "94d94722-10d3-11f1-9e61-060000000056",
        "url": "https://casa.sapo.pt/comprar-apartamento-t3-lisboa-santo-antonio-94d94722-10d3-11f1-9e61-060000000056.html",
        "tags": [
            "Com Garagem"
        ],
        "floor": "4",
        "g3pid": "1095490",
        "price": 1880000,
        "title": "Apartamento T3 para comprar em Lisboa",
        "views": 9466,
        "clicks": 72,
        "images": [
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

Casa Sapo listing id (a UUID), e.g. 94d94722-10d3-11f1-9e61-060000000056. Take it from the id field of a search result.

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Response fields

67 fields
Field Type
data.id string
data.url string
data.tags array
data.tags[] string
data.floor string
data.g3pid string
data.price integer
data.title string
data.views integer
data.clicks integer
data.images array
data.images[] string
data.area_m2 integer
data.details array
data.details[].label string
data.details[].value string
data.bedrooms integer
data.category string
data.currency string
data.features array
data.features[].group string
data.features[].items array
data.features[].items[].label string
data.features[].items[].value string
data.location.text string
data.location.country string
data.location.concelho string
data.location.distrito string
data.location.latitude number
data.location.freguesia string
data.location.longitude number
data.typology string
data.bathrooms integer
data.condition string
data.has_video boolean
data.reference string
data.advertiser.id string
data.advertiser.name string
data.advertiser.slug string
data.advertiser.type string
data.advertiser.address string
data.advertiser.company string
data.advertiser.license string
data.advertiser.website string
data.advertiser.schedule string
data.advertiser.profile_url string
data.price_drop.percentage number
data.price_drop.previous_price integer
data.price_drop.previous_price_text string
data.price_text string
data.room_areas array
data.room_areas[].room string
data.room_areas[].area_m2 integer
data.year_built integer
data.description string
data.photo_count integer
data.seller_type string
data.transaction string
data.area_gross_m2 integer
data.property_type string
data.housing_license string
data.published_label string
data.has_virtual_tour boolean
data.energy_certificate string
meta.billable boolean
meta.endpoint_family string
success boolean
JSON Response
200 OK
{
    "data": {
        "id": "94d94722-10d3-11f1-9e61-060000000056",
        "url": "https://casa.sapo.pt/comprar-apartamento-t3-lisboa-santo-antonio-94d94722-10d3-11f1-9e61-060000000056.html",
        "tags": [
            "Com Garagem"
        ],
        "floor": "4",
        "g3pid": "1095490",
        "price": 1880000,
        "title": "Apartamento T3 para comprar em Lisboa",
        "views": 9466,
        "clicks": 72,
        "images": [
            "https://media.casasapo.pt/Z1440x1080/OAYES/S5/C5773/P29462664/Tphoto/ID8890c101-0000-0500-0000-00001885c712.JPG"
        ],
        "area_m2": 124,
        "details": [
            {
                "label": "Estado",
                "value": "Recuperado"
            },
            {
                "label": "\u00c1rea \u00fatil",
                "value": "124m\u00b2"
            }
        ],
        "bedrooms": 3,
        "category": "Apartamentos",
        "currency": "EUR",
        "features": [
            {
                "group": "Divis\u00f5es",
                "items": [
                    {
                        "label": "Casa(s) de Banho",
                        "value": "3"
                    },
                    {
                        "label": "Total quarto(s)",
                        "value": "3"
                    }
                ]
            }
        ],
        "location": {
            "text": "Santo Ant\u00f3nio, Lisboa, Distrito de Lisboa",
            "country": "PT",
            "concelho": "Lisboa",
            "distrito": "Distrito de Lisboa",
            "latitude": 38.7235,
            "freguesia": "Santo Ant\u00f3nio",
            "longitude": -9.15905
        },
        "typology": "T3",
        "bathrooms": 3,
        "condition": "Recuperado",
        "has_video": true,
        "reference": "CasaSAPO_APTPPTM001",
        "advertiser": {
            "id": "14457",
            "name": "IMOJOY Real Estate",
            "slug": "imojoy-real-estate",
            "type": "agency",
            "address": "Rua dos Sobreiros, 25 C, Costa da Guia, Cascais",
            "company": "Ant\u00f3nio Silvestre, Media\u00e7\u00e3o Imobili\u00e1ria Lda",
            "license": "12689",
            "website": "http://imojoy.pt",
            "schedule": "2\u00aa feira a S\u00e1bado das 10h00 \u00e0s 19h00",
            "profile_url": "https://casa.sapo.pt/agencia/imojoy-real-estate/?cl=14457&sys=5"
        },
        "price_drop": {
            "percentage": -14.55,
            "previous_price": 2200000,
            "previous_price_text": "2.200.000 \u20ac"
        },
        "price_text": "1.880.000 \u20ac",
        "room_areas": [
            {
                "room": "Quarto",
                "area_m2": 27
            },
            {
                "room": "Sala",
                "area_m2": 47
            }
        ],
        "year_built": 1980,
        "description": "Apresentamos este exclusivo apartamento T3, totalmente reabilitado, situado na prestigiada Rua das Amoreiras, uma das localiza\u00e7\u00f5es mais valorizadas de Lisboa.",
        "photo_count": 31,
        "seller_type": "agency",
        "transaction": "sale",
        "area_gross_m2": 141,
        "property_type": "Apartamento T3",
        "housing_license": "94",
        "published_label": "h\u00e1 mais de um m\u00eas",
        "has_virtual_tour": true,
        "energy_certificate": "B-"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "listing"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

HTTP 404

The listing, agency or location does not exist. This response is not billable.

422

HTTP 422

A parameter or filter is missing or invalid. This response is not billable.

502

HTTP 502

Casa Sapo answered a page that no longer matches the documented contract. This response is not billable.

503

HTTP 503

Casa Sapo is temporarily unavailable. Retry the request. This response is not billable.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.