---
title: "Search Count"
method: GET
path: "/seloger/count"
tags: ["SeLoger"]
---

# Search Count

`GET /seloger/count`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/seloger/count`
- Auth: API key in header `X-API-KEY`

Count listings matching a set of filters.

## Query parameters

- `place_id` string, nullable
- `distribution` 'buy' | 'rent' | 'null', nullable
- `estate_types[]` string[]
- `price_min` integer, nullable
- `price_max` integer, nullable
- `year_built_min` integer, nullable
- `size_min` integer, nullable
- `available_from_max` string, date, nullable
- `energy_certificate_class[]` string[]

## Response `200`

- string

## Other responses

- `400`: The request is well formed but cannot be expressed as a SeLoger query. `INVALID_PLACE_ID` means the `place_id` you supplied is not a SeLoger place id (`AD08FR…`); omit it to query the whole of France instead. `INVALID_DISTRIBUTION`, `INV...
- `401`: Unauthorized - API key is missing or invalid
- `404`: The requested resource does not exist upstream: the listing is gone, was never live, or is not reachable through the search it would belong to. This is not billed.
- `422`: One or more query parameters failed validation.
- `503`: SeLoger did not return a usable response through any available request path, or refused the request this integration sent it. This failure is not billed and is retryable. The SeLoger integration is switched off. Reads as a clean 503 so a...

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
