# realestateVIEW agent Listings API Documentation

Scrappa's `GET /api/realestateview/agent-listings` returns the listings of one realestateVIEW agent. Send the numeric `id` of the agent, which is `agents[].id` in search and listing results.

## What you get

The current for-sale listings in the same shape as search results. Rental and sold history is not part of this endpoint; use search with `mode=rent` or `mode=sold`. Prices are in Australian dollars and rent is per week. Image fields are public links.

## Pagination

A page holds up to 10 listings. `total_results` is the full count, `pagination.page` is always the page you asked for, and a page past the last one returns an empty `listings` list. Page 1 data is never labelled as another page.

## Unknown ids

The source does not tell an unknown id from a agent with no listings. Both answer `200` with an empty list and are billed as a valid empty result. An id that is not a number answers `422`.

- **Documentation:** [https://scrappa.co/docs/realestateview-api/realestateview_agent_listings](https://scrappa.co/docs/realestateview-api/realestateview_agent_listings)
- **API group:** realestateVIEW API
- **Endpoint:** `GET https://scrappa.co/api/realestateview/agent-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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric agent id, for example 104933. |
| `page` | integer | No | Result page, 1-based. Each page holds up to 10 listings. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/realestateview/agent-listings?id=104933"
```

## Example response

```json
{
    "success": true,
    "agent_id": 104933,
    "total_results": 14,
    "returned": 1,
    "pagination": {
        "page": 1,
        "per_page": 10,
        "total_pages": 2,
        "has_next_page": true
    },
    "listings": [
        {
            "id": 18245247,
            "status": "On Market",
            "listing_type": "sale",
            "sale_method": "Sale",
            "listing_path": "/property/vic/melbourne-3000/1409-260-spencer-street-18245247/",
            "price_text": "$645,000",
            "price_numeric": 645000,
            "price_to": null,
            "is_price_hidden": false,
            "rent_per_week": null,
            "sold_price": null,
            "is_sold_price_hidden": false,
            "sold_on": null,
            "beds": 2,
            "baths": 2,
            "cars": 0,
            "land_size_sqm": 84,
            "property_type": "Apartment & Unit",
            "property_types": [
                "Apartment & Unit"
            ],
            "source_property_type": "Apartment",
            "is_new_construction": false,
            "is_home_and_land": false,
            "address": {
                "unit_number": "1409",
                "street_number": "260",
                "street": "Spencer Street",
                "suburb": "Melbourne",
                "postcode": "3000",
                "state": "VIC",
                "city": "Melbourne",
                "region": "Melbourne",
                "lga": "Melbourne Council",
                "gnaf_id": "GAVIC720552251",
                "is_street_hidden": false
            },
            "lat": -37.814655,
            "lng": 144.952675,
            "images": [
                {
                    "sequence": 1,
                    "caption": null,
                    "url": "https://view.com.au/viewstatic/images/listing/2-bedroom-apartment-in-melbourne-vic-3000/750-w/18245247-1-D2A9EB3.jpg",
                    "thumbnail_url": "https://view.com.au/viewstatic/images/listing/2-bedroom-apartment-in-melbourne-vic-3000/400-w/18245247-1-D2A9EB3.jpg",
                    "large_url": "https://view.com.au/viewstatic/images/listing/2-bedroom-apartment-in-melbourne-vic-3000/1200-w/18245247-1-D2A9EB3.jpg"
                }
            ],
            "inspections": [
                {
                    "starts_at": "2026-10-31 12:00:00",
                    "ends_at": "2026-10-31 12:15:00"
                }
            ],
            "auction_at": null,
            "created_at": "2026-10-26 07:50:49",
            "updated_at": "2026-10-26 07:50:55",
            "on_market_at": "2026-10-26 07:50:49",
            "agents": [
                {
                    "id": 104933,
                    "name": "Sample Agent",
                    "first_name": "Sample",
                    "last_name": "Agent",
                    "position": null,
                    "phone": "1300 000 000",
                    "mobile": "0400 000 000",
                    "email": null,
                    "photo_url": null,
                    "profile_path": "/agent-profile/sample-agent-104933/",
                    "agency_id": null,
                    "sold_listings": 16,
                    "average_sold_price": 569161
                }
            ],
            "agency": {
                "id": 24798,
                "name": "Sample Realty",
                "slug": "sample-realty",
                "address": "Suite 1, Level 2, 34 Sample Street, Melbourne, VIC 3000",
                "suburb": "Melbourne",
                "postcode": "3000",
                "logo_url": "https://view.com.au/viewstatic/images/listing/300-min/f9a416dc651440608bd7cbc8b2450bae.png",
                "brand_colour": "00202F",
                "profile_path": "/real-estate-agency/sample-realty-24798/"
            }
        }
    ],
    "meta": {
        "endpoint_family": "agent_agency_listings",
        "billable": true,
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored (`request_rejected` is the same failure raised by the source). Non-billable. |
| 503 | Source Unavailable | realestateVIEW could not be reached in time, refused the request, or its answer changed shape (`upstream_unavailable`, `request_blocked`, `deadline_exhausted`, `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)
