Subastech Subastas API

The Subastas API from Subastech — 2 operation(s) for subastas.

GitHub OpenAPI

Operations 2

GET /v1/subastas Lista paginada de subastas (datos BOE) #
GET /v1/subastas/{id} Ficha pública de una subasta #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/subastech-com:subastech-com-subastas-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

subastech-com-subastas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Subastech — API pública de judiciales del BOE Subastas API
  version: 1.0.0
  description: 'Datos públicos del BOE (dirección, valores, fechas, resultado oficial) de subastas judiciales de inmuebles en España. Sin autenticación, CORS abierto, respuestas cacheables 60 s. Cita siempre la `url` de cada subasta. `discount` y `pctVsAuction` son aritmética sobre datos del BOE, no un veredicto. El scoring, veredicto, cargas, ROI, valoración e intervinientes requieren cuenta y plan (https://app.subastech.com/precios) y están disponibles vía MCP (https://mcp.subastech.com/mcp) o en la web. Parte del análisis privado se genera con IA: https://app.subastech.com/ia.'
  contact:
    name: Subastech
    email: hola@subastech.com
    url: https://app.subastech.com
  termsOfService: https://www.subastech.com/sobre-nosotros/
  x-service-info:
    mcp: https://mcp.subastech.com/mcp
    a2a: https://mcp.subastech.com/a2a
    llms: https://app.subastech.com/llms-full.txt
    agentSkills: https://app.subastech.com/.well-known/agent-skills/index.json
    docs: https://app.subastech.com/agentes
    status: https://app.subastech.com/v1/status
servers:
- url: https://app.subastech.com
tags:
- name: Subastas
paths:
  /v1/subastas:
    get:
      operationId: listSubastas
      summary: Lista paginada de subastas (datos BOE)
      description: 'Mismos filtros que la web. Orden `score` no disponible (cae a `recent`). Con `estado=adjudicadas|desiertas` no se devuelve `total`/`pages`, solo `hasMore`. Máximo 60 por página y 10.000 filas de profundidad: para ir más allá, filtra.'
      parameters:
      - $ref: '#/components/parameters/prov'
      - $ref: '#/components/parameters/muni'
      - $ref: '#/components/parameters/type'
      - $ref: '#/components/parameters/min'
      - $ref: '#/components/parameters/max'
      - $ref: '#/components/parameters/area_min'
      - $ref: '#/components/parameters/area_max'
      - $ref: '#/components/parameters/q'
      - $ref: '#/components/parameters/near'
      - $ref: '#/components/parameters/bbox'
      - $ref: '#/components/parameters/estado'
      - $ref: '#/components/parameters/sort'
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/pageSize'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubastaList'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Subastas
  /v1/subastas/{id}:
    get:
      operationId: getSubasta
      summary: Ficha pública de una subasta
      description: Subasta + resumen citable + resultado oficial del BOE (CSV verificable y lotes) + enlaces. 404 si no existe, está descartada o lleva más de un año concluida.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{10}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubastaDetalle'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Subastas
