# MyHome.ie Listing Details API Documentation

Scrappa's `GET /api/myhome-ie/listing` returns the full record of one MyHome.ie listing by `id`.

## What you get

`listing` has `price` (parsed), `eircode`, `property_type`, `bedrooms_text`, `bathrooms`, `size_m2`, `ber_rating`, `latitude`, `longitude`, `locality`, `region`, `description` and `sections` (description, accommodation, features and other text blocks), `features`, `rooms`, `floors`, `floor_plans`, `photos` (full, medium and thumbnail URLs), `videos`, `virtual_tours`, `pdfs`, `open_viewings`, dates, `agency`, `joint_agency`, `negotiator` and `related_new_homes`.

## Price history

`price_history` and `price_register` carry what the listing page has; they are empty for most listings. `nearby_price_changes` lists price moves of other listings nearby that the listing page shows. They are not this listing's own history.

## Missing values

Empty values are `null` or empty lists, never `0`. An unknown id, or a listing that is no longer online, returns a non-billable `404`.

- **Documentation:** [https://scrappa.co/docs/myhome-ie-api/myhome_ie_listing](https://scrappa.co/docs/myhome-ie-api/myhome_ie_listing)
- **API group:** MyHome.ie API
- **Endpoint:** `GET https://scrappa.co/api/myhome-ie/listing`

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

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/myhome-ie/listing?id=5025417"
```

## Example response

```json
{
    "success": true,
    "listing": {
        "id": 5025417,
        "url": "https://www.myhome.ie/residential/brochure/apt-1-ashley-court-31-clyde-court-ballsbridge-dublin-4/5025417",
        "listing_type": "ResidentialForSale",
        "display_address": "Apt 1, Ashley Court 31 Clyde Court, Ballsbridge, Dublin 4",
        "eircode": "D04 WY82",
        "property_type": "Apartment",
        "price": {
            "text": "\u20ac580,000",
            "amount": 580000,
            "max_amount": null,
            "currency": "EUR",
            "frequency": null,
            "qualifier": null
        },
        "bedrooms_text": "2 beds",
        "bathrooms": 2,
        "size_m2": 90.1,
        "ber_rating": "E",
        "latitude": 53.329643,
        "longitude": -6.237367,
        "locality": {
            "id": 1253,
            "name": "Ballsbridge"
        },
        "features": [],
        "photos": [
            {
                "url": "https://photos-a.propertyimages.ie/media/7/1/4/5025417/f1f9118c-ebe7-41af-8788-6455a04c0b8b_l.jpg",
                "medium": null,
                "thumbnail": null
            }
        ],
        "agency": {
            "id": 11082,
            "name": "Hunters Estate Agent",
            "phone": "01 668 0008",
            "sales_licence": "001631"
        },
        "negotiator": {
            "id": 687408,
            "name": "Stephen Dunne",
            "job_title": null,
            "image": null
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "listing",
        "attempts": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Nothing exists with that id, or the listing is no longer online (`not_found`). Non-billable. |
| 422 | Validation Error | A query parameter failed validation. Non-billable. |
| 503 | Upstream Unavailable | MyHome.ie could not be reached after retries, answered with a body this API cannot read, or did not apply the requested filters (public error code `upstream_unavailable`). 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)
