# Property24 Agency Listings

Current listings of one estate agency, for sale or to rent, in the same format as search results. The response page always equals the page you asked for.

- **Documentation:** [https://scrappa.co/docs/property24-api/property24_agency_listings](https://scrappa.co/docs/property24-api/property24_agency_listings)
- **API group:** Property24 API
- **Endpoint:** `GET https://scrappa.co/api/property24/agency/listings`

## 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 |
| --- | --- | --- | --- |
| `agency_id` | integer | Yes | Agency id, for example 30696. |
| `slug` | string | Yes | Agency slug, for example hqm-properties. |
| `deal_type` | string | No | sale or rent. Default sale. |
| `page` | integer | No | Page number, starting at 1. Maximum 50. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/property24/agency/listings?agency_id=30696&slug=hqm-properties&deal_type=sale"
```

## Example response

```json
{
    "success": true,
    "page": 1,
    "agency_id": 30696,
    "deal_type": "sale",
    "total_filtered_results": 6,
    "total_pages": 1,
    "filtered_out": 0,
    "results": [
        {
            "listing_id": "117555220",
            "path": "/for-sale/wynberg/cape-town/western-cape/10109/117555220",
            "url": "https://www.property24.com/for-sale/wynberg/cape-town/western-cape/10109/117555220",
            "deal_type": "sale",
            "title": "2 Bedroom Apartment / flat for sale in Wynberg - Cape Town",
            "price": 1125000,
            "price_text": "R 1 125 000",
            "location": "Wynberg",
            "description": "Bright & Welcoming 2 Bedroom Apartment First floor 2 bedroom apartment in Wynberg Village ...",
            "bedrooms": 2,
            "bathrooms": 1,
            "parking_spaces": 1,
            "erf_size_m2": null,
            "floor_size_m2": 55,
            "images": [
                "https://images.prop24.com/385319368/Crop600x400"
            ],
            "agency": {
                "id": 30696,
                "slug": "hqm-properties",
                "name": "HQM Properties",
                "logo": "https://images.prop24.com/349180118/Ensure264x153"
            },
            "agent_name": null,
            "ribbons": [
                "Reduced"
            ]
        }
    ]
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The listing, agency or location does not exist or is no longer online. The request is not charged. |
| 503 | Upstream Unavailable | Property24 returned an unsuccessful, empty or unexpected answer. The request is not charged. |

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