Repliers API
The upstream MLS data provider — the reason this backend exists. Everything about the client-side mechanics is in Architecture → Repliers Proxy (axios instance, throttling, error mapping), Client IP forwarding (XFF, warmup key) and MLS-number prefix; this page covers the account/operational side and lists every endpoint the backend calls.
Keys and boards
REPLIERS_API_KEY— the main key. A free sample-data key (board 110) is available at login.repliers.com and is what the default preset targets — the whole backend runs against it.- Paid keys are scoped to one or more real estate boards; the instance preset
must mirror that scope (
settings.defaults.boardId,scrubbing.board_ids,APP_DEFAULTS_BOARDIDS). REPLIERS_API_KEY_EXTRA— optional second key for the historical listings behind estimate property details (EstimateServiceapplies it withswitchKey).REPLIERS_CACHE_WARMUP_API_KEY— optional key for SSG traffic (builds, ISR, warm-up scripts), so it never spends the live key’s quota — see Client IP forwarding. Provision it with entitlements no broader than the main key.
Rate limits
Live requests share one process-wide throttle: REPLIERS_API_LIMIT requests per
REPLIERS_API_INTERVAL_MS (default 1/second). With a warmup key configured, SSG
traffic runs on its own throttle (REPLIERS_CACHE_WARMUP_API_LIMIT /
REPLIERS_CACHE_WARMUP_API_INTERVAL_MS). A Repliers 429 reaches the client as a 429
with the upstream body in info; upstream headers, Retry-After included, are not
forwarded.
Repliers endpoints
Every Repliers call goes through a method of a class in src/services/repliers/ (all extend RepliersBase, src/services/repliers/base.ts); no other file builds a Repliers URL.
Key used. A method uses REPLIERS_API_KEY (main) unless a row says otherwise. A request that carries the SSG token uses REPLIERS_CACHE_WARMUP_API_KEY instead (warmup) when that is set. RepliersBase.switchKey replaces either with another key; its only caller is EstimateService, which moves its second RepliersListings instance (historicalListings) onto REPLIERS_API_KEY_EXTRA (extra) when that is set. Outside an HTTP request the main key is used. See Client IP forwarding.
Caching. The client classes cache nothing. The column names the caching of the domain method that calls the client: “none” means that method is not decorated with @cached; a @cached method stores its result under the namespace shown (see Caching). Methods decorated with @scrubbed scrub on every call.
| Backend method | Repliers endpoint | Key | Caching | Callers |
|---|---|---|---|---|
RepliersListings.search(params, usePost) | GET /listings, or POST /listings when usePost is true | main / warmup; extra for historicalListings | ListingsService.count is @cached("listings:count"); ListingsService.search is not cached | ListingsService.search and ListingsService.count (POST; AutosuggestService reaches it through ListingsService.search); EstimateService (GET: property details, tax lookups, address data, on listings and on historicalListings); StatsService.widgets (@cached("widgets")) and StatsService.fetchStats (@cached("stats")) (GET), and StatsService.neighborhoodsrankingAuthorised (@cached("nr"), Not in OSS) through fetchStats |
RepliersListings.single(params) | GET /listings/{mlsNumber} | main / warmup | none | ListingsService.single (@scrubbed()); BaseEventCollectionSelector (src/services/eventsCollection/selectors/baseEventCollectionSelector.ts) through RepliersService |
RepliersListings.similar(params) | GET /listings/{mlsNumber}/similar | main / warmup | none | ListingsService.similar (@scrubbed("similar")) |
RepliersListings.history(params) | GET /listings/history (mlsNumber in the query) | main / warmup | none | ListingsService.history (@scrubbed("history")) |
RepliersListings.locations(params) | GET /listings/locations | main / warmup | ListingsService.locations is @cached("listings:autosuggest:locations") | ListingsService.locations, called by the /listings/locations and /autosuggest/locations routes |
RepliersListings.nlp(params) | POST /nlp (nlpVersion in the query, the rest in the body) | main / warmup | none | ListingsService.nlp |
RepliersLocations.get(params) | GET /locations | main / warmup | LocationsService.get is @cached("locations:get") | LocationsService.get |
RepliersLocations.autocomplete(params) | GET /locations/autocomplete | main / warmup | none | LocationsService.autocomplete; AutosuggestService (the locations block of autosuggest) |
RepliersBuildings.search(params, usePost) | GET /buildings, or POST /buildings when usePost is true | main / warmup | BuildingsService.search is @cached("buildings:search") | BuildingsService.search |
RepliersBuildings.single(addressKey) | GET /buildings/{addressKey} | main / warmup | BuildingsService.single is @cached("buildings:single") | BuildingsService.single |
RepliersFavorites.add(params) | POST /favorites | main / warmup | none; FavoritesService.add then clears the featured-listings entries of that client | FavoritesService.add |
RepliersFavorites.get(params) | GET /favorites | main / warmup | FavoritesService.get is not cached; FavoritesService wraps it for featured listings in a @cached method (namespace featuredListingsNamespace) | FavoritesService.get, FavoritesService.delete (ownership check), featured listings |
RepliersFavorites.delete(favoriteId) | DELETE /favorites/{favoriteId} | main / warmup | none; FavoritesService.delete then clears the featured-listings entries of that client | FavoritesService.delete |
RepliersSearches.create(params) | POST /searches | main / warmup | none | SearchesService.create |
RepliersSearches.update(params) | PATCH /searches/{searchId} | main / warmup | none | SearchesService.update |
RepliersSearches.filter(params) | GET /searches | main / warmup | none | SearchesService.getAll, SearchesService.delete (ownership check) |
RepliersSearches.get(searchId) | GET /searches/{searchId} | main / warmup | none | SearchesService.getOne |
RepliersSearches.delete(searchId) | DELETE /searches/{searchId} | main / warmup | none | SearchesService.delete |
RepliersEstimate.add(params) | POST /estimates | main / warmup | none | EstimateService, AgentService |
RepliersEstimate.get(params) | GET /estimates | main / warmup | none | EstimateService, AgentService, ContactService |
RepliersEstimate.patch(params) | PATCH /estimates/{estimateId} | main / warmup | none | EstimateService, AgentService |
RepliersEstimate.delete(params) | DELETE /estimates/{estimateId} | main / warmup | none | EstimateService |
RepliersClients.create(params) | POST /clients | main / warmup | none | AuthService, AgentService, OAuthService, SyncService, BossWebhooksService |
RepliersClients.get(clientId) | GET /clients/{clientId} | main / warmup | none | AuthService, AgentService, UserService, ContactService |
RepliersClients.filter(params) | GET /clients | main / warmup | none | AuthService, AgentService, OAuthService, SyncService, BossWebhooksService |
RepliersClients.update(params) | PATCH /clients/{clientId} | main / warmup | none | AuthService, AgentService, UserService, SyncService, BossWebhooksService |
RepliersClients.delete(clientId) | DELETE /clients/{clientId} | main / warmup | none | BossWebhooksService |
RepliersClients.getTags() | GET /clients/tags | main / warmup | none | no caller in src/ |
RepliersClients.renameTag(params) | PATCH /clients/tags/{tag} (label in the body) | main / warmup | none | no caller in src/ |
RepliersAgents.filter(params) | GET /agents | main / warmup | none | AdminService, OAuthService, BossWebhooksService |
RepliersAgents.get(agentId) | GET /agents/{agentId} | main / warmup | none | UserService, ContactService, BaseEventCollectionSelector (through its agentsService) |
RepliersAgents.create(params) | POST /agents | main / warmup | none | AdminService |
RepliersAgents.update(params) | PATCH /agents/{agentId} | main / warmup | none | AdminService |
RepliersMessages.send(params) | POST /messages | main / warmup | none | AuthService (one-time code), AgentService, ContactService |
RepliersMessages.get(params) | GET /messages | main / warmup | none | AuthService (Repliers token lookup), AgentService |
Notes:
RepliersListings.search,single,similar,historyandRepliersFavorites.add/gettranslate MLS numbers when a prefix is configured; see MLS-number prefix.- The warmup key is chosen by the request’s token, not by the method:
RepliersBaseapplies it to every client in the table. - Callers are listed by domain service, not by route. The route-to-service map is in the module catalogue.
Query semantics worth knowing
Verified behaviors that shape how the backend builds requests:
queries[]is a union (POST search) — and a parameter present both top-level and insidequeries[]is rejected with400 Parameter conflict. Exclusions (not:mlsNumber) must therefore be placed per the rules in Restricted listings: placingnot:.searchis a per-keyword, case-insensitive starts-with match; withsearchOperator=OR+address.streetNumberinsearchFields, a digit keyword that matches no street number zeroes the whole union — the reason MLS-prefix search-widening is confined to the autosuggest MLS leg.- Repeated
mlsNumberparams form a union; an exact-number lookup changes other defaults upstream — verify against the live API when in doubt. standardStatuscannot be combined withstatus/lastStatus— Repliers answers400. On an instance withAPP_ALLOWED_LISTINGS_STANDARD_STATUSES,constrainStandardStatus(services/listings/listingHelpers.ts) narrowsstandardStatusonto every listings and favorites query, including eachqueries[]branch: no filter means every allowed status, never every status. So every caller on such an instance must filter in the RESO vocabulary — stats useClosed/Active, autosuggest usesREPLIERS_AUTOSUGGEST_LISTING_STANDARD_STATUS. RESO values are case-sensitive (Active Under Contract).
Environment
REPLIERS_BASE_URL (default https://api.repliers.io), REPLIERS_TIMEOUT,
REPLIERS_AGENT_ID, and the XFF forwarding family
(REPLIERS_PROXY_XFF, XFF_*) — see the
env reference.
Verified against portal-backend 997ae3e, 2026-10-20.