Server definition
- Hash
- sha256:9b6d615416498632e09f5852937e2fe2b530e786e210dcad8c892c025528a9ad
- What it is
- What a remote MCP server returned when asked what it offers: 32 tools
The blob, as servednamed by its sha256
{
"instructions": "Subastech: subastas judiciales de inmuebles en España (datos del BOE). Las herramientas públicas devuelven datos oficiales del BOE (dirección, valores, fechas, resultado) y SIEMPRE la URL de la ficha en app.subastech.com: cítala. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan (Pro o superior); si una herramienta devuelve `locked`, explica al usuario qué plan lo desbloquea y enlaza `upgradeUrl`. Usa `buscar_subastas` para explorar, `subasta` para una ficha, `informe` (con sesión) para el análisis. Nunca inventes valores: si un campo es null, dilo. Parte del análisis del informe se genera con IA (ver https://app.subastech.com/ia).",
"tools": [
{
"description": "Activa o pausa una alerta tuya sin borrarla. Requiere cuenta verificada (scope `alertas:write`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"activa": {
"description": "`true` reanuda la alerta; `false` la pausa sin borrarla.",
"type": "boolean"
},
"id": {
"description": "Identificador de la alerta (de `alertas_listar`).",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"activa"
],
"type": "object"
},
"name": "alertas_activar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"activa": {
"type": "boolean"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
{
"description": "Crea una alerta de subastas (criterios, tipos de aviso, cadencia, canales). Requiere cuenta verificada (scope `alertas:write`). Envía un correo de confirmación al crearla. Límite de alertas y canales según el plan (`ajustes`). Previsualiza antes con `alertas_previsualizar`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cadencia": {
"description": "`instant` requiere plan Pro (si no, pasa a `daily`)",
"enum": [
"instant",
"daily",
"weekly"
],
"type": "string"
},
"canales": {
"description": "`inapp` siempre; `email`; `push`/`telegram`/`webhook` según el plan",
"items": {
"enum": [
"inapp",
"email",
"push",
"telegram",
"webhook"
],
"type": "string"
},
"type": "array"
},
"criterios": {
"additionalProperties": false,
"description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
"properties": {
"discountMinPct": {
"description": "Descuento mínimo sobre tasación (%): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"endingWithinDays": {
"description": "Para el tipo `ending`: días antes del fin",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"keywords": {
"description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio",
"items": {
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"m2Max": {
"minimum": 0,
"type": "number"
},
"m2Min": {
"minimum": 0,
"type": "number"
},
"municipalityKeys": {
"description": "Claves `provincia:municipio` (de `estadisticas_publicas`)",
"items": {
"description": "Clave `provincia:municipio` (de `estadisticas_publicas`)",
"pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"occupied": {
"description": "Solo ocupadas (true) o solo libres (false)",
"type": "boolean"
},
"priceDropMinPct": {
"description": "Para el tipo `price_drop`: bajada mínima (%)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"priceMax": {
"minimum": 0,
"type": "number"
},
"priceMin": {
"minimum": 0,
"type": "number"
},
"propertyTypes": {
"description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"provinceSlugs": {
"description": "Slugs de provincia",
"items": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
},
"maxItems": 60,
"type": "array"
},
"scoreMin": {
"description": "Scoring mínimo (0-100): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"nombre": {
"description": "Nombre de la alerta",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"quiet_hours": {
"additionalProperties": false,
"description": "Franja en la que no se envían avisos. `paused` la desactiva; `from` y `to` en formato HH:MM; `days` con 0 = domingo … 6 = sábado.",
"properties": {
"days": {
"description": "0 = domingo … 6 = sábado",
"items": {
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"maxItems": 7,
"type": "array"
},
"from": {
"description": "HH:MM",
"pattern": "^\\d{2}:\\d{2}$",
"type": "string"
},
"paused": {
"type": "boolean"
},
"to": {
"description": "HH:MM",
"pattern": "^\\d{2}:\\d{2}$",
"type": "string"
}
},
"type": "object"
},
"tipos": {
"description": "`new`, `price_drop`, `ending`, `status`",
"items": {
"enum": [
"new",
"price_drop",
"ending",
"status"
],
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"nombre",
"criterios",
"tipos",
"cadencia",
"canales"
],
"type": "object"
},
"name": "alertas_crear",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ajustes": {
"items": {
"type": "string"
},
"type": "array"
},
"avisos": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"fix": {},
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"type": "array"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"id": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"ok",
"url"
],
"type": "object"
}
},
{
"description": "Modifica una alerta existente (nombre, criterios, tipos, cadencia, canales, horas de silencio). Requiere cuenta verificada (scope `alertas:write`). No envía correo.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"cadencia": {
"description": "`instant` requiere plan Pro (si no, pasa a `daily`)",
"enum": [
"instant",
"daily",
"weekly"
],
"type": "string"
},
"canales": {
"description": "`inapp` siempre; `email`; `push`/`telegram`/`webhook` según el plan",
"items": {
"enum": [
"inapp",
"email",
"push",
"telegram",
"webhook"
],
"type": "string"
},
"type": "array"
},
"criterios": {
"additionalProperties": false,
"description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
"properties": {
"discountMinPct": {
"description": "Descuento mínimo sobre tasación (%): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"endingWithinDays": {
"description": "Para el tipo `ending`: días antes del fin",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"keywords": {
"description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio",
"items": {
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"m2Max": {
"minimum": 0,
"type": "number"
},
"m2Min": {
"minimum": 0,
"type": "number"
},
"municipalityKeys": {
"description": "Claves `provincia:municipio` (de `estadisticas_publicas`)",
"items": {
"description": "Clave `provincia:municipio` (de `estadisticas_publicas`)",
"pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"occupied": {
"description": "Solo ocupadas (true) o solo libres (false)",
"type": "boolean"
},
"priceDropMinPct": {
"description": "Para el tipo `price_drop`: bajada mínima (%)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"priceMax": {
"minimum": 0,
"type": "number"
},
"priceMin": {
"minimum": 0,
"type": "number"
},
"propertyTypes": {
"description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"provinceSlugs": {
"description": "Slugs de provincia",
"items": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
},
"maxItems": 60,
"type": "array"
},
"scoreMin": {
"description": "Scoring mínimo (0-100): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"type": "object"
},
"id": {
"description": "Identificador de la alerta a modificar (de `alertas_listar`).",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"nombre": {
"description": "Nombre de la alerta",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"quiet_hours": {
"additionalProperties": false,
"description": "Franja en la que no se envían avisos. `paused` la desactiva; `from` y `to` en formato HH:MM; `days` con 0 = domingo … 6 = sábado.",
"properties": {
"days": {
"description": "0 = domingo … 6 = sábado",
"items": {
"maximum": 6,
"minimum": 0,
"type": "integer"
},
"maxItems": 7,
"type": "array"
},
"from": {
"description": "HH:MM",
"pattern": "^\\d{2}:\\d{2}$",
"type": "string"
},
"paused": {
"type": "boolean"
},
"to": {
"description": "HH:MM",
"pattern": "^\\d{2}:\\d{2}$",
"type": "string"
}
},
"type": "object"
},
"tipos": {
"description": "`new`, `price_drop`, `ending`, `status`",
"items": {
"enum": [
"new",
"price_drop",
"ending",
"status"
],
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"id",
"nombre",
"criterios",
"tipos",
"cadencia",
"canales"
],
"type": "object"
},
"name": "alertas_editar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ajustes": {
"items": {
"type": "string"
},
"type": "array"
},
"avisos": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"fix": {},
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"type": "array"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"id": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"ok",
"url"
],
"type": "object"
}
},
{
"description": "Elimina una alerta tuya de forma permanente. Requiere cuenta verificada (scope `alertas:write`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador de la alerta a eliminar (de `alertas_listar`).",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "alertas_eliminar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
{
"description": "Lista tus alertas de subastas con sus criterios, tipos de aviso, cadencia, canales y estado. Requiere cuenta (scope `alertas:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página): usa `total`, `paginas` y `hasMore` para pedir la siguiente.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"limite": {
"description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"pagina": {
"description": "Página (≥1; 1 por defecto)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"por_pagina": {
"description": "Resultados por página (1..20; 20 por defecto)",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "alertas_listar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"alertas": {
"items": {
"additionalProperties": {},
"properties": {
"activa": {
"type": "boolean"
},
"cadencia": {
"type": "string"
},
"canales": {
"items": {
"type": "string"
},
"type": "array"
},
"criterios": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"descripcion": {
"type": "string"
},
"id": {
"type": "string"
},
"nombre": {
"type": "string"
},
"quiet_hours": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
]
},
"tipos": {
"items": {
"type": "string"
},
"type": "array"
},
"ultima_notificacion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"nombre",
"criterios",
"tipos",
"cadencia",
"canales",
"activa"
],
"type": "object"
},
"type": "array"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"hasMore": {
"type": "boolean"
},
"pagina": {
"type": "number"
},
"paginas": {
"type": "number"
},
"por_pagina": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"alertas",
"pagina",
"por_pagina",
"total",
"paginas",
"hasMore"
],
"type": "object"
}
},
{
"description": "Antes de crear una alerta: cuántas subastas coinciden ahora con los criterios, una muestra y avisos con `fix` aplicable (criterios sospechosos). Requiere cuenta (scope `alertas:read`). Los criterios avanzados (`scoreMin`, `discountMinPct`) requieren plan Pro; si no, se ignoran y se informa en `ajustes`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"criterios": {
"additionalProperties": false,
"description": "Filtros que debe cumplir una subasta para disparar la alerta: provincias, municipios, tipo de inmueble, precio, superficie y ocupación.",
"properties": {
"discountMinPct": {
"description": "Descuento mínimo sobre tasación (%): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"endingWithinDays": {
"description": "Para el tipo `ending`: días antes del fin",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"keywords": {
"description": "Palabras clave (máx. 10×40). NO filtran por zona: usa provincia/municipio",
"items": {
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"m2Max": {
"minimum": 0,
"type": "number"
},
"m2Min": {
"minimum": 0,
"type": "number"
},
"municipalityKeys": {
"description": "Claves `provincia:municipio` (de `estadisticas_publicas`)",
"items": {
"description": "Clave `provincia:municipio` (de `estadisticas_publicas`)",
"pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
"type": "string"
},
"maxItems": 100,
"type": "array"
},
"occupied": {
"description": "Solo ocupadas (true) o solo libres (false)",
"type": "boolean"
},
"priceDropMinPct": {
"description": "Para el tipo `price_drop`: bajada mínima (%)",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"priceMax": {
"minimum": 0,
"type": "number"
},
"priceMin": {
"minimum": 0,
"type": "number"
},
"propertyTypes": {
"description": "Valores EXACTOS del recurso `subastech://tipos-de-inmueble`",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"provinceSlugs": {
"description": "Slugs de provincia",
"items": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
},
"maxItems": 60,
"type": "array"
},
"scoreMin": {
"description": "Scoring mínimo (0-100): requiere plan Pro",
"maximum": 100,
"minimum": 0,
"type": "number"
}
},
"type": "object"
}
},
"required": [
"criterios"
],
"type": "object"
},
"name": "alertas_previsualizar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ajustes": {
"items": {
"type": "string"
},
"type": "array"
},
"avisos": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"fix": {},
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"type": "array"
},
"coinciden": {
"additionalProperties": {},
"properties": {
"capped": {
"type": "boolean"
},
"count": {
"type": "number"
}
},
"required": [
"count",
"capped"
],
"type": "object"
},
"criterios_limpios": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"muestra": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"criterios_limpios",
"coinciden",
"muestra",
"avisos",
"ajustes"
],
"type": "object"
}
},
{
"description": "Veredicto de viabilidad y ejes (cargas, posesión, rentabilidad, titularidad) de una subasta. Requiere cuenta (scope `informes:read`) y plan Pro o superior; con Radar/Starter devuelve `locked` con `upgradeUrl`. No consume cuota.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "analisis_subasta",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"analisis_listo": {
"description": "false si polSaaS aún está generando el veredicto",
"type": "boolean"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"ejes": {
"items": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"informe_url": {
"type": "string"
},
"locked": {
"additionalProperties": {
"additionalProperties": {},
"properties": {
"feature": {
"type": "string"
},
"label": {
"type": "string"
},
"locked": {
"const": true,
"type": "boolean"
},
"loginUrl": {
"type": "string"
},
"plansLabel": {
"type": "string"
},
"requiredPlan": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMonth": {
"type": "number"
},
"priceMonthLabel": {
"type": "string"
}
},
"required": [
"key",
"name",
"priceMonth",
"priceMonthLabel"
],
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"upgradeUrl": {
"type": "string"
}
},
"required": [
"locked",
"feature",
"label",
"plansLabel",
"requiredPlan",
"upgradeUrl",
"loginUrl"
],
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"subasta": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"veredicto": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"subasta",
"analisis_listo",
"informe_url"
],
"type": "object"
}
},
{
"description": "Localiza subastas del BOE a partir de códigos: referencia catastral, CRU, IDUFIR o identificador BOE (hasta 5). Pública, sin cuenta; sin cuenta solo devuelve fichas vigentes en el catálogo público (con cuenta, también las archivadas con `archivada: true`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"codigos": {
"description": "Referencias catastrales, CRU, IDUFIR o identificadores BOE (1..5)",
"items": {
"maxLength": 60,
"minLength": 3,
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"type": "array"
}
},
"required": [
"codigos"
],
"type": "object"
},
"name": "buscar_por_codigo",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"archivada": {
"type": "boolean"
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"no_encontrados": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"items",
"no_encontrados"
],
"type": "object"
}
},
{
"description": "Busca subastas judiciales de inmuebles del BOE por provincia, municipio, tipo, precio, superficie, texto libre, zona (bbox o radio) y estado. Pública, sin cuenta: devuelve datos oficiales del BOE y la URL de cada ficha. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`. Sin plan con scoring, `orden: score` pasa a `recent` y `solo_viables` se ignora (campo `degradado`). Máximo 20 por página (`por_pagina`, o su alias `limite`); no acepta parámetros que no estén declarados.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"area_max": {
"description": "Superficie construida máxima (m²)",
"minimum": 0,
"type": "number"
},
"area_min": {
"description": "Superficie construida mínima (m²)",
"minimum": 0,
"type": "number"
},
"bbox": {
"additionalProperties": false,
"description": "Zona rectangular en grados (lon/lat)",
"properties": {
"este": {
"type": "number"
},
"norte": {
"type": "number"
},
"oeste": {
"type": "number"
},
"sur": {
"type": "number"
}
},
"required": [
"oeste",
"sur",
"este",
"norte"
],
"type": "object"
},
"cerca": {
"additionalProperties": false,
"description": "Radio alrededor de un punto (máximo 50 km)",
"properties": {
"km": {
"exclusiveMinimum": 0,
"maximum": 50,
"type": "number"
},
"lat": {
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon",
"km"
],
"type": "object"
},
"estado": {
"description": "`activas` (por defecto), `todas`, `adjudicadas` o `desiertas`",
"enum": [
"activas",
"todas",
"adjudicadas",
"desiertas"
],
"type": "string"
},
"limite": {
"description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"municipio": {
"description": "Claves `provincia:municipio` (de `estadisticas_publicas` con `municipio_q`)",
"items": {
"description": "Clave `provincia:municipio` (de `estadisticas_publicas`)",
"pattern": "^[a-z0-9-]+:[a-z0-9-]+$",
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"orden": {
"description": "`recent` (por defecto), `ending`, `discount`, `price`; `score` solo con plan Pro (si no, pasa a `recent`)",
"enum": [
"recent",
"ending",
"discount",
"price",
"score"
],
"type": "string"
},
"pagina": {
"description": "Página (≥1; máximo 25 sin cuenta, 50 con cuenta)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"por_pagina": {
"description": "Resultados por página (1..20)",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"precio_max": {
"description": "Valor de subasta máximo (euros)",
"minimum": 0,
"type": "number"
},
"precio_min": {
"description": "Valor de subasta mínimo (euros)",
"minimum": 0,
"type": "number"
},
"provincia": {
"description": "Slugs de provincia (p. ej. [`madrid`, `barcelona`]); ver `estadisticas_publicas`",
"items": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"solo_viables": {
"description": "Ocultar las no recomendables: solo con plan Pro (si no, se ignora)",
"type": "boolean"
},
"texto": {
"description": "Texto libre (calle, barrio, juzgado…), máximo 120 caracteres",
"maxLength": 120,
"type": "string"
},
"tipo": {
"description": "Tipos de inmueble, valores EXACTOS de `estadisticas_publicas.tipos` (p. ej. `Vivienda`, `Garaje`)",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"type": "array"
}
},
"type": "object"
},
"name": "buscar_subastas",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"degradado": {
"items": {
"type": "string"
},
"type": "array"
},
"disclosure": {
"type": "string"
},
"hasMore": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"locked": {
"additionalProperties": {},
"properties": {
"scoring": {
"additionalProperties": {},
"properties": {
"feature": {
"type": "string"
},
"label": {
"type": "string"
},
"locked": {
"const": true,
"type": "boolean"
},
"loginUrl": {
"type": "string"
},
"plansLabel": {
"type": "string"
},
"requiredPlan": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMonth": {
"type": "number"
},
"priceMonthLabel": {
"type": "string"
}
},
"required": [
"key",
"name",
"priceMonth",
"priceMonthLabel"
],
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"upgradeUrl": {
"type": "string"
}
},
"required": [
"locked",
"feature",
"label",
"plansLabel",
"requiredPlan",
"upgradeUrl",
"loginUrl"
],
"type": "object"
}
},
"type": "object"
},
"pagina": {
"type": "number"
},
"paginas": {
"type": "number"
},
"por_pagina": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"items",
"pagina",
"por_pagina",
"total",
"paginas",
"hasMore"
],
"type": "object"
}
},
{
"description": "Cancela una sesión de checkout UCP abierta (libera cualquier borrador de pedido). Una sesión completada o cancelada no cambia. Requiere meta['idempotency-key'] además de meta['ucp-agent'].",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "Identificador de la sesión de checkout a cancelar (de create_checkout).",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"meta": {
"additionalProperties": {},
"description": "Metadatos de la llamada UCP: `ucp-agent` identifica la plataforma y es obligatorio; `idempotency-key` (UUID) lo es en complete_checkout y cancel_checkout.",
"properties": {
"idempotency-key": {
"description": "Clave de idempotencia (UUID). Obligatoria en complete_checkout y cancel_checkout.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"request-id": {
"maxLength": 128,
"type": "string"
},
"ucp-agent": {
"additionalProperties": {},
"description": "Identificación de la plataforma (equivale a la cabecera UCP-Agent). Obligatorio.",
"properties": {
"profile": {
"description": "URL del perfil UCP de la plataforma (/.well-known/ucp)",
"maxLength": 512,
"type": "string"
}
},
"required": [
"profile"
],
"type": "object"
}
},
"required": [
"ucp-agent"
],
"type": "object"
}
},
"required": [
"meta",
"id"
],
"type": "object"
},
"name": "cancel_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"continue_url": {
"type": "string"
},
"currency": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"price": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"item",
"quantity",
"totals"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": {},
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"severity": {
"enum": [
"recoverable",
"requires_buyer_input",
"requires_buyer_review",
"unrecoverable"
],
"type": "string"
},
"type": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"permalink_url"
],
"type": "object"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"status": {
"enum": [
"incomplete",
"requires_escalation",
"ready_for_complete",
"complete_in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
},
"ucp": {
"additionalProperties": {},
"properties": {
"capabilities": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"payment_handlers": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"version": {
"const": "2026-08-25",
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"required": [
"ucp"
],
"type": "object"
}
},
{
"description": "Completa una sesión de checkout UCP. Sin manejador de pago nativo: si checkout.payment.instruments[] trae una credencial Shared Payment Token de Stripe (handler_id 'stripe', credential.token 'spt_…') se cobra y se entrega al instante; si no, la sesión pasa a requires_escalation y el comprador termina en continue_url. Un informe incluido en el plan se completa sin cobro. Requiere meta['idempotency-key'] además de meta['ucp-agent'].",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"checkout": {
"additionalProperties": {},
"description": "Datos finales del pedido si han cambiado. Aquí viaja la credencial de pago: un Shared Payment Token de Stripe en `payment.instruments[]` se cobra al instante.",
"properties": {
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {
"credential": {
"additionalProperties": {},
"properties": {
"type": {
"maxLength": 80,
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"handler_id": {
"maxLength": 200,
"type": "string"
},
"id": {
"maxLength": 200,
"type": "string"
},
"selected": {
"type": "boolean"
},
"type": {
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"maxItems": 10,
"type": "array"
}
},
"type": "object"
},
"signals": {
"additionalProperties": {},
"properties": {},
"type": "object"
}
},
"type": "object"
},
"id": {
"description": "Identificador de la sesión de checkout a completar (de create_checkout).",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"meta": {
"additionalProperties": {},
"description": "Metadatos de la llamada UCP: `ucp-agent` identifica la plataforma y es obligatorio; `idempotency-key` (UUID) lo es en complete_checkout y cancel_checkout.",
"properties": {
"idempotency-key": {
"description": "Clave de idempotencia (UUID). Obligatoria en complete_checkout y cancel_checkout.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"request-id": {
"maxLength": 128,
"type": "string"
},
"ucp-agent": {
"additionalProperties": {},
"description": "Identificación de la plataforma (equivale a la cabecera UCP-Agent). Obligatorio.",
"properties": {
"profile": {
"description": "URL del perfil UCP de la plataforma (/.well-known/ucp)",
"maxLength": 512,
"type": "string"
}
},
"required": [
"profile"
],
"type": "object"
}
},
"required": [
"ucp-agent"
],
"type": "object"
}
},
"required": [
"meta",
"id"
],
"type": "object"
},
"name": "complete_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"continue_url": {
"type": "string"
},
"currency": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"price": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"item",
"quantity",
"totals"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": {},
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"severity": {
"enum": [
"recoverable",
"requires_buyer_input",
"requires_buyer_review",
"unrecoverable"
],
"type": "string"
},
"type": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"permalink_url"
],
"type": "object"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"status": {
"enum": [
"incomplete",
"requires_escalation",
"ready_for_complete",
"complete_in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
},
"ucp": {
"additionalProperties": {},
"properties": {
"capabilities": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"payment_handlers": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"version": {
"const": "2026-08-25",
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"required": [
"ucp"
],
"type": "object"
}
},
{
"description": "Crea una sesión de checkout UCP 2026-08-25 para comprar un informe de viabilidad, una nota simple registral o una suscripción de Subastech. Productos (item.id): informe:basico:<publicId> (49 € o incluido según plan), informe:completo:<publicId> (79 € o incluido), nota-simple:<publicId> o nota-simple:cru:<14 dígitos> (20 €, solo se cobra con el PDF verificado) y plan:<starter|pro|team|enterprise>:<month|year> (la suscripción se completa en el navegador). Un producto por sesión, quantity 1. Precios con IVA. Indica checkout.buyer.email: se crea o vincula la cuenta del comprador y recibe un enlace de acceso por correo (o autentícate con un token de Subastech). Devuelve el objeto Checkout (status, line_items, totals, messages, links). Requiere meta['ucp-agent'] = { profile: 'https://<plataforma>/.well-known/ucp' } (identificación de la plataforma UCP).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"checkout": {
"additionalProperties": {},
"description": "Contenido del pedido: `line_items` con los productos del catálogo (1-10) y, opcionalmente, `buyer` y `payment`.",
"properties": {
"attribution": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"context": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"maxLength": 200,
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"description": "Identificador del producto: informe:basico:<publicId>, informe:completo:<publicId>, nota-simple:<publicId>, nota-simple:cru:<14 dígitos> o plan:<key>:<month|year>",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"quantity": {
"default": 1,
"maximum": 1000000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"item"
],
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {
"credential": {
"additionalProperties": {},
"properties": {
"type": {
"maxLength": 80,
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"handler_id": {
"maxLength": 200,
"type": "string"
},
"id": {
"maxLength": 200,
"type": "string"
},
"selected": {
"type": "boolean"
},
"type": {
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"maxItems": 10,
"type": "array"
}
},
"type": "object"
},
"signals": {
"additionalProperties": {},
"properties": {},
"type": "object"
}
},
"required": [
"line_items"
],
"type": "object"
},
"meta": {
"additionalProperties": {},
"description": "Metadatos de la llamada UCP: `ucp-agent` identifica la plataforma y es obligatorio; `idempotency-key` (UUID) lo es en complete_checkout y cancel_checkout.",
"properties": {
"idempotency-key": {
"description": "Clave de idempotencia (UUID). Obligatoria en complete_checkout y cancel_checkout.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"request-id": {
"maxLength": 128,
"type": "string"
},
"ucp-agent": {
"additionalProperties": {},
"description": "Identificación de la plataforma (equivale a la cabecera UCP-Agent). Obligatorio.",
"properties": {
"profile": {
"description": "URL del perfil UCP de la plataforma (/.well-known/ucp)",
"maxLength": 512,
"type": "string"
}
},
"required": [
"profile"
],
"type": "object"
}
},
"required": [
"ucp-agent"
],
"type": "object"
}
},
"required": [
"meta",
"checkout"
],
"type": "object"
},
"name": "create_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"continue_url": {
"type": "string"
},
"currency": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"price": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"item",
"quantity",
"totals"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": {},
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"severity": {
"enum": [
"recoverable",
"requires_buyer_input",
"requires_buyer_review",
"unrecoverable"
],
"type": "string"
},
"type": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"permalink_url"
],
"type": "object"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"status": {
"enum": [
"incomplete",
"requires_escalation",
"ready_for_complete",
"complete_in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
},
"ucp": {
"additionalProperties": {},
"properties": {
"capabilities": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"payment_handlers": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"version": {
"const": "2026-08-25",
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"required": [
"ucp"
],
"type": "object"
}
},
{
"description": "Totales del catálogo, provincias con subastas activas e históricas, tipos de inmueble (valores EXACTOS para filtrar) y búsqueda de municipios (claves `provincia:municipio`). Pública, sin cuenta. No incluye estadísticas de mercado (herramienta `mercado`, plan Pro).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"estado": {
"description": "Ámbito de los tipos de inmueble",
"enum": [
"activas",
"historicas"
],
"type": "string"
},
"municipio_q": {
"description": "Buscar municipios por nombre (≥2 caracteres)",
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"type": "object"
},
"name": "estadisticas_publicas",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"municipios": {
"items": {
"additionalProperties": {},
"properties": {
"auctionCount": {
"type": "number"
},
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"province": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"key",
"name",
"province",
"auctionCount",
"url"
],
"type": "object"
},
"type": "array"
},
"provincias": {
"items": {
"additionalProperties": {},
"properties": {
"active": {
"type": "number"
},
"historical": {
"type": "number"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"slug",
"name",
"active",
"historical",
"url"
],
"type": "object"
},
"type": "array"
},
"tipos": {
"items": {
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"n"
],
"type": "object"
},
"type": "array"
},
"totales": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
}
},
"required": [
"totales",
"provincias",
"tipos"
],
"type": "object"
}
},
{
"description": "Explica un concepto de las subastas judiciales en España (depósito, cargas, posesión, cesión de remate, tipos de subasta…) desde la base de conocimiento de Subastech, redactada por personas. Pública, sin cuenta; sin modelo de lenguaje.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"pregunta": {
"description": "Concepto o pregunta (p. ej. «qué es la cesión de remate»)",
"maxLength": 400,
"minLength": 2,
"type": "string"
}
},
"required": [
"pregunta"
],
"type": "object"
},
"name": "explicar_concepto",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"concepto": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"respuesta_md": {
"type": "string"
},
"titulo": {
"type": "string"
}
},
"required": [
"id",
"respuesta_md"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"fuente": {
"type": "string"
},
"relacionados": {
"items": {
"type": "string"
},
"type": "array"
},
"sugerencia": {
"type": "string"
}
},
"required": [
"concepto"
],
"type": "object"
}
},
{
"description": "Guarda una subasta en tus favoritos. Requiere cuenta (scope `favoritos:write`). Radar y Starter solo pueden guardar subastas activas (`fav.historico` es Pro+).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "favoritos_anadir",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"favorito": {
"type": "boolean"
},
"ok": {
"type": "boolean"
}
},
"required": [
"ok",
"favorito"
],
"type": "object"
}
},
{
"description": "Subastas que has guardado como favoritas. Requiere cuenta (scope `favoritos:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página): usa `total`, `paginas` y `hasMore` para pedir la siguiente. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"limite": {
"description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"pagina": {
"description": "Página (≥1; 1 por defecto)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"por_pagina": {
"description": "Resultados por página (1..20; 20 por defecto)",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "favoritos_listar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"hasMore": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"pagina": {
"type": "number"
},
"paginas": {
"type": "number"
},
"por_pagina": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"items",
"pagina",
"por_pagina",
"total",
"paginas",
"hasMore"
],
"type": "object"
}
},
{
"description": "Quita una subasta de tus favoritos. Requiere cuenta (scope `favoritos:write`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "favoritos_quitar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"favorito": {
"type": "boolean"
},
"ok": {
"type": "boolean"
}
},
"required": [
"ok",
"favorito"
],
"type": "object"
}
},
{
"description": "Lee una ficha de subasta por `id` (compatible con la búsqueda profunda de ChatGPT): `id`, `title`, `text` con los datos públicos del BOE en Markdown, `url` y `metadata`. Pública, sin cuenta. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "`id` devuelto por `search` (o URL de la ficha)",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "fetch",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"metadata": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"title",
"text",
"url",
"metadata"
],
"type": "object"
}
},
{
"description": "Devuelve el estado actual de una sesión de checkout UCP por id (incomplete, ready_for_complete, requires_escalation, complete_in_progress, completed, canceled), con messages, continue_url y order cuando existan. Requiere meta['ucp-agent'] = { profile: 'https://<plataforma>/.well-known/ucp' } (identificación de la plataforma UCP).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"description": "Identificador de la sesión de checkout a consultar (de create_checkout).",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"meta": {
"additionalProperties": {},
"description": "Metadatos de la llamada UCP: `ucp-agent` identifica la plataforma y es obligatorio; `idempotency-key` (UUID) lo es en complete_checkout y cancel_checkout.",
"properties": {
"idempotency-key": {
"description": "Clave de idempotencia (UUID). Obligatoria en complete_checkout y cancel_checkout.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"request-id": {
"maxLength": 128,
"type": "string"
},
"ucp-agent": {
"additionalProperties": {},
"description": "Identificación de la plataforma (equivale a la cabecera UCP-Agent). Obligatorio.",
"properties": {
"profile": {
"description": "URL del perfil UCP de la plataforma (/.well-known/ucp)",
"maxLength": 512,
"type": "string"
}
},
"required": [
"profile"
],
"type": "object"
}
},
"required": [
"ucp-agent"
],
"type": "object"
}
},
"required": [
"meta",
"id"
],
"type": "object"
},
"name": "get_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"continue_url": {
"type": "string"
},
"currency": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"price": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"item",
"quantity",
"totals"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": {},
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"severity": {
"enum": [
"recoverable",
"requires_buyer_input",
"requires_buyer_review",
"unrecoverable"
],
"type": "string"
},
"type": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"permalink_url"
],
"type": "object"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"status": {
"enum": [
"incomplete",
"requires_escalation",
"ready_for_complete",
"complete_in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
},
"ucp": {
"additionalProperties": {},
"properties": {
"capabilities": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"payment_handlers": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"version": {
"const": "2026-08-25",
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"required": [
"ucp"
],
"type": "object"
}
},
{
"description": "Informe de viabilidad de una subasta con las secciones que tu plan permite (resumen, cargas, descripción, catastro, calculadora, valoración, intervinientes, estadísticas); las cerradas se listan en `locked`. Requiere cuenta verificada (scope `informes:read`). Los tiers `basic`/`completo` solo se sirven si ya están desbloqueados: si no, devuelve `unlock_required` con la URL para desbloquearlos en el navegador (y, si el comercio para agentes está activo, `compra.paymentLink` para pagarlos por MPP). Nunca consume cuota ni cobra por sí misma. Parte del texto se genera con IA (`disclosure`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
},
"tier": {
"description": "`web` (por defecto, según tu plan), `basic` o `completo` (solo si ya están desbloqueados)",
"enum": [
"web",
"basic",
"completo"
],
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "informe",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ai": {
"additionalProperties": {},
"properties": {
"generated": {
"type": "boolean"
},
"note": {
"type": "string"
},
"system": {
"type": "string"
}
},
"required": [
"generated",
"system"
],
"type": "object"
},
"analisis_listo": {
"description": "false si polSaaS aún está generando el veredicto",
"type": "boolean"
},
"compra": {
"additionalProperties": {},
"properties": {
"instrucciones": {
"additionalProperties": {},
"properties": {
"agente": {
"type": "string"
},
"navegador": {
"type": "string"
}
},
"required": [
"agente",
"navegador"
],
"type": "object"
},
"moneda": {
"const": "EUR",
"type": "string"
},
"paymentLink": {
"description": "URL de pago máquina (MPP/Stripe): POST → 402 con reto → reintento con Shared Payment Token; en navegador, checkout humano",
"type": "string"
},
"precio_cents": {
"type": "number"
},
"precio_label": {
"type": "string"
}
},
"required": [
"paymentLink",
"precio_cents",
"moneda",
"instrucciones"
],
"type": "object"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"informe_url": {
"type": "string"
},
"locked": {
"additionalProperties": {
"additionalProperties": {},
"properties": {
"feature": {
"type": "string"
},
"label": {
"type": "string"
},
"locked": {
"const": true,
"type": "boolean"
},
"loginUrl": {
"type": "string"
},
"plansLabel": {
"type": "string"
},
"requiredPlan": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMonth": {
"type": "number"
},
"priceMonthLabel": {
"type": "string"
}
},
"required": [
"key",
"name",
"priceMonth",
"priceMonthLabel"
],
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"upgradeUrl": {
"type": "string"
}
},
"required": [
"locked",
"feature",
"label",
"plansLabel",
"requiredPlan",
"upgradeUrl",
"loginUrl"
],
"type": "object"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"pdfUrl": {
"type": "string"
},
"secciones": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"subasta": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"tier": {
"enum": [
"web",
"basic",
"completo"
],
"type": "string"
},
"unlock_url": {
"type": "string"
}
},
"required": [
"subasta",
"tier",
"secciones",
"locked",
"analisis_listo",
"informe_url"
],
"type": "object"
}
},
{
"description": "Estadísticas de mercado de subastas resueltas (tasa de adjudicación, descuento real, precios) por provincia y/o tipo de inmueble. Requiere cuenta (scope `informes:read`) y plan Pro o superior; si no, `plan_required` con `locked`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"provincia": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
},
"tipo": {
"description": "Tipo de inmueble (valor exacto)",
"maxLength": 60,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"name": "mercado",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"ambito": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"locked": {
"additionalProperties": {},
"properties": {
"feature": {
"type": "string"
},
"label": {
"type": "string"
},
"locked": {
"const": true,
"type": "boolean"
},
"loginUrl": {
"type": "string"
},
"plansLabel": {
"type": "string"
},
"requiredPlan": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMonth": {
"type": "number"
},
"priceMonthLabel": {
"type": "string"
}
},
"required": [
"key",
"name",
"priceMonth",
"priceMonthLabel"
],
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"upgradeUrl": {
"type": "string"
}
},
"required": [
"locked",
"feature",
"label",
"plansLabel",
"requiredPlan",
"upgradeUrl",
"loginUrl"
],
"type": "object"
},
"minimo": {
"type": "number"
},
"muestra_insuficiente": {
"type": "boolean"
},
"stats": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"ambito",
"stats"
],
"type": "object"
}
},
{
"description": "Tu plan, cuota de informes, funciones disponibles, scopes del token, límites de uso y URLs útiles (precios, integraciones). Requiere cuenta (scope `cuenta:read`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "mi_cuenta",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"cuota_informes": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"disclosure": {
"type": "string"
},
"funciones": {
"additionalProperties": {
"type": "boolean"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"limites": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"org": {
"anyOf": [
{
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
]
},
"plan": {
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"nombre": {
"type": "string"
},
"precio_mes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"key",
"nombre"
],
"type": "object"
},
"token": {
"additionalProperties": {},
"properties": {
"client": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"type": "string"
},
"scopes": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"kind",
"scopes"
],
"type": "object"
},
"urls": {
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"usuario": {
"additionalProperties": {},
"properties": {
"email": {
"type": "string"
},
"nombre": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verificado": {
"type": "boolean"
}
},
"required": [
"email",
"nombre",
"verificado"
],
"type": "object"
}
},
"required": [
"usuario",
"plan",
"funciones",
"token",
"limites",
"urls"
],
"type": "object"
}
},
{
"description": "Estado de un pedido de nota simple registral y URL para verlo o descargar el PDF cuando esté listo. Requiere cuenta (scope `notas:read`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"pedido_id": {
"description": "Identificador del pedido devuelto por `nota_simple_pedir`.",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"pedido_id"
],
"type": "object"
},
"name": "nota_simple_estado",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"pedido": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"url": {
"type": "string"
}
},
"required": [
"pedido",
"url"
],
"type": "object"
}
},
{
"description": "Inicia el pedido de la nota simple registral de una subasta (20 €, retención: solo se cobra con PDF verificado). Requiere cuenta verificada (scope `notas:write`) y que la subasta tenga CRU/IDUFIR (`not_orderable` si no). Devuelve `pedido_id` y la `url` donde el usuario confirma el pago en el navegador (y, si el comercio para agentes está activo, `paymentLink` para pagarlo por MPP); el pago nunca se completa desde aquí. Idempotente: si ya hay un pedido vivo devuelve `pedido_existente`. Máximo 20 inmuebles al día.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "nota_simple_pedir",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"compra": {
"additionalProperties": {},
"properties": {
"instrucciones": {
"additionalProperties": {},
"properties": {
"agente": {
"type": "string"
},
"navegador": {
"type": "string"
}
},
"required": [
"agente",
"navegador"
],
"type": "object"
},
"moneda": {
"const": "EUR",
"type": "string"
},
"paymentLink": {
"description": "URL de pago máquina (MPP/Stripe): POST → 402 con reto → reintento con Shared Payment Token; en navegador, checkout humano",
"type": "string"
},
"precio_cents": {
"type": "number"
},
"precio_label": {
"type": "string"
}
},
"required": [
"paymentLink",
"precio_cents",
"moneda",
"instrucciones"
],
"type": "object"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"paymentLink": {
"type": "string"
},
"pedido_id": {
"type": "string"
},
"precio_cents": {
"type": "number"
},
"siguiente_paso": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"pedido_id",
"url",
"siguiente_paso"
],
"type": "object"
}
},
{
"description": "Pedidos de nota simple registral (20 €) con su estado. Requiere cuenta (scope `notas:read`). Paginada (`pagina`, `por_pagina`; máximo 20 por página): usa `total`, `paginas` y `hasMore` para pedir la siguiente.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"limite": {
"description": "Alias de `por_pagina` (número de resultados por página). Si indicas los dos, manda `por_pagina`.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"pagina": {
"description": "Página (≥1; 1 por defecto)",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"por_pagina": {
"description": "Resultados por página (1..20; 20 por defecto)",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "notas_simples_listar",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"hasMore": {
"type": "boolean"
},
"pagina": {
"type": "number"
},
"paginas": {
"type": "number"
},
"pedidos": {
"items": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"por_pagina": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"pedidos",
"pagina",
"por_pagina",
"total",
"paginas",
"hasMore"
],
"type": "object"
}
},
{
"description": "Planes de Subastech (Radar gratuito, Starter, Pro, Team, Enterprise) con precios y comparativa de funciones. Pública, sin cuenta.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "planes",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"comparativa": {},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"planes": {
"items": {
"additionalProperties": {},
"propertyNames": {
"type": "string"
},
"type": "object"
},
"type": "array"
},
"url": {
"type": "string"
}
},
"required": [
"planes",
"comparativa",
"url"
],
"type": "object"
}
},
{
"description": "Subastas recomendadas según tu historial (tipo, precio, provincias), como el bloque «para ti» de la web. Requiere cuenta (scope `cuenta:read`). Con plan Pro o superior usa el ranking por scoring; si no, se construye con tu perfil y orden por fecha de fin.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "recomendaciones",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"nota": {
"type": "string"
},
"titulo": {
"type": "string"
}
},
"required": [
"items"
],
"type": "object"
}
},
{
"description": "Últimas subastas del BOE con resultado oficial (adjudicadas), opcionalmente por provincia, con el remate y el descuento real sobre la tasación (aritmética del BOE). Pública, sin cuenta. Máximo 15.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"limite": {
"description": "Máximo 15",
"maximum": 15,
"minimum": 1,
"type": "integer"
},
"provincia": {
"description": "Slug en minúsculas (p. ej. `madrid`)",
"pattern": "^[a-z0-9-]{1,80}$",
"type": "string"
}
},
"type": "object"
},
"name": "resultados_recientes",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"descuento_real_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente",
"remate",
"descuento_real_pct"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
{
"description": "Búsqueda en lenguaje natural de subastas judiciales del BOE (compatible con la búsqueda profunda de ChatGPT): devuelve `results` con `id`, `title` y `url`. Pública, sin cuenta. Usa `fetch` con el `id` para leer la ficha.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"query": {
"description": "Búsqueda en lenguaje natural",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "search",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"results": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"title",
"url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results"
],
"type": "object"
}
},
{
"description": "Subastas parecidas a una dada (mismo tipo de inmueble, banda de precio, cercanía). Requiere cuenta (scope `informes:read`). Con plan Pro o superior se ordenan por scoring (`metodo: scoring`); si no, por fecha de fin (`metodo: publico`).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
},
"limite": {
"description": "Número máximo de subastas similares a devolver (1-10).",
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"required": [
"id"
],
"type": "object"
},
"name": "similares",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"base": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"items": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"axes": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"cargas": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posesion": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rentab": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"titularidad": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"cargas",
"posesion",
"rentab",
"titularidad"
],
"type": "object"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"metodo": {
"enum": [
"scoring",
"publico"
],
"type": "string"
}
},
"required": [
"base",
"items",
"metodo"
],
"type": "object"
}
},
{
"description": "Ficha pública de una subasta del BOE por identificador (10 caracteres), URL de app.subastech.com o identificador BOE (SUB-…): dirección, valores, fechas, resultado, lotes y un resumen citable. Pública, sin cuenta. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan Pro o superior; si algo está cerrado se devuelve `locked` con `upgradeUrl`.",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"boe_id": {
"description": "Identificador del BOE (p. ej. `SUB-JA-2026-123456`): devuelve todos los lotes",
"maxLength": 60,
"type": "string"
},
"id": {
"description": "Identificador público de la subasta (10 caracteres)",
"pattern": "^[A-Za-z0-9]{10}$",
"type": "string"
},
"url": {
"description": "URL de la ficha en app.subastech.com",
"format": "uri",
"maxLength": 400,
"type": "string"
}
},
"type": "object"
},
"name": "subasta",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"cta": {
"additionalProperties": {},
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"text",
"url"
],
"type": "object"
},
"disclosure": {
"type": "string"
},
"locked": {
"additionalProperties": {},
"properties": {
"scoring": {
"additionalProperties": {},
"properties": {
"feature": {
"type": "string"
},
"label": {
"type": "string"
},
"locked": {
"const": true,
"type": "boolean"
},
"loginUrl": {
"type": "string"
},
"plansLabel": {
"type": "string"
},
"requiredPlan": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMonth": {
"type": "number"
},
"priceMonthLabel": {
"type": "string"
}
},
"required": [
"key",
"name",
"priceMonth",
"priceMonthLabel"
],
"type": "object"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"upgradeUrl": {
"type": "string"
}
},
"required": [
"locked",
"feature",
"label",
"plansLabel",
"requiredPlan",
"upgradeUrl",
"loginUrl"
],
"type": "object"
}
},
"type": "object"
},
"lotes": {
"items": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
},
"type": "array"
},
"resumen": {
"description": "Frase citable con los datos del BOE",
"type": "string"
},
"subasta": {
"additionalProperties": {},
"properties": {
"address": {
"type": "string"
},
"appraisal": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"cadastral": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentUpdatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cp": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"daysLeft": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"deposit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"discount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"finalBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"fuente": {
"const": "BOE",
"type": "string"
},
"id": {
"type": "string"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"isNew": {
"type": "boolean"
},
"lat": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"links": {
"additionalProperties": {},
"properties": {
"catastroPdf": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"streetView": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"streetView",
"catastroPdf"
],
"type": "object"
},
"lon": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lot": {
"anyOf": [
{
"additionalProperties": {},
"properties": {
"n": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"n",
"total"
],
"type": "object"
},
{
"type": "null"
}
]
},
"m2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"minimumBid": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"municipalitySlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"municipio": {
"type": "string"
},
"occupied": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"phase": {
"enum": [
"activa",
"historica",
"descartada",
"suspendida"
],
"type": "string"
},
"provinceSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"provincia": {
"type": "string"
},
"ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"resultStatus": {
"anyOf": [
{
"enum": [
"con_pujas",
"sin_pujas",
"cancelada"
],
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"valueAuction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"valueM2": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"type",
"isNew",
"title",
"address",
"municipio",
"provincia",
"cp",
"ref",
"provinceSlug",
"municipalitySlug",
"end",
"contentUpdatedAt",
"daysLeft",
"valueAuction",
"valueM2",
"minimumBid",
"deposit",
"appraisal",
"occupied",
"discount",
"m2",
"status",
"cadastral",
"imageUrl",
"lat",
"lon",
"lot",
"finalBid",
"resultStatus",
"closedAt",
"phase",
"url",
"links",
"fuente"
],
"type": "object"
}
},
"required": [
"subasta",
"resumen"
],
"type": "object"
}
},
{
"description": "Reemplaza el contenido de una sesión de checkout UCP (line_items y buyer) y recalcula precio y estado. No admite sesiones en complete_in_progress ni terminadas. Requiere meta['ucp-agent'] = { profile: 'https://<plataforma>/.well-known/ucp' } (identificación de la plataforma UCP).",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"checkout": {
"additionalProperties": {},
"description": "Nuevo contenido del pedido, que sustituye al de la sesión abierta.",
"properties": {
"attribution": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"context": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"maxLength": 200,
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"description": "Identificador del producto: informe:basico:<publicId>, informe:completo:<publicId>, nota-simple:<publicId>, nota-simple:cru:<14 dígitos> o plan:<key>:<month|year>",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"quantity": {
"default": 1,
"maximum": 1000000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"item"
],
"type": "object"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {
"credential": {
"additionalProperties": {},
"properties": {
"type": {
"maxLength": 80,
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"handler_id": {
"maxLength": 200,
"type": "string"
},
"id": {
"maxLength": 200,
"type": "string"
},
"selected": {
"type": "boolean"
},
"type": {
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"maxItems": 10,
"type": "array"
}
},
"type": "object"
},
"signals": {
"additionalProperties": {},
"properties": {},
"type": "object"
}
},
"required": [
"line_items"
],
"type": "object"
},
"id": {
"description": "Identificador de la sesión de checkout a modificar (de create_checkout).",
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"meta": {
"additionalProperties": {},
"description": "Metadatos de la llamada UCP: `ucp-agent` identifica la plataforma y es obligatorio; `idempotency-key` (UUID) lo es en complete_checkout y cancel_checkout.",
"properties": {
"idempotency-key": {
"description": "Clave de idempotencia (UUID). Obligatoria en complete_checkout y cancel_checkout.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"request-id": {
"maxLength": 128,
"type": "string"
},
"ucp-agent": {
"additionalProperties": {},
"description": "Identificación de la plataforma (equivale a la cabecera UCP-Agent). Obligatorio.",
"properties": {
"profile": {
"description": "URL del perfil UCP de la plataforma (/.well-known/ucp)",
"maxLength": 512,
"type": "string"
}
},
"required": [
"profile"
],
"type": "object"
}
},
"required": [
"ucp-agent"
],
"type": "object"
}
},
"required": [
"meta",
"id",
"checkout"
],
"type": "object"
},
"name": "update_checkout",
"outputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {},
"properties": {
"buyer": {
"additionalProperties": {},
"properties": {
"email": {
"maxLength": 320,
"type": "string"
},
"first_name": {
"maxLength": 120,
"type": "string"
},
"last_name": {
"maxLength": 120,
"type": "string"
},
"phone_number": {
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"continue_url": {
"type": "string"
},
"currency": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"id": {
"type": "string"
},
"line_items": {
"items": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"item": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"price": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"price"
],
"type": "object"
},
"quantity": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"item",
"quantity",
"totals"
],
"type": "object"
},
"type": "array"
},
"links": {
"items": {
"additionalProperties": {},
"properties": {
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"url"
],
"type": "object"
},
"type": "array"
},
"messages": {
"items": {
"additionalProperties": {},
"properties": {
"code": {
"type": "string"
},
"content": {
"type": "string"
},
"path": {
"type": "string"
},
"severity": {
"enum": [
"recoverable",
"requires_buyer_input",
"requires_buyer_review",
"unrecoverable"
],
"type": "string"
},
"type": {
"enum": [
"error",
"warning",
"info"
],
"type": "string"
}
},
"required": [
"type",
"content"
],
"type": "object"
},
"type": "array"
},
"order": {
"additionalProperties": {},
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"permalink_url": {
"type": "string"
}
},
"required": [
"id",
"permalink_url"
],
"type": "object"
},
"payment": {
"additionalProperties": {},
"properties": {
"instruments": {
"items": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"status": {
"enum": [
"incomplete",
"requires_escalation",
"ready_for_complete",
"complete_in_progress",
"completed",
"canceled"
],
"type": "string"
},
"totals": {
"items": {
"additionalProperties": {},
"properties": {
"amount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"display_text": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"type",
"amount"
],
"type": "object"
},
"type": "array"
},
"ucp": {
"additionalProperties": {},
"properties": {
"capabilities": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"payment_handlers": {
"additionalProperties": {},
"properties": {},
"type": "object"
},
"status": {
"enum": [
"success",
"error"
],
"type": "string"
},
"version": {
"const": "2026-08-25",
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"required": [
"ucp"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:9b6d615416498632e09f5852937e2fe2b530e786e210dcad8c892c025528a9ad | sha256sum