# Spain Trademark Watch — OEPM BOPI New Filings & Conflicts (`icarodata/spain-trademark-watch`) Actor

Official OEPM BOPI feed of new Spanish trademark and trade-name applications, plus watch: phonetic and spelling similarity, Nice class overlap and opposition deadline. Schedule weekdays with onlyNew and pay only for new filings or conflicts. Companies only, persons redacted.

- **URL**: https://apify.com/icarodata/spain-trademark-watch.md
- **Developed by:** [Icaro Data](https://apify.com/icarodata) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 new trademark applications

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 Trademark Watch — OEPM BOPI New Filings & Conflict Alerts

**Every new Spanish trademark and trade-name application published by the OEPM, every working day, plus an automated trademark watch that tells you when someone files a mark that looks or sounds like yours — with the opposition deadline.**

Built on the official **Boletín Oficial de la Propiedad Industrial (BOPI), Tomo 1** of the Spanish Patent and Trademark Office (Oficina Española de Patentes y Marcas, OEPM). No login, no cookies, no browser: structured official data, ready for Google Sheets, your CRM or your docketing tool.

### What it does

| Mode | What you get | Billed per |
|---|---|---|
| **feed** | All new trademark (M) and trade-name (N) applications published in the BOPI for a date range, filtered by Nice class, keyword, applicant type (companies only), province and mark type. | application delivered — **$0.002** |
| **watch** | Only the new applications that may conflict with **your** marks: Spanish phonetic similarity + spelling similarity + "contains your mark" detection + Nice class overlap, with a 0-100 score, risk level, explanation in English and Spanish and the days left to oppose. | possible conflict found — **$0.05** |

Typical volume: 250-500 new applications per BOPI day (about 7,000 per month).

### Who uses it

- **Trademark attorneys / agentes de la propiedad industrial and IP law firms**: run a daily watch for all client marks for a fraction of what commercial watch services charge per mark, and never miss a 2-month opposition window.
- **Brand owners and in-house legal teams**: get an email or Slack alert the morning a confusingly similar application is published.
- **IP service providers and SaaS**: feed new filings into your own watch or clearance product via API.
- **B2B sales / marketing agencies, designers, packaging and web studios**: new brands filed by companies are fresh leads (`applicantType: company`).
- **Market researchers**: track new brands by sector (Nice class) and province.

### Why this Actor

- **Official source, structured**: the OEPM's own BOPI search service, annotation by annotation (application number, sign, Nice classes, goods & services, Vienna codes, colours, image, BOPI page).
- **Built for Spanish**: the phonetic engine knows that ZARA ≈ SARA, VOLVO ≈ BOLBO, MERCADONA ≈ MERKADONA, KASA ≈ CASA, ONCE ≈ ONZE, LLAVE ≈ YAVE, LA9 ≈ LA NUEVE.
- **Smart matching, low noise**: detects your mark inside longer marks (ZARA → "ZARA HOME"), compares distinctive cores ignoring weak words (GROUP, HOME, SPAIN, S.L. …) and weighs related Nice classes (25 clothing ↔ 18 leather ↔ 35 retail, 29/30 food ↔ 43 restaurants…). On 11 real BOPI days, 200 random real marks as a watch list produced only 3 alerts; synthetic look-alikes (phonetic swaps, typos, letter swaps, added "GROUP") were caught 319/320 times.
- **Opposition deadline computed** (publication + 2 months, art. 19 Ley 17/2001, moved to the next working day) with days remaining.
- **Only new**: scheduled runs remember what they already delivered, so you only receive — and pay for — what is new.
- **Ignores your own filings**: give the `owner` and your own new applications are not reported as conflicts.
- **Privacy by design**: natural persons' names, ID numbers and addresses are **never** output (`applicantRedacted: true`). Company applicants are returned with name, CIF and province.
- **Cheaper**: $0.002 per application and $0.05 per conflict, vs $0.005 per row / $0.20 per clash in comparable Actors and €49-150 per mark per year at commercial watch services.

### Input examples

**Daily watch for a portfolio** (schedule every working day at 09:00 Madrid time):

```json
{
  "mode": "watch",
  "daysBack": 3,
  "onlyNew": true,
  "similarityThreshold": 80,
  "classScope": "related",
  "watchMarks": [
    { "name": "ZARA", "niceClasses": [25, 35], "clientRef": "client-001" },
    { "name": "NATURFOOD", "niceClasses": [29, 30], "clientRef": "client-002", "owner": "Alimentación Natural Naturfood S.L." }
  ],
  "watchMarksSimple": ["MAHOU | 32, 33 | client-003", "NOVA | 9, 42"]
}
```

**Feed of new company filings in fashion, last BOPI**:

```json
{ "mode": "feed", "applicantType": "company", "niceClasses": ["25", "35"], "onlyNew": true }
```

Main options: `dateFrom` / `dateTo` (YYYY-MM-DD, up to 93 days per run) or `daysBack`; `niceClasses`, `keywords`, `provinces`, `markTypes`, `kinds` (trademark / trade_name); `similarityThreshold` (default 80); `classScope` (`related` default, `same`, `any`); `includeGoodsAndServices`; `maxItems`.

### Output

Real conflict found on the BOPI of 17 Nov 2026 (watch mode):

```json
{
  "conflictScore": 93.7,
  "riskLevel": "high",
  "watchedMark": "NOVA",
  "watchedNiceClasses": [9, 42],
  "clientRef": "nova-demo",
  "matchType": "token",
  "classRelation": "same",
  "sameNiceClasses": [42],
  "explanation": "Score 94/100: 'NEW NOVA' contains the word 'NOVA'; same Nice class 42; opposition deadline 2027-01-18 (61 days left).",
  "explicacion": "Puntuación 94/100: 'NEW NOVA' incluye la palabra 'NOVA'; misma clase de Niza 42; plazo de oposición hasta el 2027-01-18 (quedan 61 días).",
  "recommendedAction": "Review now with your trademark attorney and consider filing an opposition before the deadline.",
  "applicationNumber": "M4405725",
  "markName": "NEW NOVA",
  "niceClasses": [25, 42],
  "publicationDate": "2026-11-17",
  "oppositionDeadline": "2027-01-18",
  "oepmUrl": "https://consultas2.oepm.es/ceo/jsp/busqueda/consultaExterna.xhtml?numExp=M4405725"
}
```

Feed row (application by a company):

```json
{
  "applicationNumber": "M4406256",
  "kind": "trademark",
  "markName": "ACEUSCOR",
  "markType": "figurative",
  "niceClasses": [25, 35],
  "goodsAndServices": [{ "class": 25, "description": "MEDIAS; PRENDAS DE CALCETERIA; ..." }],
  "viennaCodes": ["01.15.05", "01.15.09", "29.01.08"],
  "applicantName": "Aureus Technology Limited Liability Company",
  "applicantType": "company",
  "applicantRedacted": false,
  "applicantCountry": "US",
  "hasRepresentative": true,
  "filingDate": "2026-10-01",
  "publicationDate": "2026-11-17",
  "oppositionDeadline": "2027-01-18",
  "daysToOppositionDeadline": 61,
  "status": "published_opposition_open",
  "imageUrl": "https://sede.oepm.gob.es/bopi_imagenes//tomo1/2026/11/20261117_TOMO1_120.jpg",
  "bopiPageUrl": "https://sede.oepm.gob.es/apibopiweb/visorPdf?id=2411281",
  "oepmUrl": "https://consultas2.oepm.es/ceo/jsp/busqueda/consultaExterna.xhtml?numExp=M4406256",
  "attribution": "Origen de los datos: Oficina Española de Patentes y Marcas (OEPM), ..."
}
```

A run summary is saved as `OUTPUT_SUMMARY` in the run's key-value store. See `SAMPLE_OUTPUT.json` for complete rows.

### Pricing (pay per event)

- `application` — **$0.002** per new application delivered in feed mode ($2 per 1,000).
- `conflict` — **$0.05** per possible conflict returned in watch mode. Applications screened without a conflict are **not** billed.
- Plus the tiny Apify actor-start fee. No subscription.

Examples:

- Full daily feed of all new applications (~350/day): about **$0.70/day**, ~$15/month.
- Daily feed of companies in classes 25 + 35 (~50/day): about **$0.10/day**.
- Watch 100 marks every day, ~3 conflicts per week: about **$0.15/week**.
- Watch 1,000 client marks, ~5 conflicts per day: about **$0.25/day** (~$5.50/month) — versus €49-150 per mark per year at traditional watch services.

### Scheduling and integrations

1. Save your input as a **Task**, then add a **Schedule** (e.g. `0 9 * * 1-5`, Europe/Madrid). Use `daysBack: 3` + `onlyNew: true` so weekends and holidays never leave gaps and nothing is delivered twice.
2. Connect alerts: **email / Slack** (Apify integrations), **Google Sheets**, **Make**, **Zapier**, **n8n**, webhooks, or the Apify API (`/v2/acts/icarodata~spain-trademark-watch/run-sync-get-dataset-items`).
3. Filter on `riskLevel` = `high` for urgent notifications.

### FAQ

**How fresh is the data?** The OEPM publishes the BOPI every Spanish working day around 08:00-09:00 Madrid time; schedule after 09:30.

**Does it cover EU trademarks (EUIPO) or international registrations designating Spain?** This version covers Spanish national trademarks and trade names (M and N) published in the BOPI. International registrations published in the BOPI carry no denomination in the source and are not included. EU trademarks are planned.

**Is the opposition deadline exact?** It is publication date + 2 months (art. 19 Ley 17/2001), moved to the next working day for weekends, national holidays and Madrid holidays. Regional holidays and special cases are not modelled: always confirm with your attorney or in the OEPM file.

**Why is the applicant missing on some rows?** When an applicant is a natural person (or cannot be confirmed as an organisation) the name is redacted for data protection. The mark, classes and dates are still returned.

**Does it compare logos?** It compares the words of the sign. For figurative marks it returns the official image URL and Vienna codes so you can review them visually.

**Can I tune noise?** Raise `similarityThreshold` to 85-90 or set `classScope: same` for fewer alerts; lower to 75 or `any` for a wider net.

### Data source, licence and disclaimer

- Source: **Oficina Española de Patentes y Marcas (OEPM) — Boletín Oficial de la Propiedad Industrial (BOPI), Tomo 1**, through the OEPM's public BOPI search service. Reuse under the OEPM open-data terms (Ley 37/2007 and RD 1495/2011; general conditions at datos.gob.es/avisolegal), which allow commercial reuse provided the source is cited. Every row includes: **"Origen de los datos: Oficina Española de Patentes y Marcas"** and the BOPI date (`dataUpdatedAt`).
- The OEPM does not participate in, sponsor or endorse this Actor. Data are not altered; derived fields (scores, deadlines, classifications) are clearly separate.
- **Not legal advice.** Similarity scores are an automated aid. Decisions on oppositions must be taken by a qualified professional after reviewing the full file.
- Personal data: natural persons' names, ID numbers and addresses are not output. Use the data only for trademark protection, market research or legitimate B2B purposes, and comply with GDPR/LOPDGDD and LSSI when contacting anyone.

***

## Vigilancia de Marcas España — nuevas solicitudes OEPM (BOPI) y alertas de conflicto

**Todas las solicitudes nuevas de marcas y nombres comerciales publicadas en el BOPI de la OEPM cada día hábil, y una vigilancia automática que te avisa cuando alguien solicita una marca que se parece o suena como la tuya, con el plazo de oposición.**

#### Modos

- **feed**: solicitudes nuevas por fechas, con filtros por clases de Niza, palabras clave, solo empresas, provincia y tipo de signo. **0,002 $ por solicitud** (2 $ cada 1.000).
- **watch (vigilancia)**: compara las nuevas solicitudes con tus marcas o las de tus clientes por **parecido fonético en español** (ZARA ≈ SARA, VOLVO ≈ BOLBO), parecido escrito, inclusión de tu marca dentro de otra (ZARA → "ZARA HOME") y **clases de Niza iguales o relacionadas**. Devuelve una puntuación 0-100, nivel de riesgo, explicación en español e inglés, y **los días que quedan para oponerse** (2 meses desde la publicación). **0,05 $ por posible conflicto**; las solicitudes revisadas sin conflicto no se cobran.

#### Para quién

Despachos de propiedad industrial y **agentes de marcas** (vigilancia diaria de toda la cartera de clientes por una fracción de los 49-150 € por marca y año de los servicios tradicionales), departamentos legales y titulares de marcas, proveedores de software de PI, y agencias B2B que buscan empresas que acaban de crear una marca.

#### Cómo programarlo

Guarda la configuración como Tarea y prográmala de lunes a viernes a las 9:30 (hora de Madrid) con `daysBack: 3` y `onlyNew: true`. Conecta el resultado a email, Slack, Google Sheets, Make, Zapier o n8n.

#### Entrada simple de marcas

Una marca por línea en `watchMarksSimple`: `NOMBRE | clases | referencia cliente | titular`. Ejemplo: `MAHOU | 32, 33 | cliente-17`. Si indicas el titular, sus propias solicitudes no se marcan como conflicto.

#### Fuente, licencia y aviso

Datos del **Boletín Oficial de la Propiedad Industrial (BOPI), Tomo 1**, de la OEPM. Reutilización permitida según la Ley 37/2007 y el RD 1495/2011 citando: **"Origen de los datos: Oficina Española de Patentes y Marcas"**. La OEPM no patrocina ni respalda este servicio. Los nombres, NIF y domicilios de personas físicas no se publican. **Esto no es asesoramiento jurídico**: las puntuaciones son una ayuda automática y el plazo de oposición debe confirmarse con un agente de la propiedad industrial.

# Actor input Schema

## `mode` (type: `string`):

<b>feed</b>: every new Spanish trademark / trade-name application published in the BOPI for the dates and filters you choose (billed per application). <b>watch</b>: compare new applications with YOUR marks and return only possible conflicts with a similarity score and explanation (billed per conflict found).

## `watchMarks` (type: `array`):

Your / your clients' marks. Each item: name (required), niceClasses (array of numbers), clientRef (your reference, optional), owner (the holder's company name: their own new filings are ignored, optional).

