apidata.one docs Get a key

Saved searches

A consumer's own searches, kept so your site can tell them when a listing newly matches. A saved search is a set of filters, an optional name and an alert frequency. Every tier has them.

Consumer identity comes only from the auth context, as for favorites: a client token with a pk_ key, or X-Client-Id with an sk_ key. A pk_ request without a token is 401 client_token_required; an sk_ request without X-Client-Id is 400 validation_failed. A saved search belongs to one consumer: an ID from another consumer or another account is 404 not_found, never 403. A consumer may keep up to 100.

The API never emails your visitors. When a saved search matches, the API records a thin notice (saved_search.matches, with listing keys and reasons only), which reaches you by webhook or through GET /v1/events, and your site decides what to send (alert emails).

The object

{
  "id": "ss_…",
  "name": "Ardmore under 500k",
  "criteria": { "price": { "max": 500000 }, "location": { "placeIds": ["pl_…"] } },
  "alertFrequency": "daily",
  "status": "active",
  "createdAt": "2026-11-13T15:00:00.000Z",
  "updatedAt": "2026-11-13T15:00:00.000Z"
}

criteria

The body of POST /v1/listings/search, with filters only (SearchFilters). It is checked by the same code as a search, for the same tier:

Every other problem with the request comes back in one 400 validation_failed, with each field named under body. (for example body.criteria.price.max).

alertFrequency

Always required when you create a saved search. It is never guessed from the name.

Value When the consumer's matches are gathered into a notice
instant After each sync cycle, usually within minutes of the change
daily Once a day at 7:00 am Eastern, covering the day before
weekly Mondays at 7:00 am Eastern, covering the week before
off Never. The search is only kept

A listing alerts when it is new, when its price or status changes, or when it comes back on the market, and it matches the search at the moment the notice is made. Listings that already match when a search is created never alert. The same holds when you change its criteria, and when you turn alerts back on from off.

status

Worked out again on every read. Show it to the consumer.

Value Meaning
active The search is evaluated at its frequency
paused_tier Its criteria need Premium and the account is on Basic
paused_suspended The account is suspended
paused_invalid Its criteria are no longer accepted, for example a place that was retired

A paused search produces no notices. When it becomes active again it does not catch up: changes that happened while it was paused never alert. Nothing is deleted or widened by a pause. A paused_invalid search is fixed by sending new criteria.

Saved shapes in use

A saved shape that a saved search names can't be deleted: DELETE /v1/saved-shapes/{id} answers 409 shape_in_use with the IDs of the searches that use it. Edit or delete those first.

Deleting a consumer, and downgrades

DELETE /v1/clients/{clientId} removes the consumer's saved searches, their notices and their saved shapes with everything else of theirs. After a downgrade to Basic nothing is deleted: searches with Premium criteria read paused_tier from the next request, and they are active again as soon as the account is Premium.

Endpoints

Each has its own page, with its parameters, its answers field by field and its errors:

This page as Markdown