Skip to content
Scrappa Get API key
Rentals.ca API 1 credit/request

Rentals.ca Agency API Documentation

GET https://scrappa.co/api/rentals-ca/agency

Rentals.ca Agency API returns the management company (name, website, logo) and the contact name of one listing. Rentals.ca has no separate agency page, so the data is read from the listing. management_company is null when the listing has none, which is common; the contact name is then the only agency data. Agent email and phone are never returned. Failed requests are not billed.

Rentals.ca Agency API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/rentals-ca/agency
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "listing": {
            "id": "cmVudGFsbGlzdGluZzozNzIyMzU=",
            "url": "https://rentals.ca/toronto/730-st-clarens-avenue-1",
            "name": "730 St. Clarens",
            "path": "toronto/730-st-clarens-avenue-1"
        },
        "contact_name": "Test Agent",
        "management_company": {
            "id": "bWFuYWdlbWVudGNvbXBhbnk6MQ==",
            "url": "https://example.com",
            "logo": "https://images.rentals.ca/logos/example.png",
            "name": "Example Property Management"
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

path string Optional

Listing path from a search item, for example toronto/225-adelaide-st-west.

Example value example
url string Optional
Open example

Full rentals.ca listing URL. Use it instead of path.

Example value https://example.com/product
id string Optional

Listing id from a search item. Use it instead of path.

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": {
        "listing": {
            "id": "cmVudGFsbGlzdGluZzozNzIyMzU=",
            "url": "https://rentals.ca/toronto/730-st-clarens-avenue-1",
            "name": "730 St. Clarens",
            "path": "toronto/730-st-clarens-avenue-1"
        },
        "contact_name": "Test Agent",
        "management_company": {
            "id": "bWFuYWdlbWVudGNvbXBhbnk6MQ==",
            "url": "https://example.com",
            "logo": "https://images.rentals.ca/logos/example.png",
            "name": "Example Property Management"
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agency"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter, a range or a value is invalid. This response is not billable.

{
    "errors": {
        "path": [
            "The path field is required when url / id is not present."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The path or id is not a rental listing. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "agency"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested resource was not found."
    },
    "success": false
}
503

Upstream Unavailable

Rentals.ca could not be reached or returned data that does not match the request. This response is not billable and is retryable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "agency"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Rentals.ca could not be reached. Please retry shortly."
    },
    "success": false
}

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.