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

Casa Sapo Agency API

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

Retrieve one agency profile: name, AMI licence, company, logo, address, opening schedule, website, the number of listings and the profile url. Telephone numbers are never returned. Unknown agency 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 Agency API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/casa-sapo/agency
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": "14457",
        "logo": "https://media.egorealestate.com/150x70/6e0b8eca-f48f-4d07-a6b0-e6ecc151e759.png",
        "name": "IMOJOY Real Estate",
        "slug": "imojoy-real-estate",
        "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",
        "listing_count": 1385
    },
...

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 integer Required

Numeric Casa Sapo agency id, e.g. 14457, from the agencies endpoint or the advertiser.id field of a listing.

Example value 1234567890

Response Schema

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

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "id": "14457",
        "logo": "https://media.egorealestate.com/150x70/6e0b8eca-f48f-4d07-a6b0-e6ecc151e759.png",
        "name": "IMOJOY Real Estate",
        "slug": "imojoy-real-estate",
        "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",
        "listing_count": 1385
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agency"
    },
    "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.