# SeccionAmarilla Mexico Business Directory Scraper (`crawlerbros/seccion-amarilla-scraper`) Actor

Scrape SeccionAmarilla.com.mx, Mexico's leading business directory. Search by category/keyword and state/city, or fetch specific listings by URL. Get name, address, phone, category, opening hours, website, products/services and more - no login required.

- **URL**: https://apify.com/crawlerbros/seccion-amarilla-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## SeccionAmarilla Mexico Business Directory Scraper

Scrape **SeccionAmarilla.com.mx** — Mexico's leading online business directory (Yellow Pages). Search any keyword or trade, browse by category, and scope results to any of Mexico's 32 states and thousands of cities. Get name, address, GPS coordinates, phone numbers, website, category, opening hours, products/services, payment methods accepted, and more. HTTP-only, no login, no cookies, no API key required.

### What this actor does

- **Three modes:** `search` (free-text keyword, e.g. a trade or business name), `byCategory` (curated category dropdown with free-text override), `byUrl` (fetch specific listing pages directly)
- **Geographic scoping:** filter by any of Mexico's 32 states plus a free-text city/municipality
- **Rich business data:** name, category, full address (street/colonia/city/state/postal code), GPS coordinates, phone, website, live open/closed status and hours
- **Optional deep enrichment:** turn on `fetchDetails` to additionally pull email, every phone number on file, payment methods accepted, products/services tags, social media links, WhatsApp availability, and a full per-day opening-hours breakdown
- **Filters:** state, city, "open now" only, "has website" only, "has WhatsApp" only, free-text keyword filter
- **Sort order:** relevance (site default), name A-Z, or name Z-A — matches the site's own "Ordenar por" control (search/byCategory modes)
- **Empty fields are omitted** — every record only contains data actually found for that business
- **Full Spanish/accent support** — city, colonia, and state names are preserved exactly (Querétaro, Ciudad de México, Guadalajara, etc.)

### Output per business

- `businessId`, `sourceUrl` — unique ID and canonical SeccionAmarilla listing URL
- `name`
- `category` — trade/service category (e.g. `Restaurante`, `Restaurantes-Cocina Mexicana`)
- `description`
- `street`, `colonia`, `city`, `state`, `stateCode`, `postalCode` *(postal code, detail only)*, `fullAddress`
- `latitude`, `longitude`, `mapUrl` — Google Maps link built from coordinates
- `phone`, `phones[]` *(all numbers, detail only)*, `email` *(detail only)*, `website`
- `paymentMethods[]` — accepted payment methods *(detail only)*
- `productsAndServices[]` — tags describing what the business offers *(detail only)*
- `socialLinks[]` — social media profile URLs, when published *(detail only)*
- `imageUrl` — business photo *(detail only)*
- `openNow` (boolean), `openingHoursSummary` (short text), `openingHours[]` — per-day breakdown `{day, dayEn, hours}` *(detail only)*
- `whatsappAvailable` (boolean) *(detail only)*
- `recordType: "business"`, `scrapedAt`

*(detail only)* fields are only populated when `fetchDetails: true` is set (search/byCategory modes) or when using `mode: byUrl` (which always fetches the full listing page).

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byCategory` / `byUrl` |
| `searchQuery` | string | `restaurantes` | Free-text keyword — business type, trade, or city (mode=search) |
| `category` | string | `restaurantes` | A SeccionAmarilla category slug; curated examples in the field description (mode=byCategory) |
| `state` | string (enum) | – | One of Mexico's 32 states |
| `city` | string | `guadalajara` | City/municipality — scopes the search URL and acts as a safety-net filter |
| `urls` | array | – | SeccionAmarilla `/informacion/...` listing URLs (mode=byUrl) |
| `sortOrder` | string (enum) | – | `az` / `za` for name sort, or leave empty for the site's relevance ranking (mode=search, byCategory) |
| `keyword` | string | – | Keep only results whose name/description/category/products contain this text |
| `openNowOnly` | boolean | `false` | Only businesses currently marked open |
| `hasWebsiteOnly` | boolean | `false` | Only businesses with a website listed |
| `whatsappOnly` | boolean | `false` | Only businesses with WhatsApp contact available (requires `fetchDetails: true`, or mode=byUrl) |
| `fetchDetails` | boolean | `false` | Visit each business's own listing page for email/phones/hours/tags/payments (1 extra request per business) |
| `maxItems` | integer | `30` | Hard cap (1-500) |
| `proxyConfiguration` | object | – | Optional; the site works without a proxy, the actor auto-escalates to the free AUTO group on 403/429 |

#### Example: search with state + city + open-now filter

```json
{
  "mode": "search",
  "searchQuery": "plomeros",
  "state": "jalisco",
  "city": "guadalajara",
  "openNowOnly": true,
  "maxItems": 50
}
````