components:
  responses:
    NotFound:
      description: No existe, está descartada o fuera de la ventana pública de un año
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Demasiadas peticiones (300/min y 1500/h por IP). Espera `Retry-After` segundos.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
    SubastaDetalle:
      allOf:
      - $ref: '#/components/schemas/Subasta'
      - type: object
        required:
        - summary
        - result
        - lotes
        - links
        - source
        properties:
          summary:
            type: string
            description: Frase citable con datos del BOE (idéntica a la ficha web)
          result:
            type:
            - object
            - 'null'
            description: Resultado oficial del certificado de cierre del BOE, si existe
            properties:
              csv:
                type:
                - string
                - 'null'
                description: Código Seguro de Verificación (https://extranet.boe.es/arde/)
              lots:
                type: array
                items:
                  type: object
                  properties:
                    lote:
                      type: integer
                    status:
                      type: string
                      enum:
                      - con_pujas
                      - sin_pujas
                      - cancelada
                    final_bid:
                      type:
                      - string
                      - 'null'
                      description: Remate del lote (€), como cadena
          lotes:
            type: array
            description: Lotes hermanos (mismo boe_id) cuando la subasta tiene más de uno
            items:
              type: object
              properties:
                id:
                  type: string
                n:
                  type:
                  - integer
                  - 'null'
                url:
                  type: string
                  format: uri
                valueAuction:
                  type:
                  - number
                  - 'null'
                resultStatus:
                  type:
                  - string
                  - 'null'
                finalBid:
                  type:
                  - number
                  - 'null'
          source:
            type: object
            properties:
              boeId:
                type:
                - string
                - 'null'
              updatedAt:
                type:
                - string
                - 'null'
                format: date-time
          links:
            type: object
            properties:
              html:
                type: string
                format: uri
                description: Ficha canónica
              markdown:
                type: string
                format: uri
                description: 'Misma URL con `Accept: text/markdown`'
              streetView:
                type:
                - string
                - 'null'
                format: uri
              catastroPdf:
                type:
                - string
                - 'null'
                format: uri
    Subasta:
      type: object
      description: 'Subasta judicial con SOLO datos públicos del BOE. `url` es la ficha canónica en app.subastech.com: cítala siempre. No incluye scoring, veredicto, cargas, ROI ni valoración (requieren cuenta y plan; ver MCP).'
      required:
      - id
      - url
      - type
      - phase
      - fuente
      - links
      properties:
        id:
          type: string
          pattern: ^[A-Za-z0-9]{10}$
          description: Identificador público estable
        url:
          type: string
          format: uri
          description: 'Ficha canónica en app.subastech.com (también en Markdown con `Accept: text/markdown`)'
        type:
          type: string
          description: Tipo de inmueble (cadena exacta de /tipos)
        isNew:
          type: boolean
          description: Publicada en los últimos 3 días
        title:
          type: string
        address:
          type: string
          description: Dirección corta (sin piso/puerta)
        municipio:
          type: string
        provincia:
          type: string
        cp:
          type:
          - string
          - 'null'
        ref:
          type:
          - string
          - 'null'
          description: Referencia BOE (p. ej. SUB-JA-2026-123456)
        provinceSlug:
          type:
          - string
          - 'null'
        municipalitySlug:
          type:
          - string
          - 'null'
        end:
          type:
          - string
          - 'null'
          format: date-time
          description: Fin de la subasta
        contentUpdatedAt:
          type:
          - string
          - 'null'
          format: date-time
        daysLeft:
          type:
          - integer
          - 'null'
        valueAuction:
          type:
          - number
          - 'null'
          description: Valor de subasta (€)
        valueM2:
          type:
          - number
          - 'null'
          description: €/m² sobre el valor de subasta
        minimumBid:
          type:
          - number
          - 'null'
          description: Puja mínima (€)
        deposit:
          type:
          - number
          - 'null'
          description: Depósito para pujar (€)
        appraisal:
          type:
          - number
          - 'null'
          description: Valor de tasación (€)
        occupied:
          type:
          - boolean
          - 'null'
        discount:
          type:
          - integer
          - 'null'
          description: '% aritmético tasación vs. valor de subasta (dato BOE, no veredicto)'
        m2:
          type:
          - number
          - 'null'
          description: Superficie construida (m²)
        status:
          type:
          - string
          - 'null'
          description: Estado literal del portal del BOE
        cadastral:
          type:
          - string
          - 'null'
          description: Referencia catastral
        imageUrl:
          type:
          - string
          - 'null'
        lat:
          type:
          - number
          - 'null'
        lon:
          type:
          - number
          - 'null'
        lot:
          type:
          - object
          - 'null'
          description: Lote dentro de la subasta BOE, solo si hay más de uno
          properties:
            n:
              type: integer
            total:
              type: integer
        finalBid:
          type:
          - number
          - 'null'
          description: Precio de remate oficial (certificado de cierre del BOE)
        resultStatus:
          type:
          - string
          - 'null'
          enum:
          - con_pujas
          - sin_pujas
          - cancelada
          - null
          description: Resultado oficial
        closedAt:
          type:
          - string
          - 'null'
          format: date-time
        phase:
          type: string
          enum:
          - activa
          - historica
          - descartada
          - suspendida
          description: activa = no concluida y con fecha futura; suspendida = temporalmente suspendida (reversible, no admite pujas)
        links:
          type: object
          properties:
            streetView:
              type:
              - string
              - 'null'
              format: uri
              description: Google Maps por dirección
            catastroPdf:
              type:
              - string
              - 'null'
              format: uri
              description: PDF oficial del Catastro (proxy propio); null en territorio foral
        fuente:
          type: string
          enum:
          - BOE
    SubastaList:
      type: object
      required:
      - items
      - page
      - pageSize
      - hasMore
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Subasta'
        page:
          type: integer
        pageSize:
          type: integer
        hasMore:
          type: boolean
          description: Hay más páginas (siempre presente)
        total:
          type: integer
          description: Solo sin `estado` de resultado (capado a 10.000)
        pages:
          type: integer
          description: Solo sin `estado` de resultado
  parameters:
    near:
      name: near
      in: query
      schema:
        type: string
        pattern: ^-?\d+(\.\d+)?,-?\d+(\.\d+)?,\d+(\.\d+)?$
      description: lat,lon,km (radio)
    max:
      name: max
      in: query
      schema:
        type: number
      description: Valor de subasta máximo (€)
    type:
      name: type
      in: query
      schema:
        type: string
      description: Tipo(s) exacto(s) de /tipos, separados por coma
    area_min:
      name: area_min
      in: query
      schema:
        type: number
      description: Superficie mínima (m²)
    estado:
      name: estado
      in: query
      schema:
        type: string
        enum:
        - activas
        - adjudicadas
        - desiertas
      description: 'Vigentes, adjudicadas o desiertas (sin valor: todas las listables)'
    min:
      name: min
      in: query
      schema:
        type: number
      description: Valor de subasta mínimo (€)
    q:
      name: q
      in: query
      schema:
        type: string
        maxLength: 120
      description: Texto libre (dirección, municipio, referencia)
    prov:
      name: prov
      in: query
      schema:
        type: string
      description: Slug(s) de provincia separados por coma (ver /provincias)
    sort:
      name: sort
      in: query
      schema:
        type: string
        enum:
        - recent
        - ending
        - discount
        - price
        default: recent
    area_max:
      name: area_max
      in: query
      schema:
        type: number
      description: Superficie máxima (m²)
    pageSize:
      name: pageSize
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 60
        default: 24
    bbox:
      name: bbox
      in: query
      schema:
        type: string
      description: W,S,E,N (lon,lat)
    muni:
      name: muni
      in: query
      schema:
        type: string
      description: Claves prov:muni separadas por coma (ver /provincias/{prov}/municipios)
    page:
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
        default: 1
externalDocs:
  description: Guía para agentes e integraciones
  url: https://app.subastech.com/llms-full.txt#api-publica-v1
x-service-info:
  categories:
  - real-estate
  - data
  - legal
  docs:
    homepage: https://app.subastech.com
    apiReference: https://app.subastech.com/llms-full.txt#api-publica-v1
    llms: https://app.subastech.com/llms-full.txt