# LandSearch Profile Members API Documentation

<p><strong>LandSearch Profile Members API</strong> returns the agents of one brokerage with phone, location and listing count, with the real total and page count. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/landsearch-api/landsearch_profile_members](https://scrappa.co/docs/landsearch-api/landsearch_profile_members)
- **API group:** LandSearch API
- **Endpoint:** `GET https://scrappa.co/api/landsearch/profile-members`

## 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 |
| --- | --- | --- | --- |
| `profile_id` | integer | Yes | Profile id of a brokerage. |
| `sort` | string | No | name or -newest. |
| `page` | integer | No | One-based page number. The site reports at most 100 pages per query; a page past the last returns an empty list. |
| `limit` | integer | No | Results per page, 1 to 100. Default 50. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "id": 841021,
                "url": "https://www.landsearch.com/agents/jennifer-bailey/841021",
                "name": "Jennifer Bailey",
                "type": "agent",
                "phone": {
                    "number": "5125060715",
                    "formatted": "(512) 506-0715",
                    "country_code": 1
                },
                "teams": [],
                "location": null,
                "promoted": false,
                "image_url": null,
                "specialties": [],
                "listing_count": 3,
                "location_label": "Austin, TX"
            },
            {
                "id": 769839,
                "url": "https://www.landsearch.com/agents/kristen-rummel/769839",
                "name": "Kristen Rummel",
                "type": "agent",
                "phone": {
                    "number": "5124134680",
                    "formatted": "(512) 413-4680",
                    "country_code": 1
                },
                "teams": [],
                "location": null,
                "promoted": false,
                "image_url": null,
                "specialties": [],
                "listing_count": 1,
                "location_label": "Austin, TX"
            }
        ],
        "pagination": {
            "page": 1,
            "limit": 2,
            "total": 7,
            "has_next": true,
            "returned": 2,
            "total_pages": 4
        },
        "applied_filters": []
    },
    "meta": {
        "billable": true,
        "endpoint_family": "profile-members"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | The profile does not exist or is not public. This response is not billable. |
| 503 | Upstream Unavailable | LandSearch could not be reached. Retry shortly. This response is not billable. |

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