# DOGV Scraper: Valencia Gazette Grants, Jobs & Rules (`hydrous_pimento/dogv-valencia-official-gazette-scraper`) Actor

Extract DOGV (Valencia official gazette) publications as JSON: grants, public jobs (oposiciones), tenders and regulations for Alicante, Castellón and Valencia. Filter by date, section, keyword and issuing body. Spanish or Valencian. No login.

- **URL**: https://apify.com/hydrous_pimento/dogv-valencia-official-gazette-scraper.md
- **Developed by:** [Daniel Garcia](https://apify.com/hydrous_pimento) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 publication results

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

## DOGV Scraper: Valencia Official Gazette (Grants, Public Jobs & Regulations)

Get every publication of the **Diari Oficial de la Generalitat Valenciana (DOGV)**, the official gazette of the Valencian Community (Alicante, Castellón and Valencia), as clean, structured JSON, CSV or Excel.

Filter by date range, category (grants, public job offers, tenders, regulations…), keyword and issuing body, in **Spanish or Valencian**. No login, no API key and no proxies needed: the Actor reads the same public data that powers the official DOGV website.

### Why use it?

The DOGV publishes 40–60 official notices every working day: subsidies, scholarships, *oposiciones*, appointments, regional laws, licences, urban-planning notices and more. The official site has no export and no bulk API. This Actor turns it into a dataset you can filter, schedule and plug into your tools.

### Use cases

- **Grant and subsidy alerts**: consultancies, NGOs, universities and SMEs tracking new *ayudas* and *subvenciones* from the Generalitat Valenciana.
- **Public job monitoring (oposiciones)**: academies, unions and job boards tracking new calls, lists of admitted candidates and appointments.
- **Legal and compliance monitoring**: law firms and gestorías following new decrees, orders and resolutions.
- **Local news and market intelligence**: journalists and businesses watching a town (e.g. "Xàbia", "Alicante") or a regional ministry.
- **AI and RAG pipelines**: feed full-text regional legislation into LLMs, search indexes or vector databases.

### Input

| Field | Type | Description |
|---|---|---|
| `startDate` | date | First publication date (YYYY-MM-DD). Empty = only the latest issue. |
| `endDate` | date | Last publication date. Defaults to `startDate`. Max range 366 days per run. |
| `language` | `es` / `va` | Spanish (default) or Valencian. |
| `categories` | array | Any of `general_provisions`, `public_jobs`, `appointments`, `staff_other`, `authorizations`, `grants`, `administrative_other`, `justice`, `urban_planning`, `tenders`, `announcements_other`. Empty = all. |
| `keywords` | array | Keep titles containing at least one word (case and accent insensitive). |
| `issuingBody` | string | Keep only publications from an issuing body containing this text. |
| `includeFullText` | boolean | Also fetch full text (plain text + HTML), document type, signature date and status. |
| `maxItems` | integer | Max results (default 200). You only pay for results returned. |

#### Example input

```json
{
  "startDate": "2026-11-02",
  "endDate": "2026-11-12",
  "language": "es",
  "categories": ["grants", "public_jobs"],
  "keywords": ["Alicante"],
  "includeFullText": false,
  "maxItems": 200
}
```

**Tip:** schedule the Actor daily with no dates to get only the newest issue, and connect it to Google Sheets, Slack, email or a webhook for alerts.

### Output

Each item is one DOGV publication:

```json
{
  "id": 496593,
  "insertionCode": "2026/35266",
  "cve": "DOGV-2026-35266",
  "title": "RESOLUCIÓN de 6 de noviembre de 2026, de concesión de subvención a la Universitat Politècnica de València para el funcionamiento de la Cátedra Estudios Deportivos «Observatorio del Deporte» ...",
  "publicationDate": "2026-11-12",
  "dogvNumber": 10492,
  "category": "grants",
  "section": "III. ACTOS ADMINISTRATIVOS",
  "subsection": "B) SUBVENCIONES Y BECAS",
  "sectionId": 14,
  "subsectionId": 44,
  "issuingBody": "Vicepresidencia Segunda y Conselleria de Presidencia",
  "page": "4780",
  "url": "https://dogv.gva.es/es/resultat-dogv?signatura=2026/35266",
  "pdfUrl": "https://dogv.gva.es/datos/2026/11/12/pdf/2026_35266_es.pdf",
  "language": "es",
  "scrapedAt": "2026-11-12T20:56:00Z"
}
```

With `includeFullText: true`, each item also has `documentType`, `dispositionDate`, `status`, `hasAnnex`, `fullText` and `fullTextHtml`.

### Pricing

This Actor uses **pay-per-event** pricing: you pay only for the results you get.

- **Result** (title, metadata, links): $2.50 per 1,000 results
- **Full text add-on** (only when `includeFullText` is on): +$5.00 per 1,000 results, so $7.50 per 1,000 in total

A full day of the DOGV (about 50 publications) costs around $0.13. A daily grants-only alert usually costs a few cents a month. Platform usage is included.

### Notes and limits

- The DOGV is published on working days only; weekends and Valencian/national holidays return no results.
- Data comes from the official public DOGV website (dogv.gva.es). The DOGV content is public and official; check the Generalitat Valenciana's reuse conditions for your use case.
- PDF links point to the official PDFs; the Actor does not download them.
- Max 366 days per run. For longer history, run several date ranges.

### Feedback

Found a bug or need another Spanish regional gazette (BOCM, DOGC, BOJA, BOP Alicante…)? Open an issue on the Actor's Issues tab.

# Actor input Schema

## `startDate` (type: `string`):

First publication date to scrape (YYYY-MM-DD). Leave empty to get only the latest DOGV issue.

## `endDate` (type: `string`):

Last publication date to scrape (YYYY-MM-DD). Defaults to the start date, or today if only the start date is given and you want everything since then. Max range: 366 days.

## `language` (type: `string`):

Language of titles and texts. The DOGV is published in both Spanish and Valencian.

## `categories` (type: `array`):

Only return publications from these categories. Leave empty for everything.

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

Only return publications whose title contains at least one of these words (case and accent insensitive). Example: 'subvención', 'Alicante', 'Xàbia'.

## `issuingBody` (type: `string`):

Only return publications whose issuing body (organismo) contains this text, e.g. 'Sanidad' or 'Ayuntamiento de Alicante'.

## `includeFullText` (type: `boolean`):

Fetch the full text of each publication (plain text + HTML), document type, signature date and CVE. Slower, one extra request per item.

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

Maximum number of publications to return (you only pay for what is returned).

## Actor input object example

```json
{
  "startDate": "",
  "language": "es",
  "categories": [],
  "keywords": [],
  "includeFullText": false,
  "maxItems": 200
}
```

# Actor output Schema

## `publications` (type: `string`):

No description

# 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 = {
    "startDate": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrous_pimento/dogv-valencia-official-gazette-scraper").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 = { "startDate": "" }

# Run the Actor and wait for it to finish
run = client.actor("hydrous_pimento/dogv-valencia-official-gazette-scraper").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 '{
  "startDate": ""
}' |
apify call hydrous_pimento/dogv-valencia-official-gazette-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrous_pimento/dogv-valencia-official-gazette-scraper"
        }
    }
}
```

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/vG1pPk1WhgQXzpOr8/builds/N5RWAmlyKiDiI2tJH/openapi.json