#### Example: browse a category nationwide, with full detail enrichment

```json
{
  "mode": "byCategory",
  "category": "hoteles",
  "fetchDetails": true,
  "maxItems": 100
}
```

#### Example: fetch specific listing pages

```json
{
  "mode": "byUrl",
  "urls": [
    "https://www.seccionamarilla.com.mx/informacion/casa-bariachi/restaurantes/jalisco/guadalajara/guadalajara-centro/3183459"
  ]
}
```

### Limitations

- **No ratings or review counts.** SeccionAmarilla's public listings and structured data do not publish star ratings or review counts for any business — this is a property of the source, not something this actor omits.
- **No dedicated "browse by state" or "browse by city" mode without a keyword/category.** The site's search endpoint requires a primary query segment (a keyword or category); `state`/`city` narrow that query rather than standing alone. In practice, passing a broad term like a city name as `searchQuery` achieves the same result.
- **Category list is curated, not exhaustive.** SeccionAmarilla publishes several thousand category slugs in its sitemap. The `category` field ships ~44 popular curated examples but accepts any valid category slug as free text — it is a textfield with suggestions, not a locked dropdown, so power users are not limited to the curated list.
- **`distance` field not exposed.** The business detail page shows a "distance" value relative to an IP-geolocated reference point, which is meaningless from a datacenter/proxy IP and would be misleading data — intentionally excluded rather than shipped as an unreliable field.
- **`city` is best-effort geographic scoping.** SeccionAmarilla occasionally pads a narrow category+state combination with nearby-area results rather than returning fewer exact matches; the `city`/`state` filters catch and remove these before they reach your dataset, but very obscure category+city combinations may still return fewer results than a manual site search.
- **`mode: byCategory` applies a best-effort category safety-net filter.** The site has no dedicated category-browse endpoint — `byCategory` reuses the same keyword-search results page as `mode: search` — so a category like `hoteles` can otherwise surface unrelated businesses that merely mention the term (a hotel-supplies vendor, a travel agency). This actor cross-checks each result's own category label against the requested category and drops non-matches before they reach your dataset.

### Use cases

- **Lead generation** — build prospect lists of local businesses by trade, state, and city
- **Market research** — analyze business density and category coverage across Mexican states
- **Directory aggregation** — mirror or cross-reference Mexican business listings
- **Local SEO audits** — check a business's own directory data (address, hours, phone, website) for accuracy
- **Franchise/expansion planning** — map competitor or partner locations by category and geography
- **Sales prospecting** — export contact details (phone, website, WhatsApp availability) for a target trade

### FAQ

**Do I need a SeccionAmarilla account?** No. Search, category browsing, and listing pages are all publicly accessible without an account.

**Does the `city` filter guarantee I only get businesses in that city?** `city` is used both to scope the SeccionAmarilla search URL directly (the site's own location-aware search) and as a best-effort text safety-net filter on the returned address. For most trades this returns results genuinely located in that city; very narrow category+city combinations occasionally return a small number of nearby-area results, which the safety-net filter then removes.

**Does this actor return ratings or review counts?** No — SeccionAmarilla's public listings do not publish star ratings or review counts (verified against the site's own structured data). If your use case needs ratings, this field is not available from this data source.

**Why is `website` sometimes missing?** Not every business lists a website on SeccionAmarilla — many smaller businesses only publish a phone number and address. The field is simply omitted when absent, rather than returned empty.

**Why do some fields (`postalCode`, `email`, `phones`, opening-hours breakdown, `productsAndServices`) only appear with `fetchDetails` on?** Those fields only exist on each business's own listing page, not in the search-results list. Turning on `fetchDetails` fetches that page for every result (one extra request per business, so it's slower but more complete).

**Can I browse categories not in the dropdown?** Yes — type any SeccionAmarilla category into the `category` field (e.g. found while browsing the site, like `veterinarios` or `laboratorios-de-diagnostico-clinico`). The field description lists over 40 common categories as copy-paste examples.

