# Brazil Trademark Search (INPI) (`jpmendes/brazil-trademark-search-inpi`) Actor

Search the full Brazilian trademark register (INPI): similar names, trademarks owned by a CNPJ, or lookup by process number. 3+ million active records, refreshed weekly.

- **URL**: https://apify.com/jpmendes/brazil-trademark-search-inpi.md
- **Developed by:** [Engenho Labs](https://apify.com/jpmendes) (community)
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 trademark name searches

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

## Brazil Trademark Search (INPI)

Check any brand name against the **entire Brazilian trademark register** in seconds: **3.4 million+ active trademarks**
from INPI (Instituto Nacional da Propriedade Industrial). The data is rebuilt every week from INPI's official open data.

There is no login, no CAPTCHA and no scraping of INPI's website, so runs don't break when INPI changes its pages.

### What it does

| Input | You get |
|---|---|
| **Trademark names** | Active marks that look or sound similar, with a similarity score (default cut-off 85%, adjustable 80–100%). Matching is phonetic and textual and tuned for Portuguese, so "Bella Pet" finds "BELA PETS". |
| **Company CNPJs** | Every active trademark owned by the company. |
| **INPI process numbers** | The public record of each process. |

Each record includes the process number, the mark name, the status (normalized plus the original INPI text), the filing
and expiry dates, the owner (companies only, see Privacy), the owner's state and the Nice classes.

### Use cases

- **Trademark clearance before launching a brand in Brazil.** If a name comes back with no conflict, that is the
  answer you need.
- **Due diligence and M\&A.** List every brand a Brazilian company owns from its CNPJ.
- **Market-entry checks** for foreign companies selling into Brazil (marketplaces, e-commerce, franchising).
- **AI agents and pipelines** that need a Brazil trademark lookup as a tool. The output is clean JSON with English
  field names.

### Input example

```json
{
  "names": ["Bella Pet", "Nubank"],
  "cnpjs": ["18.236.120/0001-58"],
  "processNumbers": ["912345678"],
  "maxMatchesPerName": 20,
  "minSimilarity": 85,
  "niceClasses": ["35", "36"]
}
```

### Output example (one item per query)

```json
{
  "query": "Bella Pet",
  "type": "name",
  "matchCount": 2,
  "topMatch": {"processNumber": "100", "name": "BELLA PET", "similarity": 100, "status": "registered", "...": "..."},
  "matches": [
    {"processNumber": "100", "name": "BELLA PET", "similarity": 100, "status": "registered",
     "statusOriginal": "Registro de marca em vigor", "filingDate": "2010-01-01", "expiryDate": "2032-01-01",
     "owner": "BELLA PET LTDA", "ownerState": "SP", "niceClasses": [31, 35]},
    {"processNumber": "101", "name": "BELA PETS", "similarity": 93, "status": "pending",
     "statusOriginal": "Aguardando exame de mérito", "filingDate": "2025-01-01", "expiryDate": null,
     "owner": "pessoa física", "ownerState": "RJ", "niceClasses": [31]}
  ],
  "databaseUpdatedAt": "2026-10-31T16:19:00"
}
```

`status` is one of `registered`, `pending`, `pending_opposition`, `pending_appeal` or `other`.

### Pricing

You pay per query. You are **never charged for errors**, such as an invalid CNPJ or a temporary outage; those go to
the `ERRORS` record in the key-value store.

| Event | Price |
|---|---|
| Name search (up to 50 similar marks) | $0.02 |
| CNPJ lookup (all marks of the company) | $0.01 |
| Process lookup | $0.003 |

### Coverage and limits

- Only **active** marks are included: registered, pending, or under opposition or appeal. Extinct, archived, rejected
  and cancelled marks are excluded, because they no longer block a new filing.
- The database is rebuilt weekly from INPI open data. Every item carries `databaseUpdatedAt`.
- Similarity is a screening tool, not legal advice. A final clearance opinion should come from a Brazilian IP
  attorney.

### Privacy

When the owner is an individual (pessoa física), the owner name is replaced with `"pessoa física"`. This follows the
data-minimization principle of Brazil's LGPD. CPFs are never returned.

# Actor input Schema

## `names` (type: `array`):

Names to check against all active Brazilian trademarks. Returns phonetically and textually similar marks (e.g. 'Bella Pet' finds 'BELA PETS').

## `cnpjs` (type: `array`):

Brazilian company tax IDs (CNPJ, with or without punctuation). Returns every active trademark owned by the company.

## `processNumbers` (type: `array`):

INPI process numbers (e.g. 912345678). Returns the public record of each one.

## `maxMatchesPerName` (type: `integer`):

Most similar marks returned for each name (1–50).

## `minSimilarity` (type: `integer`):

Drop matches below this similarity score (80–100). 85 is a good default; 80 casts a wider phonetic net (more false positives).

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

Optional. Keep only matches registered in at least one of these Nice classes (1–45).

## Actor input object example

```json
{
  "names": [
    "Nubank"
  ],
  "maxMatchesPerName": 20,
  "minSimilarity": 85
}
```

# Actor output Schema

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

One item per query (name, CNPJ or process number) with the matching active Brazilian trademarks, in the default dataset.

## `errors` (type: `string`):

Queries that failed or had invalid input (e.g. a CNPJ without 14 digits). Present only when there were errors; these queries are not charged.

# 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 = {
    "names": [
        "Nubank"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmendes/brazil-trademark-search-inpi").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 = { "names": ["Nubank"] }

# Run the Actor and wait for it to finish
run = client.actor("jpmendes/brazil-trademark-search-inpi").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 '{
  "names": [
    "Nubank"
  ]
}' |
apify call jpmendes/brazil-trademark-search-inpi --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmendes/brazil-trademark-search-inpi"
        }
    }
}
```

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/dgcIhbIcvmI25k4TE/builds/fs3bcg9ObegNbxfja/openapi.json
