# Daft.ie Agents

Daft.ie publishes no agent profile endpoint, so this route groups the agent identity already carried on each listing: seller id, name, branch, licence number and agent type, with the number of sampled listings each appears in. It is one search call, not one call per agent. Agent phone numbers are never included.

- **Documentation:** [https://scrappa.co/docs/daft-ie-api/daft_ie_agents](https://scrappa.co/docs/daft-ie-api/daft_ie_agents)
- **API group:** Daft.ie API
- **Endpoint:** `GET https://scrappa.co/api/daft-ie/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 |
| --- | --- | --- | --- |
| `section` | string | Yes | One of the eleven Daft.ie sections. |
| `ad_state` | string | No | published (default) or sale-agreed. |
| `sort` | string | No | Search sort applied before grouping. Default bestMatch. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/daft-ie/agents?section=residential-for-sale"
```

## Example response

```json
{
    "success": true,
    "data": {
        "section": "residential-for-sale",
        "ad_state": "published",
        "sampledListings": 50,
        "agents": [
            {
                "sellerId": 6850811,
                "name": "Dublin Property Team",
                "branch": "Dublin",
                "licenceNumber": null,
                "sellerType": "BRANDED_AGENT",
                "listingCount": 6
            }
        ]
    },
    "meta": {
        "duration_ms": 1400,
        "endpoint_family": "search"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested Daft.ie resource does not exist. This response is not billable. |
| 422 | Invalid Request | A parameter was missing, out of range, or not one of the accepted values — for example an unknown section, ad state, sort or area id. Nothing was requested from Daft.ie, so retrying unchanged will fail the same way. Not billable. |
| 422 | Rejected As Untrustworthy | Daft.ie returned a response that did not match the request, so no data is returned. This happens instead of silently widening a result set. A request did reach Daft.ie and its answer was discarded. Not billable. |
| 501 | Not Public Data | Daft.ie serves this route as gated, so it carries no public listing data. Not billable. |
| 503 | Service Unavailable | Daft.ie is inspecting or refusing the request, it refused the request shape outright, or no approved upstream route is available. This is not an empty result set. Not billable. A gateway-level 502 is rewritten to 503 before it reaches a client, so this endpoint never answers 502. |

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