## `watchMarksSimple` (type: `array`):

Alternative to the JSON list, one mark per line: <code>NAME | Nice classes | client reference | owner</code>. Example: <code>MAHOU | 32, 33 | cliente-17</code>. Only the name is required.

## `similarityThreshold` (type: `integer`):

Only conflicts with a score at or above this value are returned. 80 is a good balance; use 75 for a wider net or 88 for only strong matches.

## `classScope` (type: `string`):

<b>related</b> (recommended): same or commercially related Nice classes (e.g. 25 clothing ↔ 18 leather goods ↔ 35 retail). <b>same</b>: only identical classes. <b>any</b>: report similar names in any class (scored lower when classes differ).

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

YYYY-MM-DD. Leave empty to use the latest published BOPI (or 'Days back'). The BOPI is published on Spanish working days.

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

YYYY-MM-DD. Leave empty for the latest published BOPI. Maximum range 93 days per run.

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

Number of calendar days to cover, ending at the latest BOPI. For a daily schedule use 3 together with 'Only new' so holidays and weekends never leave gaps.

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

Remembers delivered applications / conflicts in a named key-value store, so scheduled runs only return and bill what is new. State is kept per configuration for 150 days.

## `niceClasses` (type: `array`):

Only applications that include at least one of these Nice classes (1-45). Empty = all.

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

