# Daft.ie Filters

Daft.ie's own declaration of which filters a section supports, their types and their allowed values, including the two ad states (published and sale-agreed). Use it to discover valid filter values instead of guessing them; an unrecognised value is ignored upstream and widens the result set.

- **Documentation:** [https://scrappa.co/docs/daft-ie-api/daft_ie_filters](https://scrappa.co/docs/daft-ie-api/daft_ie_filters)
- **API group:** Daft.ie API
- **Endpoint:** `GET https://scrappa.co/api/daft-ie/filters`

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

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "success": true,
    "data": {
        "section": "residential-for-sale",
        "filters": [
            {
                "name": "Ad state",
                "id": "adState",
                "type": {
                    "id": 4,
                    "name": "ListSingleSelect"
                },
                "showByDefault": [],
                "hideByDefault": []
            }
        ]
    },
    "meta": {
        "duration_ms": 300,
        "endpoint_family": "filters"
    }
}
```

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