# LandWatch Agents API Documentation

<p><strong>LandWatch Agents API</strong> finds land agents and brokers by name or by the area they serve (state, county or city), 24 agents per page. Each agent has a profile with public phone numbers, address, logo and listing statistics. A county or city that LandWatch does not know answers 404 and is not billed. Send either <code>name</code> or <code>state</code>.</p>

- **Documentation:** [https://scrappa.co/docs/landwatch-api/landwatch_agents](https://scrappa.co/docs/landwatch-api/landwatch_agents)
- **API group:** LandWatch API
- **Endpoint:** `GET https://scrappa.co/api/landwatch/agents`

## 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 |
| --- | --- | --- | --- |
| `name` | string | No | Agent or company name. Use it instead of state. |
| `state` | string | No | US state name or 2-letter code. Lists the agents who serve the state. |
| `county` | string | No | County name within the state. Not together with city. |
| `city` | string | No | City name within the state. Not together with county. Use the agent-autocomplete route for valid places. |
| `page` | integer | No | One-based page number, 1 to 100. Default 1. 24 agents per page. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "id": 17470,
                "bio": "Thomas sells Commercial / Residential Land & Homes in the Permian Basin, South Plains, Concho Basin, Hill Country, as well as West Texas & New Mexico Ranches. His college career included a run at Texas Tech where he received a BA in Communi",
                "url": "https://www.landwatch.com/profile/thomas-johnston/17470",
                "logo": {
                    "url": "https://assets.landwatch.com/resizedimages/1600/1200/l/80/1-2703757878",
                    "thumbnail_url": "https://assets.landwatch.com/resizedimages/360/240/l/80/1-2703757878"
                },
                "name": "Thomas Johnston",
                "stats": {
                    "active_listings": 99,
                    "active_acres_max": 560,
                    "active_acres_min": 0.13,
                    "active_price_max": 13024440,
                    "active_price_min": 24500
                },
                "phones": {
                    "fax": "(555) 010-0100",
                    "mobile": "(555) 010-0100",
                    "office": "(555) 010-0100",
                    "preferred": "(555) 010-0100"
                },
                "address": {
                    "city": "Dripping Springs",
                    "street": "2201 US 290",
                    "state_code": "TX",
                    "postal_code": "78620"
                },
                "company": "The Real Estate Ranch",
                "website": "www.therealestateranch.com",
                "portrait": {
                    "url": "https://assets.landwatch.com/resizedimages/1600/1200/l/80/1-3791698862",
                    "thumbnail_url": "https://assets.landwatch.com/resizedimages/360/240/l/80/1-3791698862"
                },
                "license_number": "0542176",
                "company_address": {
                    "city": "Midland",
                    "street": "6 Desta Dr.",
                    "state_code": "TX",
                    "postal_code": "79705"
                }
            }
        ],
        "pagination": {
            "page": 1,
            "total": 141,
            "per_page": 24,
            "total_pages": 6,
            "filtered_out": 0,
            "has_next_page": true
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agents"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | The place, listing or agent does not exist. This response is not billable. |
| 503 | Upstream Unavailable | LandWatch could not be reached, or it answered with 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)
