Breeder API

Saved searches — API reference

How to manage your saved marketplace searches and email alert settings using the Herpify Breeder API.

What it does

Saved searches let you bookmark specific marketplace queries so you can re-run them anytime, and optionally receive email alerts when new listings match your criteria. The API lets you create, list, update, and delete saved searches programmatically.

Who can access it

Breeder plan subscribers only. Authenticate with your API key in the `Authorization: Bearer` header.

List saved searches — GET /api/breeder/saved-searches

Returns all your saved searches with their current alert settings.

Create a saved search — POST /api/breeder/saved-searches

Creates a new saved search. Names must be unique — if you try to create one with a name that already exists, you'll get a `409 Conflict` error.

ParameterTypeRequiredDescription
namestringRequiredA label for this search so you can identify it. Must be unique across your saved searches. Maximum 100 characters.
filtersobjectRequiredThe search criteria as a JSON object. Use the same filter keys available in the marketplace search.
alertFrequencystringOptionalHow often to email you about new matches: INSTANT (as soon as a match is listed), DAILY (once per day digest), or WEEKLY (once per week digest). Leave blank for no alerts.

Update a saved search — PATCH /api/breeder/saved-searches/:id

Update the name, filters, or alert frequency for a saved search.

ParameterTypeRequiredDescription
namestringOptionalNew name. Must be unique.
filtersobjectOptionalReplacement filters object. The entire filters object is replaced, not merged.
alertFrequencystringOptionalINSTANT, DAILY, WEEKLY, or null to disable alerts.

Delete a saved search — DELETE /api/breeder/saved-searches/:id

Permanently deletes the saved search. Email alerts for this search stop immediately.

Real-world example

You're on the hunt for a female Pastel Leopard Gecko to add to your breeding group. Rather than checking the marketplace every day, you create a saved search via the API with INSTANT alerts. The moment a matching listing goes live, you get an email — giving you first shot at new stock.

Was this article helpful?