**How fresh is the data?** SeccionAmarilla listings are maintained by business owners and the platform's own data team; the actor always reads the live page at run time.

**Is this actor affiliated with SeccionAmarilla?** No. This is an independent, third-party actor that reads SeccionAmarilla's publicly available pages. It is not affiliated with, endorsed by, or sponsored by SeccionAmarilla or its parent company.

# Actor input Schema

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

What to fetch.

## `searchQuery` (type: `string`):

Free-text keyword — a business name, trade/service, or city, e.g. `restaurantes`, `plomero de emergencia`, `guadalajara`.

## `category` (type: `string`):

A SeccionAmarilla category slug. Type any category you find while browsing the site, or copy one of the curated examples below into the field.

Curated examples:
`restaurantes` (Restaurantes), `hoteles` (Hoteles), `farmacias` (Farmacias), `abogados` (Abogados), `dentistas` (Dentistas), `medicos-veterinarios-zootecnistas` (Veterinarios), `ferreterias` (Ferreterías), `gimnasios` (Gimnasios), `panaderias` (Panaderías), `joyerias` (Joyerías), `zapaterias` (Zapaterías), `mueblerias` (Mueblerías), `tintorerias-planchadurias-y-lavanderias` (Tintorerías y lavanderías), `bancos` (Bancos), `notarios` (Notarías), `contadores-auditores-y-asuntos-fiscales` (Contadores), `arquitectos` (Arquitectos), `guarderias-infantiles` (Guarderías infantiles), `universidades` (Universidades), `escuelas` (Escuelas), `clinicas-de-rehabilitacion-fisica` (Clínicas de rehabilitación), `opticas` (Ópticas), `funerarias` (Funerarias), `gasolineras` (Gasolineras), `cafeterias` (Cafeterías), `tacos` (Taquerías), `hamburguesas` (Hamburguesas), `pizzas` (Pizzerías), `salones-para-fiestas` (Salones para fiestas), `talleres-mecanicos` (Talleres mecánicos), `agencias-de-viajes` (Agencias de viajes), `renta-de-autos` (Renta de autos), `seguridad-privada` (Seguridad privada), `fletes-y-mudanzas` (Mudanzas), `plomerias-y-articulos-para` (Plomería), `peluquerias` (Peluquerías), `estetica-femenina-clinicas-de` (Clínicas de estética), `medicina-estetica` (Medicina estética), `laboratorios-de-diagnostico-clinico` (Laboratorios clínicos), `inmobiliarias` (Inmobiliarias), `papelerias` (Papelerías), `spa-salud-por-agua` (Spa), `seguros-companias-de` (Compañías de seguros), `carnicerias` (Carnicerías), `electrodomesticos` (Electrodomésticos)

## `state` (type: `string`):

Restrict results to one of Mexico's 32 states. Leave empty for nationwide.

## `city` (type: `string`):

Restrict results to a specific city/municipality, e.g. `guadalajara`, `monterrey`, `merida`. Used both to scope the SeccionAmarilla search URL and as a safety-net text filter on the returned address.

## `urls` (type: `array`):

Full SeccionAmarilla `/informacion/...` listing URLs, e.g. `https://www.seccionamarilla.com.mx/informacion/casa-bariachi/restaurantes/jalisco/guadalajara/guadalajara-centro/3183459`.

## `sortOrder` (type: `string`):

Result order for search/byCategory modes, matching the site's own "Ordenar por" control. Leave as Relevance for the site's default ranking.

## `keyword` (type: `string`):

Only keep results whose name, description, category, or products/services list contains this text (case- and accent-insensitive).

## `openNowOnly` (type: `boolean`):

Only emit businesses currently marked as open on SeccionAmarilla.

## `hasWebsiteOnly` (type: `boolean`):

Only emit businesses that have a website listed.

## `whatsappOnly` (type: `boolean`):

Only emit businesses with WhatsApp contact available, matching the site's own "Whatsapp" results filter. Requires `fetchDetails: true` (or mode=byUrl) — WhatsApp availability is only known from each business's own listing page.

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

For search/byCategory modes: visit each business's own listing page to also collect email, all phone numbers, postal code, payment methods accepted, products/services tags, social links, WhatsApp availability, and full per-day opening hours. Slower (1 extra request per business). Always on for mode=byUrl.

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

