# Dot Property Agent API Documentation

<p><strong>Dot Property Agent API</strong> returns one agent or agency profile as JSON: name, type, description, address, logo, background, website, number of available listings and the profile URL. Phone numbers and e-mail addresses are not public and are not returned. An unknown id returns 404.</p>

- **Documentation:** [https://scrappa.co/docs/dotproperty-api/dotproperty_agent](https://scrappa.co/docs/dotproperty-api/dotproperty_agent)
- **API group:** Dot Property API
- **Endpoint:** `GET https://scrappa.co/api/dotproperty/v1/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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Agent or agency uuid from the Agents route. Example: 00000000-ffff-4047-8001-000000000000. |
| `slug` | string | No | Optional name slug from the Agents route. Example: sukhothai-co-ltd. |

## Example response

```json
{
    "data": {
        "id": "00000000-ffff-4047-8001-000000000000",
        "url": "https://www.dotproperty.co.th/en/real-estate-agents/sukhothai-co-ltd_00000000-ffff-4047-8001-000000000000/properties-for-sale",
        "logo": "https://images.proppit.com/publisher/00000000-ffff-4047-8001-000000000000/logo.jpeg",
        "name": "Sukhothai Co., Ltd",
        "slug": "sukhothai-co-ltd",
        "type": "agency",
        "address": "Bangkok, Thailand",
        "is_paid": true,
        "website": null,
        "is_active": true,
        "background": null,
        "description": "Company with many high quality real estate projects with many years of excellent management",
        "available_listings": 20
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agent"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The id is missing or is not an agent uuid. This response is not billable. |
| 404 | Not Found | The agent does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Dot Property could not be reached or returned data that does not match the request. This response is not billable and is retryable. |

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