# Centris Broker Directory

Returns up to 20 brokers per page from the public directory, filtered by broker name or agency name. Each broker has an id, a profile code, title, public phone numbers, photo and agency. The origin reports no total, so next_page is set when a full page came back. Use the code with the broker route.

- **Documentation:** [https://scrappa.co/docs/centris-api/centris_brokers](https://scrappa.co/docs/centris-api/centris_brokers)
- **API group:** Centris API
- **Endpoint:** `GET https://scrappa.co/api/centris/brokers`

## 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 | Broker name to search for, 2 to 80 characters. |
| `agency` | string | No | Agency name to search for, 2 to 80 characters. |
| `page` | integer | No | Page number, starting at 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/centris/brokers?name=Chairez"
```

## Example response

```json
{
    "success": true,
    "data": {
        "brokers": [
            {
                "id": "124572",
                "code": "h5739",
                "name": "Gerardo Chairez",
                "title": "Courtier immobilier r\u00e9sidentiel",
                "phones": [
                    "+1 514-465-2261"
                ],
                "agency": {
                    "name": "RE/MAX DYNAMIQUE INC.",
                    "type": "Agence immobili\u00e8re"
                }
            }
        ],
        "count": 1,
        "page": 1,
        "page_size": 20,
        "next_page": null
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The listing number or broker code does not exist. This response is not billable and not retryable. |
| 422 | Validation Error | A public parameter is invalid, for example a page above 250, an unknown property type or a location_id without its location_type. This response is not billable. |
| 503 | Service Unavailable | The data could not be loaded right now. Retry the request. 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)