Hard cap on emitted records.

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

Optional proxy settings. Leave empty to use no proxy — SeccionAmarilla is publicly accessible without one. The actor automatically escalates to the free AUTO datacenter proxy group if it hits a 403/429.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "restaurantes",
  "category": "restaurantes",
  "state": "jalisco",
  "city": "guadalajara",
  "urls": [],
  "sortOrder": "",
  "openNowOnly": false,
  "hasWebsiteOnly": false,
  "whatsappOnly": false,
  "fetchDetails": false,
  "maxItems": 30
}
```

# Actor output Schema

## `businesses` (type: `string`):

Dataset containing all scraped SeccionAmarilla businesses.

# 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 = {
    "mode": "search",
    "searchQuery": "restaurantes",
    "category": "restaurantes",
    "state": "jalisco",
    "city": "guadalajara",
    "urls": [],
    "sortOrder": "",
    "openNowOnly": false,
    "hasWebsiteOnly": false,
    "whatsappOnly": false,
    "fetchDetails": false,
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/seccion-amarilla-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 = {
    "mode": "search",
    "searchQuery": "restaurantes",
    "category": "restaurantes",
    "state": "jalisco",
    "city": "guadalajara",
    "urls": [],
    "sortOrder": "",
    "openNowOnly": False,
    "hasWebsiteOnly": False,
    "whatsappOnly": False,
    "fetchDetails": False,
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/seccion-amarilla-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "restaurantes",
  "category": "restaurantes",
  "state": "jalisco",
  "city": "guadalajara",
  "urls": [],
  "sortOrder": "",
  "openNowOnly": false,
  "hasWebsiteOnly": false,
  "whatsappOnly": false,
  "fetchDetails": false,
  "maxItems": 30
}' |
apify call crawlerbros/seccion-amarilla-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/seccion-amarilla-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SeccionAmarilla Mexico Business Directory Scraper",
        "description": "Scrape SeccionAmarilla.com.mx, Mexico's leading business directory. Search by category/keyword and state/city, or fetch specific listings by URL. Get name, address, phone, category, opening hours, website, products/services and more - no login required.",
        "version": "1.0",
        "x-build-id": "VaVIgmC0V1yXFhrW2"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~seccion-amarilla-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-seccion-amarilla-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~seccion-amarilla-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-seccion-amarilla-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~seccion-amarilla-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-seccion-amarilla-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "byCategory",
                            "byUrl"
                        ],
                        "type": "string",
                        "description": "What to fetch.",
                        "default": "search"
                    },
                    "searchQuery": {
                        "title": "Search query (mode=search)",
                        "type": "string",
                        "description": "Free-text keyword — a business name, trade/service, or city, e.g. `restaurantes`, `plomero de emergencia`, `guadalajara`.",
                        "default": "restaurantes"
                    },
                    "category": {
                        "title": "Category (mode=byCategory)",
                        "type": "string",
                        "description": "A SeccionAmarilla category slug. Type any category you find while browsing the site, or copy one of the curated examples below into the field.\n\nCurated examples:\n`restaurantes` (Restaurantes), `hoteles` (Hoteles), `farmacias` (Farmacias), `abogados` (Abogados), `dentistas` (Dentistas), `medicos-veterinarios-zootecnistas` (Veterinarios), `ferreterias` (Ferreterías), `gimnasios` (Gimnasios), `panaderias` (Panaderías), `joyerias` (Joyerías), `zapaterias` (Zapaterías), `mueblerias` (Mueblerías), `tintorerias-planchadurias-y-lavanderias` (Tintorerías y lavanderías), `bancos` (Bancos), `notarios` (Notarías), `contadores-auditores-y-asuntos-fiscales` (Contadores), `arquitectos` (Arquitectos), `guarderias-infantiles` (Guarderías infantiles), `universidades` (Universidades), `escuelas` (Escuelas), `clinicas-de-rehabilitacion-fisica` (Clínicas de rehabilitación), `opticas` (Ópticas), `funerarias` (Funerarias), `gasolineras` (Gasolineras), `cafeterias` (Cafeterías), `tacos` (Taquerías), `hamburguesas` (Hamburguesas), `pizzas` (Pizzerías), `salones-para-fiestas` (Salones para fiestas), `talleres-mecanicos` (Talleres mecánicos), `agencias-de-viajes` (Agencias de viajes), `renta-de-autos` (Renta de autos), `seguridad-privada` (Seguridad privada), `fletes-y-mudanzas` (Mudanzas), `plomerias-y-articulos-para` (Plomería), `peluquerias` (Peluquerías), `estetica-femenina-clinicas-de` (Clínicas de estética), `medicina-estetica` (Medicina estética), `laboratorios-de-diagnostico-clinico` (Laboratorios clínicos), `inmobiliarias` (Inmobiliarias), `papelerias` (Papelerías), `spa-salud-por-agua` (Spa), `seguros-companias-de` (Compañías de seguros), `carnicerias` (Carnicerías), `electrodomesticos` (Electrodomésticos)",
                        "default": "restaurantes"
                    },
                    "state": {
                        "title": "State (all modes except byUrl)",
                        "enum": [
                            "",
                            "aguascalientes",
                            "baja-california",
                            "baja-california-sur",
                            "campeche",
                            "chiapas",
                            "chihuahua",
                            "coahuila",
                            "colima",
                            "distrito-federal",
                            "durango",
                            "guanajuato",
                            "guerrero",
                            "hidalgo",
                            "jalisco",
                            "mexico",
                            "michoacan",
                            "morelos",
                            "nayarit",
                            "nuevo-leon",
                            "oaxaca",
                            "puebla",
                            "queretaro",
                            "quintana-roo",
                            "san-luis-potosi",
                            "sinaloa",
                            "sonora",
                            "tabasco",
                            "tamaulipas",
                            "tlaxcala",
                            "veracruz",
                            "yucatan",
                            "zacatecas"
                        ],
                        "type": "string",
                        "description": "Restrict results to one of Mexico's 32 states. Leave empty for nationwide.",
                        "default": ""
                    },
                    "city": {
                        "title": "City (all modes except byUrl)",
                        "type": "string",
                        "description": "Restrict results to a specific city/municipality, e.g. `guadalajara`, `monterrey`, `merida`. Used both to scope the SeccionAmarilla search URL and as a safety-net text filter on the returned address.",
                        "default": ""
                    },
                    "urls": {
                        "title": "Business listing URLs (mode=byUrl)",
                        "type": "array",
                        "description": "Full SeccionAmarilla `/informacion/...` listing URLs, e.g. `https://www.seccionamarilla.com.mx/informacion/casa-bariachi/restaurantes/jalisco/guadalajara/guadalajara-centro/3183459`.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "sortOrder": {
                        "title": "Sort order (mode=search, byCategory)",
                        "enum": [
                            "",
                            "az",
                            "za"
                        ],
                        "type": "string",
                        "description": "Result order for search/byCategory modes, matching the site's own \"Ordenar por\" control. Leave as Relevance for the site's default ranking.",
                        "default": ""
                    },
                    "keyword": {
                        "title": "Keyword filter",
                        "type": "string",
                        "description": "Only keep results whose name, description, category, or products/services list contains this text (case- and accent-insensitive)."
                    },
                    "openNowOnly": {
                        "title": "Open now only",
                        "type": "boolean",
                        "description": "Only emit businesses currently marked as open on SeccionAmarilla.",
                        "default": false
                    },
                    "hasWebsiteOnly": {
                        "title": "Has website only",
                        "type": "boolean",
                        "description": "Only emit businesses that have a website listed.",
                        "default": false
                    },
                    "whatsappOnly": {
                        "title": "Has WhatsApp only",
                        "type": "boolean",
                        "description": "Only emit businesses with WhatsApp contact available, matching the site's own \"Whatsapp\" results filter. Requires `fetchDetails: true` (or mode=byUrl) — WhatsApp availability is only known from each business's own listing page.",
                        "default": false
                    },
                    "fetchDetails": {
                        "title": "Fetch full detail page per business",
                        "type": "boolean",
                        "description": "For search/byCategory modes: visit each business's own listing page to also collect email, all phone numbers, postal code, payment methods accepted, products/services tags, social links, WhatsApp availability, and full per-day opening hours. Slower (1 extra request per business). Always on for mode=byUrl.",
                        "default": false
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Hard cap on emitted records.",
                        "default": 30
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional proxy settings. Leave empty to use no proxy — SeccionAmarilla is publicly accessible without one. The actor automatically escalates to the free AUTO datacenter proxy group if it hits a 403/429."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
