# RentFaster Photos API Documentation

<p><strong>RentFaster Photos API</strong> lists every photo, video and virtual tour of one listing with the full image, thumbnail and slide URLs, caption, description, unit name and the unit ids each photo belongs to. A listing without media returns a non-billable 404.</p>

- **Documentation:** [https://scrappa.co/docs/rentfaster-api/rentfaster_photos](https://scrappa.co/docs/rentfaster-api/rentfaster_photos)
- **API group:** RentFaster API
- **Endpoint:** `GET https://scrappa.co/api/rentfaster/photos`

## 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` | integer | Yes | Listing id returned by the search endpoint, e.g. 608765. |

## Example response

```json
{
    "data": {
        "photos": [
            {
                "id": 17643324,
                "url": "https://rf-images-prod-bcdn.rentfaster.ca/608765/17643324.v.b60c41aa0169c7b9ed99e26efbf9f48b.jpg",
                "type": "photo",
                "slide": "https://rf-images-prod-bcdn.rentfaster.ca/608765/slide_17643324.v.b60c41aa0169c7b9ed99e26efbf9f48b.jpg",
                "caption": null,
                "thumbnail": "https://rf-images-prod-bcdn.rentfaster.ca/608765/thumber_17643324.v.b60c41aa0169c7b9ed99e26efbf9f48b.jpg",
                "unit_name": null,
                "description": null,
                "sublistings": [
                    "0"
                ]
            },
            {
                "id": 18997915,
                "url": "https://rf-images-prod-bcdn.rentfaster.ca/608765/18997915.v.7b8928117e469e1a9020863132ff29af.jpg",
                "type": "photo",
                "slide": "https://rf-images-prod-bcdn.rentfaster.ca/608765/slide_18997915.v.7b8928117e469e1a9020863132ff29af.jpg",
                "caption": null,
                "thumbnail": "https://rf-images-prod-bcdn.rentfaster.ca/608765/thumber_18997915.v.7b8928117e469e1a9020863132ff29af.jpg",
                "unit_name": null,
                "description": null,
                "sublistings": [
                    "0"
                ]
            },
            {
                "id": 18997916,
                "url": "https://rf-images-prod-bcdn.rentfaster.ca/608765/18997916.v.e4e41f6886ad122f6b5120bc7bc1ee04.jpg",
                "type": "photo",
                "slide": "https://rf-images-prod-bcdn.rentfaster.ca/608765/slide_18997916.v.e4e41f6886ad122f6b5120bc7bc1ee04.jpg",
                "caption": null,
                "thumbnail": "https://rf-images-prod-bcdn.rentfaster.ca/608765/thumber_18997916.v.e4e41f6886ad122f6b5120bc7bc1ee04.jpg",
                "unit_name": null,
                "description": null,
                "sublistings": [
                    "0"
                ]
            },
            {
                "id": 18997917,
                "url": "https://rf-images-prod-bcdn.rentfaster.ca/608765/18997917.v.2c11fd8722ffb3380d971c21cd31b1bf.jpg",
                "type": "photo",
                "slide": "https://rf-images-prod-bcdn.rentfaster.ca/608765/slide_18997917.v.2c11fd8722ffb3380d971c21cd31b1bf.jpg",
                "caption": null,
                "thumbnail": "https://rf-images-prod-bcdn.rentfaster.ca/608765/thumber_18997917.v.2c11fd8722ffb3380d971c21cd31b1bf.jpg",
                "unit_name": null,
                "description": null,
                "sublistings": [
                    "0"
                ]
            }
        ],
        "listing_id": 608765,
        "total_photos": 62
    },
    "meta": {
        "billable": true,
        "duration_ms": 900,
        "endpoint_family": "photos"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | RentFaster has no photos for this id. This response is not billable. |
| 503 | Service Unavailable | RentFaster is temporarily unavailable. This response is not billable and can be retried. |

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