Skip to content
Scrappa Get API key
Dot Property API 1 credit/request

Dot Property Agents API Documentation

GET https://scrappa.co/api/dotproperty/v1/agents

Dot Property Agents API returns the agent and agency directory as JSON: id, name, type, logo and the number of available listings. Use the id with the Agent route for the profile and with the Search route (agent_id) for the listings. A page can hold fewer rows than per_page, and an empty page past the end is a successful response.

Dot Property Agents API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/dotproperty/v1/agents
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
{
    "data": {
        "agents": [
            {
                "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",
                "available_listings": 20
            },
            {
                "id": "00d741f4-4098-400e-8210-d6dd623f75a6",
...

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.

2 optional filters available.

page integer Optional

One-based page number, 1 to 1000. Example: 1.

Example value 1
per_page integer Optional

Rows per page, 1 to 50 (default 20). Example: 20.

Example value 10

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": {
        "agents": [
            {
                "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",
                "available_listings": 20
            },
            {
                "id": "00d741f4-4098-400e-8210-d6dd623f75a6",
                "url": "https://www.dotproperty.co.th/en/real-estate-agents/ploy-owner-0852203366_00d741f4-4098-400e-8210-d6dd623f75a6/properties-for-rent",
                "logo": "https://images.proppit.com/publisher/00d741f4-4098-400e-8210-d6dd623f75a6/logo.jpeg",
                "name": "Ploy Owner 0852203366",
                "slug": "ploy-owner-0852203366",
                "type": "agency",
                "available_listings": 1
            }
        ],
        "pagination": {
            "count": 9,
            "per_page": 10,
            "current_page": 1
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agents"
    },
    "success": true
}

Errors

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

422

Validation Error

The page or per_page value is out of range. This response is not billable.

{
    "errors": {
        "page": [
            "The page field must not be greater than 333."
        ]
    },
    "message": "The request validation failed"
}
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.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "agents"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Dot Property 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.