# Condos.ca Agents API Documentation

<p><strong>Condos.ca Agents API</strong> finds real estate agents by name. Items carry the name, title, profile photo and profile url. Pass the <code>url</code> of an item to the agent route for the full profile. Email addresses and phone numbers are never returned. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/condos-ca-api/condos_ca_agents](https://scrappa.co/docs/condos-ca-api/condos_ca_agents)
- **API group:** Condos.ca API
- **Endpoint:** `GET https://scrappa.co/api/condos-ca/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Required. Agent name, 1 to 100 characters. Example: smith. |
| `limit` | integer | No | Agents per page, 1 to 50. Default 10. |
| `page` | integer | No | One-based page number. Default 1. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "id": 233,
                "url": "https://condos.ca/condo-pros/magda-smith",
                "name": "Magda Smith",
                "slug": "condo-pros/magda-smith",
                "title": "Broker",
                "profile_image": "https://shared-s3.property.ca/public/images/agents/233/233-normal-1.jpg"
            },
            {
                "id": 999,
                "url": "https://condos.ca/condo-pros/jodi-ann-smith",
                "name": "Jodi-Ann Smith",
                "slug": "condo-pros/jodi-ann-smith",
                "title": "Sales Representative",
                "profile_image": "https://shared-s3.property.ca/public/images/agents/999/999-normal-682480dc15ce69.46449599.jpg"
            }
        ],
        "pagination": {
            "page": 1,
            "total": 3,
            "per_page": 2,
            "last_page": 2
        },
        "search_metadata": {
            "query": "smith"
        }
    },
    "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. |
| 503 | Upstream Unavailable | Condos.ca could not be reached. 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)
