SeLoger

Search Count

Count listings matching a set of filters.

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

Query parameters

place_idstring nullable

Optional. A SeLoger place id, e.g. "AD08FR31096", obtainable from the locations= query parameter of any seloger.com search URL. Omit it to count the whole of France; a malformed value is rejected with 400 INVALID_PLACE_ID.

distribution'buy' | 'rent' | 'null' nullable

buy or rent

estate_types[]string[]

Property types to count

price_mininteger nullable

Minimum price in EUR

price_maxinteger nullable

Maximum price in EUR

year_built_mininteger nullable

Earliest construction year

size_mininteger nullable

Minimum floor area in m²

available_from_maxstring date nullable

Latest availability date, YYYY-MM-DD

energy_certificate_class[]string[]

DPE classes to count: A, B, C, D, E, F, G. Requesting this switches the response to aggregation-only mode, where total_results is null.

Response

string required

Changes

No recorded changes to this operation across all 3 revisions of this API.