# Mexico Industrial Suppliers Scraper (`servin_systems/mexico-industrial-suppliers-scraper`) Actor

Find Mexican industrial suppliers by product or category. Extract company names, websites, addresses, products, coverage and Google ratings from Cosmos Online. Build B2B supplier and sourcing lists in minutes.

- **URL**: https://apify.com/servin_systems/mexico-industrial-suppliers-scraper.md
- **Developed by:** [Fabricio Ezequiel Ferreira Servin](https://apify.com/servin_systems) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 suppliers

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/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

## Mexico Industrial Suppliers Scraper

**Mexico Industrial Suppliers Scraper** turns any Cosmos Online category into a clean list of Mexican industrial suppliers: company name, website, full address, products, coverage and Google rating. Download it as Excel, CSV or JSON, or pull it through the Apify API. No login, no browser extension, no code.

- 🏭 Find manufacturers and distributors by product or industry (pumps, valves, packaging, tools and thousands more categories)
- 🌐 Get each company's **own website** and **street address** for outreach and sourcing
- 📍 See where each supplier delivers (nationwide or by state)
- 💰 Pay only for the suppliers you get: **$3 per 1,000 suppliers**
- 🐢 Polite by design: it follows the site's crawl delay, so it never overloads it

### What data can you extract from Cosmos Online?

| Field | Description |
| --- | --- |
| `companyName` | Trade name of the supplier |
| `website` | The company's own website, when published |
| `streetAddress`, `city`, `state`, `postalCode`, `country` | Full business address |
| `description` | What the company does, in its own words |
| `featuredProduct`, `brand` | Product or service listed in the category and its brand |
| `coverage` | Where the supplier delivers (national or a list of states) |
| `memberType`, `memberSince` | Partner or guest listing, and the year a partner joined |
| `googleRating`, `googleReviews` | Average Google rating and number of reviews, when shown |
| `category`, `sourceUrl`, `companyUrl` | Where the supplier was found, and its profile link |

**Not included:** phone numbers and e-mail addresses. Cosmos Online only reveals them behind an interactive step, and this Actor does not go around it. Use the website and address to reach the company.

### Why scrape Cosmos Online?

- **Sourcing and procurement**: build a shortlist of Mexican suppliers for any industrial product before asking for quotes, a common step in nearshoring projects.
- **B2B lead generation**: reach manufacturers, distributors and service providers by industry, state or product.
- **Market research**: see who sells a product in Mexico, how long they have been listed, and how customers rate them.
- **Competitor mapping**: list every company that offers the same product line as you.

### How to scrape Cosmos Online

1. Click **Try for free**.
2. Open the Cosmos Online category list in your browser, pick a category or product and copy its address. It starts with `/categoria/` or `/producto/`.
3. Paste one or more addresses into **Category or product URLs**.
4. Set **Maximum suppliers** and click **Start**.
5. Download your data from the **Output** tab.

### Input example

```json
{
    "startUrls": [{ "url": "https://www.cosmos.com.mx/producto/bombas-4chm/" }],
    "maxItems": 100,
    "includeCompanyDetails": true,
    "followSubcategories": true
}
```

| Option | What it does |
| --- | --- |
| **Open each company page** | Adds website, full address, description and Google rating. On by default. Turn it off for a much faster run that returns only the listing data. |
| **Include sub-categories** | Also reads the sub-category and sub-product pages linked from your URL (up to 30 per URL) to find more suppliers. On by default. |

### Output example

```json
{
    "companyName": "Galfer Industrias",
    "companyUrl": "https://www.cosmos.com.mx/empresa/galfer-industrias-d1bv.html",
    "memberType": "partner",
    "memberSince": 2023,
    "featuredProduct": "Bombas - Galfer Industrias",
    "brand": null,
    "coverage": "México a nivel nacional",
    "category": "Bombas",
    "sourceUrl": "https://www.cosmos.com.mx/producto/bombas-4chm/",
    "legalName": "Galfer Industrias",
    "website": "https://galferindustrias.com/",
    "streetAddress": "Av. Mexico 24",
    "city": "Tultitlán",
    "state": "Edo. de Méx.",
    "googleRating": null,
    "scrapedAt": "2026-11-12T12:25:24.603Z"
}
```

### How fast is it?

The website asks crawlers to wait 6 seconds between requests, and this Actor respects that.

| Mode | Speed |
| --- | --- |
| With company pages (default) | about 10 suppliers per minute, so 100 suppliers take roughly 11 minutes |
| Without company pages | about 100 suppliers per minute |

Plan large runs accordingly, or schedule them to run overnight.

### How much does it cost to scrape Cosmos Online?

This Actor uses pay-per-event pricing, so the cost is predictable:

| Event | Price |
| --- | --- |
| Actor start | $0.00005 per run |
| Supplier saved | $0.003 per supplier |

Example: 1,000 suppliers cost about **$3.00**. Platform usage is included: you pay nothing extra for compute or storage. With the Apify free plan's monthly credit you can collect about **1,600 suppliers for free**.

You can cap your spending per run with **Maximum cost per run** in the run options. The Actor stops cleanly when it reaches your limit.

### Tips

- Start with 10 to 20 suppliers to check the data fits your needs.
- Use specific product pages for focused lists, and broad category pages for wide coverage.
- The same company is never returned twice in one run.
- Combine several categories in one run by adding more URLs.

### FAQ

#### Is it legal to scrape Cosmos Online?

This Actor only collects business information that any visitor can see without logging in: company names, websites, addresses and product listings. It respects the site's robots.txt rules and crawl delay, does not use the site's search, and does not collect personal data or bypass any verification step. You are responsible for how you use the results; if your use case involves personal data, check the regulations that apply to you.

#### Why are some fields empty?

Companies fill in their own profile. Many do not publish a Google rating, a brand or a website, and guest listings have fewer details than partners.

#### Why doesn't it return phone numbers or e-mails?

They are only shown after an interactive step on the website. The Actor does not bypass it.

#### I get "No suppliers found". What should I do?

Check that your address starts with `/categoria/` or `/producto/` and opens a list of companies in your browser. If it does and the Actor still returns nothing, the website may have changed: please open an issue in the **Issues** tab and it will be fixed quickly.

#### Can I use it through the API or with integrations?

Yes. Run it with the Apify API, schedule it, or connect it to Make, n8n, Zapier, Google Sheets and other integrations available on the Apify platform. It also works with AI agents through the Apify MCP server.

#### I need a field that is missing

Open an issue in the **Issues** tab describing the field. Feature requests are welcome.

# Actor input Schema

## `startUrls` (type: `array`):

Pages from www.cosmos.com.mx whose address starts with /categoria/ or /producto/, for example https://www.cosmos.com.mx/producto/bombas-4chm/ or https://www.cosmos.com.mx/categoria/bombas-4chm/. Find them by browsing the Cosmos Online category list. The site's own search page is not supported.

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

Stop after saving this many suppliers. You are only charged for suppliers that are saved.

## `includeCompanyDetails` (type: `boolean`):

Visit every supplier's own page to add website, full address, description and Google rating. Slower (about 6 seconds per supplier, to respect the site's crawl delay), but this is the data most users need.

## `followSubcategories` (type: `boolean`):

Also read the sub-category and sub-product pages linked from each start URL (up to 30 per URL) to find more suppliers. Turn off to read only the exact pages you pasted.

## `proxyConfiguration` (type: `object`):

Not needed for normal use: the site can be read directly. Turn on Apify Proxy only if runs start failing with access errors.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.cosmos.com.mx/producto/bombas-4chm/"
    }
  ],
  "maxItems": 5,
  "includeCompanyDetails": true,
  "followSubcategories": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One item per scraped result.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.cosmos.com.mx/producto/bombas-4chm/"
        }
    ],
    "maxItems": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("servin_systems/mexico-industrial-suppliers-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 = {
    "startUrls": [{ "url": "https://www.cosmos.com.mx/producto/bombas-4chm/" }],
    "maxItems": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("servin_systems/mexico-industrial-suppliers-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 '{
  "startUrls": [
    {
      "url": "https://www.cosmos.com.mx/producto/bombas-4chm/"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call servin_systems/mexico-industrial-suppliers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,servin_systems/mexico-industrial-suppliers-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/XgQOFggPJEyXygK5l/builds/ZBEybpc2CxX9qGHWL/openapi.json
