# Sreality Public Brokers API

Return public broker profiles associated with one Sreality agency.

## Public agency contacts

The response carries the agency’s publicly listed broker details and contact information, together with pagination data. Contact details are returned as published and are not verified independently.

## Scope

Supply the positive agency identifier. This endpoint lists broker information for an agency; it does not send messages or submit contact requests.

- **Documentation:** [https://scrappa.co/docs/sreality-api/sreality_brokers](https://scrappa.co/docs/sreality-api/sreality_brokers)
- **API group:** Sreality API
- **Endpoint:** `GET https://scrappa.co/api/sreality/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 |
| --- | --- | --- | --- |
| `agency_id` | integer | Yes | Positive Sreality agency identifier. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/sreality/brokers?agency_id=12345"
```

## Example response

```json
{
    "success": true,
    "data": {
        "results": [
            {
                "user_id": 4312,
                "user_name": "Jan Nov\u00e1k",
                "broker_ico": "12345678",
                "broker_rating": 4.8,
                "broker_review_count": 37,
                "sdn_url": "https://www.sreality.cz/realitni-makleri/jan-novak"
            }
        ],
        "pagination": {
            "limit": 20,
            "offset": 0,
            "total": 8
        }
    },
    "meta": {
        "endpoint_family": "brokers",
        "billable": true,
        "retryable": false
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The agency identifier is missing or invalid. This response is not billable. |
| 503 | Broker Data Temporarily Unavailable | The public broker data could not be returned. This response is not billable. |

## Frequently asked questions

### What does the broker endpoint return?

It returns publicly listed profiles associated with the requested agency, including public contact fields when present.

### Can I use this endpoint to contact a broker?

No. It provides public profile data only and does not submit messages or contact requests.

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