Skip to content
Scrappa Get API key
Housing.com API 1 credit/request

Housing.com Agent Profile API Documentation

GET https://scrappa.co/api/housing-com/agent

Housing.com Agent Profile API Read the public profile of an agent or agency: name, firm, designation, description, localities, statistics, the number of listings for sale and for rent and the masked phone number. Use the listings_hash of the answer in the agent listings endpoint. Get an agent id from sellers[].id of a search row or a listing.

Housing.com Agent Profile API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/housing-com/agent
Auth header
x-api-key
Cost
1 credit/request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "id": "0cf195fc-c33e-43f5-b24a-8c9f57a20ca9",
        "url": "https://housing.com/agents/search-A14wpbtac7czuar3d8pu9s14fd",
        "firm": "Truva",
        "name": "Truva",
        "type": "Seller",
        "image": null,
        "stats": [
            {
                "id": "Experience",
                "label": "Experience",
                "value": "0.5 years"
            },
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

id string Required

Agent id (sellers[].id), a UUID.

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": {
        "id": "0cf195fc-c33e-43f5-b24a-8c9f57a20ca9",
        "url": "https://housing.com/agents/search-A14wpbtac7czuar3d8pu9s14fd",
        "firm": "Truva",
        "name": "Truva",
        "type": "Seller",
        "image": null,
        "stats": [
            {
                "id": "Experience",
                "label": "Experience",
                "value": "0.5 years"
            },
            {
                "id": "Total listings",
                "label": "Total listings",
                "value": "59"
            }
        ],
        "localities": [
            "Powai",
            "Goregaon East",
            "Goregaon West"
        ],
        "description": null,
        "designation": "Housing Ultra",
        "phone_masked": "72080.....",
        "listings_hash": "A14wpbtac7czuar3d8pu9s14fd",
        "customers_served": "400+",
        "buy_listing_count": 59,
        "rent_listing_count": 0
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent"
    },
    "success": true
}

Errors

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

422

Validation Error

A required parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "city": [
            "A city is required, e.g. Mumbai. Use the cities endpoint for the list."
        ]
    },
    "message": "The request validation failed"
}
404

Not Found

The agent id does not exist. This response is not billable.

{
    "meta": {
        "attempts": 1,
        "billable": false,
        "retryable": false
    },
    "error": {
        "message": "The requested Housing.com agent was not found.",
        "failure_type": "agent_not_found"
    },
    "success": false
}
503

Temporarily Unavailable

Housing.com did not answer or refused the request after several attempts. This response is not billable. Retry after a short pause.

{
    "meta": {
        "attempts": 3,
        "billable": false,
        "retryable": true
    },
    "error": {
        "message": "Housing.com data is temporarily unavailable. Please retry.",
        "failure_type": "upstream_timeout"
    },
    "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.