Only applications whose mark name, applicant company or goods/services contain any of these words (accents and case ignored).

## `applicantType` (type: `string`):

<b>company</b>: only applications filed by companies and other organisations (useful for B2B prospecting). Natural persons' names are always redacted.

## `kinds` (type: `array`):

trademark = Marca (M), trade_name = Nombre comercial (N).

## `markTypes` (type: `array`):

Empty = all. word = denominativa, figurative = figurativa / mixta.

## `provinces` (type: `array`):

Only company applicants located in these Spanish provinces, e.g. MADRID, BARCELONA, VALENCIA.

## `includeGoodsAndServices` (type: `boolean`):

Adds the full list of goods/services per class. Turn off for smaller rows.

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

Stop after this many applications (feed) or conflicts (watch). 0 = no limit.

## Actor input object example

```json
{
  "mode": "feed",
  "watchMarks": [
    {
      "name": "ZARA",
      "niceClasses": [
        25,
        35
      ],
      "clientRef": "client-001"
    },
    {
      "name": "NATURFOOD",
      "niceClasses": [
        29,
        30
      ],
      "clientRef": "client-002"
    }
  ],
  "similarityThreshold": 80,
  "classScope": "related",
  "daysBack": 1,
  "onlyNew": false,
  "applicantType": "any",
  "kinds": [
    "trademark",
    "trade_name"
  ],
  "includeGoodsAndServices": true,
  "maxItems": 0
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "watchMarks": [
        {
            "name": "ZARA",
            "niceClasses": [
                25,
                35
            ],
            "clientRef": "client-001"
        },
        {
            "name": "NATURFOOD",
            "niceClasses": [
                29,
                30
            ],
            "clientRef": "client-002"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("icarodata/spain-trademark-watch").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 = { "watchMarks": [
        {
            "name": "ZARA",
            "niceClasses": [
                25,
                35,
            ],
            "clientRef": "client-001",
        },
        {
            "name": "NATURFOOD",
            "niceClasses": [
                29,
                30,
            ],
            "clientRef": "client-002",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("icarodata/spain-trademark-watch").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 '{
  "watchMarks": [
    {
      "name": "ZARA",
      "niceClasses": [
        25,
        35
      ],
      "clientRef": "client-001"
    },
    {
      "name": "NATURFOOD",
      "niceClasses": [
        29,
        30
      ],
      "clientRef": "client-002"
    }
  ]
}' |
apify call icarodata/spain-trademark-watch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,icarodata/spain-trademark-watch"
        }
    }
}
```

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/DKX0t9H7iWTkFRleu/builds/qUzCEswtehl0P5XNM/openapi.json
