# Spain Public Jobs & Oposiciones Tracker (BOE) (`hispanodata/spain-public-jobs-oposiciones-boe`) Actor

Track every Spanish public-sector job call (oposiciones, concursos, plazas de ayuntamientos, universidades y ministerios) published in the BOE. Posts, application period, estimated deadline, province. Official open data, no login.

- **URL**: https://apify.com/hispanodata/spain-public-jobs-oposiciones-boe.md
- **Developed by:** [Agusti Garcia](https://apify.com/hispanodata) (community)
- **Categories:** Jobs, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Spain Public Jobs & Oposiciones Tracker (BOE)

Get **every public-sector job call published in Spain's Official Gazette (BOE)** as clean, structured data: oposiciones, concurso-oposición, plazas de ayuntamientos, diputaciones, universidades, ministerios and state agencies. For each notice you get the **number of posts (plazas)**, **access type** (turno libre, promoción interna, estabilización, discapacidad), **application period** and an **estimated deadline**, the **province**, where the full rules (*bases*) were published, and the official links.

Built on the **official BOE open-data API**, whose licence allows commercial reuse. No login, no scraping of private data.

### Why use it instead of the BOE website or API?

- The BOE API returns one daily summary at a time, with only the title. This Actor reads a **date range in one run**, keeps only **section II.B (Oposiciones y concursos)** and **classifies each notice**: new call, list of admitted candidates, selection board, results, corrections, amendments, internal transfers or free-designation posts.
- It extracts **posts, access type, application period, estimated deadline and province** from the notice, so you don't have to open hundreds of PDFs.
- **Incremental mode** (`onlyNew`): schedule it daily and get only the calls you haven't seen yet.
- Filter by **administration level** (local, state, regional, university) and **keywords** (e.g. *policía*, *enfermería*, *administrativo*, *Barcelona*).

### Use cases

- **Job boards and oposiciones academies**: feed new calls to your site, newsletter or app automatically.
- **Alerts**: daily email/Slack alert of new *plazas de Policía Local* or *Auxiliar Administrativo* in your province (combine with Apify integrations).
- **HR and public-employment analytics**: how many posts each council or university calls, by category and province.
- **AI agents and chatbots** answering "what oposiciones are open in Valencia this week?".

### Input

```json
{
  "daysBack": 7,
  "documentTypes": ["call"],
  "administrationLevels": ["local"],
  "keywords": ["policía", "bombero"],
  "onlyNew": true,
  "maxItems": 200
}
```

- `documentTypes`: `call` (new calls) by default. Add `admittedList`, `selectionBoard`, `results`, `correction`, `amendment`, `internalTransfer`, `freeDesignation` to follow processes.
- `fetchDetails` (default on) opens each notice page to extract posts, deadline and bases. Turn it off for a faster, title-only feed.
- Up to 92 days of BOE per run; max 2,000 notices per run.

### Output example

```json
{
  "id": "BOE-A-2026-23569",
  "publicationDate": "2026-11-10",
  "department": "ADMINISTRACIÓN LOCAL",
  "administrationLevel": "local",
  "category": "Personal funcionario y laboral",
  "title": "Resolución de 4 de noviembre de 2026, del Ayuntamiento de Viladecans (Barcelona), referente a la convocatoria para proveer varias plazas.",
  "documentType": "call",
  "entity": "Ayuntamiento de Viladecans (Barcelona)",
  "province": "Barcelona",
  "accessTypes": ["open"],
  "posts": 3,
  "postsDetail": ["Turno libre: Técnico/a especialista dinamización 1 plaza. Inspector/a municipal 2 plazas."],
  "applicationPeriod": "veinte días hábiles",
  "applicationPeriodValue": 20,
  "applicationPeriodUnit": "businessDays",
  "estimatedDeadline": "2026-12-09",
  "basesPublishedIn": "«Boletín Oficial de la Provincia de Barcelona», de 4 de noviembre de 2026",
  "urlHtml": "https://www.boe.es/diario_boe/txt.php?id=BOE-A-2026-23569",
  "urlPdf": "https://www.boe.es/boe/dias/2026/11/10/pdfs/BOE-A-2026-23569.pdf",
  "source": "Basado en datos de la Agencia Estatal Boletín Oficial del Estado (https://www.boe.es)"
}
```

`estimatedDeadline` counts from the day after publication and skips weekends and national holidays only (not regional or local holidays). **Always check the official bases before applying.**

### Pricing

Pay per result: about **$2 per 1,000 notices**, plus a small start fee per run. A daily run with `onlyNew` usually costs a few cents.

### Data source, licence and personal data

- Source: **Agencia Estatal Boletín Oficial del Estado** (https://www.boe.es), open-data API. Reuse is permitted for commercial and non-commercial purposes under the BOE reuse conditions (Resolution of 27 June 2024). Each record includes the required attribution: *"Basado en datos de la Agencia Estatal Boletín Oficial del Estado"*. Keep it when you republish the data.
- This Actor is **not affiliated with, sponsored or endorsed by the BOE**. Data is informative; only the BOE edition is official and authentic.
- **No personal data by design:** it never reads section II.A (appointments of named people), never outputs the full text of notices (which can include signatories or board members), and skips any notice whose title names an individual.
- robots.txt is respected (it uses the open-data API and the public `txt.php` notice pages, never the disallowed XML or search URLs) with polite delays.

*Aviso (ES): datos del BOE reutilizados conforme a sus condiciones de reutilización. Herramienta no oficial ni vinculada a la AEBOE. Compruebe siempre las bases oficiales y los plazos antes de presentar una solicitud.*

**Spanish keywords:** oposiciones, empleo público, convocatorias BOE, plazas ayuntamiento, oferta de empleo público, policía local, auxiliar administrativo, bolsa de empleo, concurso-oposición, estabilización, alertas de oposiciones.

# Actor input Schema

## `daysBack` (type: `integer`):

How many days of BOE to read, counting back from 'Date to' (today by default). Ignored if 'Date from' is set. Max 92 days per run.

## `dateFrom` (type: `string`):

First BOE date to read, YYYY-MM-DD (or e.g. '30 days').

## `dateTo` (type: `string`):

Last BOE date to read, YYYY-MM-DD. Default: today.

## `documentTypes` (type: `array`):

Which kind of notices to return. 'call' = new job calls (convocatorias, oposiciones, plazas). Others follow existing processes.

## `administrationLevels` (type: `array`):

Leave empty for all. local = ayuntamientos, diputaciones, consells; state = ministries and state bodies; regional = comunidades autónomas; university = universities.

## `keywords` (type: `array`):

Only keep notices whose title, body or posts mention any of these words (accents and case ignored), e.g. 'policía', 'administrativo', 'enfermer', 'Barcelona'.

## `excludeKeywords` (type: `array`):

Drop notices whose title or body mention any of these words.

## `fetchDetails` (type: `boolean`):

Opens each notice's public page to extract number of posts, application period, estimated deadline and where the full rules (bases) were published. Turn off for a faster title-only feed.

## `onlyNew` (type: `boolean`):

Remember notices returned in earlier runs with the same filters and skip them. Ideal for a daily schedule: you only pay for new calls.

## `maxItems` (type: `integer`):

Maximum number of notices to save (you only pay for saved results). Hard limit 2,000 per run.

## `requestDelaySecs` (type: `integer`):

Politeness delay between requests to boe.es.

## Actor input object example

```json
{
  "daysBack": 7,
  "documentTypes": [
    "call"
  ],
  "keywords": [
    "policía"
  ],
  "fetchDetails": true,
  "onlyNew": false,
  "maxItems": 200,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `overview` (type: `string`):

Job calls and related notices with posts, application period and estimated deadline. Table view of the default dataset.

## `results` (type: `string`):

Full records in the default dataset, all fields.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "policía"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hispanodata/spain-public-jobs-oposiciones-boe").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "keywords": ["policía"] }

# Run the Actor and wait for it to finish
run = client.actor("hispanodata/spain-public-jobs-oposiciones-boe").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "policía"
  ]
}' |
apify call hispanodata/spain-public-jobs-oposiciones-boe --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hispanodata/spain-public-jobs-oposiciones-boe"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oCQKhCzQKYRghaHA2/builds/GqVEF3bffcKYbahs3/openapi.json
