{
  "openapi": "3.0.1",
  "info": {
    "title": "Spain BOE & BORME Alerts by Sector | Alertas del BOE",
    "description": "Esto no es un extractor del BOE — los hay y son buenos. Es lo contrario: te quita el 99% y te deja lo tuyo, con el plazo y qué tienes que hacer. De 169 disposiciones reales dejó una, y era la que afectaba.\n\nalertas del BOE por sector · alertas BOE para gestorías · vigilancia del BOE para empresas",
    "version": "2.0",
    "x-build-id": "ae6Hsmmwja82pMg9E"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aurorasys~spain-boe-alerts-by-sector/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aurorasys-spain-boe-alerts-by-sector",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/aurorasys~spain-boe-alerts-by-sector/runs": {
      "post": {
        "operationId": "runs-sync-aurorasys-spain-boe-alerts-by-sector",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/aurorasys~spain-boe-alerts-by-sector/run-sync": {
      "post": {
        "operationId": "run-sync-aurorasys-spain-boe-alerts-by-sector",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "sectores": {
            "title": "Tu sector",
            "type": "array",
            "description": "Elige uno o varios. Si no eliges ninguno, se vigila lo que afecta a cualquier empresa: jornada, cotizaciones, IVA, IRPF y facturacion.",
            "items": {
              "type": "string",
              "enum": [
                "hosteleria",
                "comercio",
                "construccion",
                "transporte",
                "sanidad",
                "educacion",
                "metal",
                "agricultura",
                "tecnologia",
                "limpieza",
                "seguridad",
                "asesoria",
                "inmobiliaria",
                "energia"
              ],
              "enumTitles": [
                "Hosteleria y restauracion",
                "Comercio",
                "Construccion",
                "Transporte y logistica",
                "Sanidad y farmacia",
                "Educacion",
                "Metal e industria",
                "Agricultura y ganaderia",
                "Tecnologia",
                "Limpieza",
                "Seguridad privada",
                "Asesoria y gestoria",
                "Inmobiliaria",
                "Energia"
              ]
            },
            "default": []
          },
          "territorios": {
            "title": "Tu comunidad autonoma",
            "type": "array",
            "description": "Si la eliges, te llega lo estatal y lo tuyo, pero no las ayudas de otras comunidades. Dejalo vacio para verlo todo.",
            "items": {
              "type": "string",
              "enum": [
                "andalucia",
                "aragon",
                "asturias",
                "baleares",
                "canarias",
                "cantabria",
                "castilla-la-mancha",
                "castilla-y-leon",
                "cataluna",
                "extremadura",
                "galicia",
                "madrid",
                "murcia",
                "navarra",
                "pais-vasco",
                "rioja",
                "valencia",
                "ceuta",
                "melilla"
              ],
              "enumTitles": [
                "Andalucia",
                "Aragon",
                "Asturias",
                "Baleares",
                "Canarias",
                "Cantabria",
                "Castilla-La Mancha",
                "Castilla y Leon",
                "Cataluna",
                "Extremadura",
                "Galicia",
                "Madrid",
                "Murcia",
                "Navarra",
                "Pais Vasco",
                "La Rioja",
                "Comunitat Valenciana",
                "Ceuta",
                "Melilla"
              ]
            },
            "default": []
          },
          "fuentes": {
            "title": "Que boletines vigilar",
            "type": "array",
            "description": "El BOE trae leyes, subvenciones y licitaciones. El BORME es el Registro Mercantil: constituciones, cambios de administrador y CONCURSOS DE ACREEDORES.",
            "items": {
              "type": "string",
              "enum": [
                "boe",
                "borme"
              ],
              "enumTitles": [
                "BOE — Boletin Oficial del Estado",
                "BORME — Registro Mercantil"
              ]
            },
            "default": [
              "boe"
            ]
          },
          "empresas": {
            "title": "Empresas que quieres vigilar",
            "type": "array",
            "description": "Nombres o CIF. Si alguna aparece en el BOE o el BORME te avisa SIEMPRE, aunque la norma no toque tu sector. Para una gestoria: los nombres de tus clientes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "palabras": {
            "title": "Palabras tuyas",
            "type": "array",
            "description": "Lo que quieras vigilar ademas del sector: tu marca, un competidor, un municipio, un CNAE...",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excluir": {
            "title": "Lo que NO quieres ver",
            "type": "array",
            "description": "Palabras que hacen que un aviso no te llegue.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dias": {
            "title": "Cuantos dias hacia atras",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "1 = solo hoy. Ponlo en 7 la primera vez para ver una semana entera.",
            "default": 1
          },
          "minimo": {
            "title": "Cuanto tiene que importar para avisarte",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "5 es lo normal. Sube a 10 si te llegan demasiadas cosas; baja a 3 si prefieres no perderte nada.",
            "default": 5
          },
          "solo_nuevo": {
            "title": "Solo lo que no me hayas avisado ya",
            "type": "boolean",
            "description": "Recomendado si lo programas a diario: recuerda lo que ya te mando y no te lo repite.",
            "default": true
          },
          "maximo": {
            "title": "Como mucho, cuantos avisos",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "0 = sin limite. Ponlo en 10 si prefieres poco y bueno.",
            "default": 0
          },
          "solo_obligan": {
            "title": "Solo lo que obliga o lleva dinero",
            "type": "boolean",
            "description": "Deja fuera lo meramente informativo.",
            "default": false
          },
          "fecha": {
            "title": "Un dia concreto (opcional)",
            "type": "string",
            "description": "Formato AAAAMMDD, por ejemplo 20260331. Dejalo vacio para mirar los ultimos dias.",
            "default": ""
          },
          "incluir_personales": {
            "title": "Incluir anuncios con nombres de personas",
            "type": "boolean",
            "description": "Por defecto NO. El BOE publica nombramientos, notificaciones y edictos con nombres y apellidos: no le sirven a una empresa y republicarlos son datos personales de terceros. Activalo solo si sabes por que lo necesitas.",
            "default": false
          },
          "tope_avisos_dia": {
            "title": "Máximo de avisos al día (tu techo de gasto)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Nunca se te cobrará por más avisos de los que pongas aquí. Por defecto 25, que cubre de sobra un día normal. Si un día el boletín trae más, el robot para y te lo dice. Pon 0 solo si quieres quitar el techo a conciencia.",
            "default": 25
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}