ByDomuDevelopers

Enviar preferencias del buscador

POSThttps://api.bydomu.com/v1/finder

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Registra lo que busca un prospecto (tipo, zona, presupuesto, características) como contacto y devuelve hasta 12 propiedades que encajan, con su puntaje y el detalle del cálculo. Dispara el webhook FINDER_SUBMITTED.

Permission required

finder:write

Required header

X-API-Key · publishable or secret key

Access level

Level 1 · no request

Headers

1 · all optional
Idempotency-Keystring · optional
Clave única de la operación (8-128 caracteres de [a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 chars

Body (JSON)

15 · 4 required
transactionTypestring · required
SALE · RENT
propertyTypestring · required
APARTMENT · HOUSE · OFFICE · COMMERCIAL · LAND · WAREHOUSE · ROOM · FARM · OTHER
firstNamestring · required
2–100 chars
phonestring · required
7–20 chars
citystring · optional
≤ 100 chars
neighborhoodstring · optional
≤ 100 chars
See the other 9 parameters
budgetMinnumber · optional
≥ 0 · nullable
budgetMaxnumber · optional
≥ 0 · nullable
minBedroomsinteger · optional
≥ 0 · nullable
minBathroomsinteger · optional
≥ 0 · nullable
minAreanumber · optional
≥ 0 · nullable
amenitiesstring[] · optional
emailstring | string · optional
messagestring · optional
≤ 1000 chars
subscribedToAlertsboolean · optional
default false

Response 201

FinderResult · 3 fields
datacontact · properties · total
contactid
idstring
properties[]Hasta 12 propiedades, de mejor a peor puntaje
idstring
codestring
titlestring
typestringAPARTMENT, HOUSE, OFFICE, COMMERCIAL, LAND, WAREHOUSE
transactionTypestringSALE, RENT, SALE_OR_RENT
pricenumber
currencystring
citystring
neighborhoodstring
bedroomsinteger
bathroomsinteger
areanumber
matchScoreintegerQué tan bien encaja (0-100)
breakdown[]criterio · puntos · estado
criteriostring
puntosinteger
estadostringmatch, partial, mismatch, unknown
imagestring
totalintegerPropiedades que encajan

Possible errors

shaped as { "error": { "code", "message" } }
  • 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
  • 401UNAUTHORIZED
  • 402PAYMENT_REQUIRED
  • 403FORBIDDEN
  • 409DUPLICATE
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequestPOST/v1/finder
Official SDK · @bydomu/sdk · not on npm yet
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.finder.submit({
  "transactionType": "SALE",
  "propertyType": "APARTMENT",
  "city": "Bogotá",
  "neighborhood": "Chapinero",
  "budgetMin": 250000000,
  "budgetMax": 400000000,
  "minBedrooms": 2,
  "amenities": [
    "parking",
    "gym"
  ],
  "firstName": "Juan",
  "phone": "+573005551234",
  "subscribedToAlerts": true
});
201 Created · example
{
  "data": {
    "contact": {
      "id": "clx1con009"
    },
    "properties": [
      {
        "id": "clx1prop001",
        "code": "P-0042",
        "title": "Apartamento en Chapinero con vista",
        "type": "APARTMENT",
        "transactionType": "SALE",
        "price": 450000000,
        "currency": "COP",
        "city": "Bogotá",
        "neighborhood": "Chapinero",
        "bedrooms": 3,
        "bathrooms": 2,
        "area": 85,
        "matchScore": 87,
        "breakdown": [
          {
            "criterio": "Presupuesto",
            "puntos": 30,
            "estado": "match"
          }
        ],
        "image": "https://cdn.bydomu.com/props/clx1prop001/1.jpg"
      }
    ],
    "total": 7
  }
}