# Realtor.com Listing Agent API Documentation

<p><strong>Realtor.com Listing Agent API</strong> Get the listing agent and broker of one property: name, role, office, broker, business phone numbers, business email and licence number as shown on the public listing. This is the agent of the listing only. Agent profiles, reviews, bios and sold history are not part of this endpoint.</p>

- **Documentation:** [https://scrappa.co/docs/realtor-com-api/realtor_com_agent](https://scrappa.co/docs/realtor-com-api/realtor_com_agent)
- **API group:** Realtor.com API
- **Endpoint:** `GET https://scrappa.co/api/realtor-com/agent`

## 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 |
| --- | --- | --- | --- |
| `property_id` | string | Yes | Realtor.com property id, 5 to 20 digits. Example: 7707272774. Get one from the search endpoint or from an address result of the autocomplete endpoint. |

## Example response

```json
{
    "data": {
        "url": "https://www.realtor.com/realestateandhomes-detail/1107-Rebbeca-Dr_Austin_TX_78758_M77072-72774",
        "agents": [
            {
                "name": "Freddy Arauz",
                "type": "seller",
                "email": "agent@example.com",
                "broker": "Compass RE Texas, LLC. - Broker",
                "office": "Compass RE Texas LLC - Austin",
                "phones": [
                    {
                        "type": "Mobile",
                        "number": "(555) 010-0100",
                        "primary": true
                    }
                ],
                "state_license": "0000000"
            }
        ],
        "status": "for_sale",
        "property_id": "7707272774"
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter is missing or invalid. This response is not billable. |
| 404 | Property Not Found | No property has this id. This response is not billable. |
| 503 | Temporarily Unavailable | Realtor.com did not answer after several attempts. This response is not billable. Retry after a short pause. |

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