Subastech Pay API

The Pay API from Subastech — 2 operation(s) for pay.

GitHub OpenAPI

Operations 2

POST /pay/informe Comprar el informe básico (49 €) o completo (79 €) de una subasta #
POST /pay/nota-simple Pagar una nota simple registral (20 €) #

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-pay-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-pay-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Subastech — API pública de subastas judiciales del BOE Pay…
  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: Pay
paths:
  /pay/informe:
    post:
      operationId: payInforme
      summary: Comprar el informe básico (49 €) o completo (79 €) de una subasta
      description: 'Recurso de pago MPP. Identifica al comprador con `t` (pay_token emitido por la herramienta MCP `informe` o la skill A2A `checkout`) o con `Authorization: Bearer` (scope `informes:consume`). Si el plan del comprador ya incluye el informe, se entrega sin cobrar. Precios IVA incluido; el precio real es el del plan del comprador (Team incluye el básico; Enterprise, ambos).'
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{10}$
        example: UMwF3evgpi
        description: Identificador público de la subasta
      - name: tier
        in: query
        required: true
        schema:
          type: string
          enum:
          - basic
          - completo
        example: basic
      - name: t
        in: query
        schema:
          type: string
        description: pay_token (24 h) ligado a comprador y producto
      requestBody:
        required: false
        description: 'Alternativa a la query: los mismos parámetros en JSON. Si un parámetro va en la query, la query gana.'
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: string
                  pattern: ^[A-Za-z0-9]{10}$
                  description: Identificador público de la subasta
                tier:
                  type: string
                  enum:
                  - basic
                  - completo
            example:
              id: UMwF3evgpi
              tier: basic
      x-payment-info:
        offers:
        - amount: '4900'
          currency: eur
          description: 'Informe básico de subasta (49,00 € IVA incl.): descripción, catastro y cargas.'
          intent: charge
          method: stripe
        - amount: '7900'
          currency: eur
          description: 'Informe completo de subasta (79,00 € IVA incl.): las 8 secciones del informe.'
          intent: charge
          method: stripe
      responses:
        '200':
          description: Informe desbloqueado en la cuenta del comprador (con recibo MPP)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - completed
                  informe_url:
                    type: string
                    format: uri
                  permalink_url:
                    type: string
                    format: uri
        '302':
          description: '`Accept: text/html`: redirección a la página del informe'
        '401':
          description: 'Sin pay_token ni Bearer válidos (`WWW-Authenticate: Bearer resource_metadata=…`)'
        '402':
          description: 'Pago requerido (MPP): cabecera `WWW-Authenticate: Payment …` con el reto; reintenta con `Payment-Authorization: Payment <credencial>` (la cabecera que anuncia el parámetro `header` del reto; la credencial lleva el Shared Payment Token de Stripe), manteniendo tu `Authorization: Bearer` de Subastech en la misma petición.'
          headers:
            WWW-Authenticate:
              schema:
                type: string
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Pay
  /pay/nota-simple:
    post:
      operationId: payNotaSimple
      summary: Pagar una nota simple registral (20 €)
      description: 'Recurso de pago MPP para un pedido creado con la herramienta MCP `nota_simple_pedir` o la skill A2A `checkout`. Retención en tarjeta: solo se cobra cuando el PDF verificado está disponible (o cobro y devolución automática, según configuración).'
      parameters:
      - name: order
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_-]{6,64}$
        description: Identificador del pedido
      - name: t
        in: query
        schema:
          type: string
        description: pay_token (24 h) ligado a comprador y pedido
      requestBody:
        required: false
        description: 'Alternativa a la query: los mismos parámetros en JSON. Si un parámetro va en la query, la query gana.'
        content:
          application/json:
            schema:
              type: object
              properties:
                order:
                  type: string
                  pattern: ^[A-Za-z0-9_-]{6,64}$
                  description: Identificador del pedido devuelto por `nota_simple_pedir`
            example:
              order: ns_9f4c2a7b1d
      x-payment-info:
        amount: '2000'
        currency: eur
        description: 'Nota simple registral online (20,00 € IVA incl.). Retención: solo se cobra cuando el PDF está disponible.'
        intent: charge
        method: stripe
      responses:
        '200':
          description: Pedido autorizado (con recibo MPP)
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                    - completed
                  permalink_url:
                    type: string
                    format: uri
        '302':
          description: '`Accept: text/html`: redirección a la página del pedido'
        '401':
          description: Sin pay_token ni Bearer válidos
        '402':
          description: 'Pago requerido (MPP): cabecera `WWW-Authenticate: Payment …` con el reto; reintenta con `Payment-Authorization: Payment <credencial>` (la cabecera que anuncia el parámetro `header` del reto; la credencial lleva el Shared Payment Token de Stripe), manteniendo tu `Authorization: Bearer` de Subastech en la misma petición.'
          headers:
            WWW-Authenticate:
              schema:
                type: string
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Pay
components:
  responses:
    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
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