# Yellow Pages Spain Scraper(Product Details)

Scrape detailed information (Name, Page_URL, Category, Phone, Location, Hours, Information_and_service, Activities, Description, Website, Current_time) from Yellow Pages by URL.

- Template page: [https://www.octoparse.com/template/paginas-amarillas-detalles-scraper](https://www.octoparse.com/template/paginas-amarillas-detalles-scraper)
- Categories: Directories
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages.

## Output

The current workflow extracts 11 fields, including `Actividades`, `Categoría`, `Descripción`, `Hora_actual`, `Horario`, `Información_y_servicio`, `Nombre`, `Página_URL`, `Sitio_web`, `Teléfono`, `Ubicación`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete URL(s) (up to 10000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### URL(s) (up to 10000)

Required. URL(s) of details pages Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=10000.

## How to Use

# Yellow Pages Spain Scraper (Product Details) — Usage Guide

## What it collects
This template collects detail-page fields from [Páginas Amarillas](https://www.paginasamarillas.es/), a business discovery service with organizations, locations, contact details, and public listing data. It accepts detail-page URLs and returns:

- `Nombre`
- `Página_URL`
- `Categoría`
- `Teléfono`
- `Ubicación`
- `Horario`
- `Información_y_servicio`
- `Actividades`
- `Descripción`
- `Sitio_web`
- `Hora_actual`

## Pricing
This template currently has no per-line charge. Octoparse plan or resource limits may still apply.

## Input
- **URL(s) (up to 10000)** — required. Enter one or more values, one per line. Use specific valid Páginas Amarillas detail-page URLs.

## How to run
1. Open the template and select **Try it** or **Start**.
2. Complete the URL(s) input.
3. Choose a local or cloud run.
4. Review the output rows and export or process the structured data.

## Use cases
- Build business or organization lists with public identity, location, and contact fields.
- Compare listings across categories, searches, or locations.
- Maintain directory, supplier, partner, or lead-research datasets.
- Export source URLs and structured records for verification or enrichment workflows.

## Export and scheduling
- Export rows to CSV, Excel, JSON, databases, or cloud storage.
- Send data to reporting or AI workflows through Octoparse APIs.
- Schedule recurring runs via Octoparse OpenAPI or the [AgentTools API](https://www.octoparse.com/docs/en/api-reference/agenttools-api/search-templates).
- Scheduling and API access may require a paid Octoparse plan.
- For local scheduled runs, keep your computer and Octoparse open.

## Limitations
- Collects only the listed detail-page fields; it does not add data that Páginas Amarillas does not display.
- `Descripción`, `Sitio_web`, and `Hora_actual` can be empty when the source record does not provide them.

## Tips
- Start with one or a few inputs and review returned rows before scaling.
- Use the most specific valid URL(s) (up to 10000) to reduce unrelated or duplicate records.
- Use a stable URL or identifier from `Nombre`, `Página_URL`, `Categoría`, `Teléfono`, `Ubicación`, `Horario`, `Información_y_servicio`, `Actividades`, `Descripción`, or `Sitio_web` as the deduplication key when available.

## Notes

If you want a custom template, feel free to contact support@octoparse.com.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Yellow Pages Latin Scraper(Product Details)](https://www.octoparse.com/template/paginas-amarillas-latin-detalles-scraper)
- [Yellow Pages Spain Scraper(Listing)](https://www.octoparse.com/template/paginas-amarillas-listados-scraper)
- [Yellow Pages Details Scraper (Australia)](https://www.octoparse.com/template/yellow-pages-australia-scraper-product-details)
- [Yellow Pages Canada Scraper (Business Details)](https://www.octoparse.com/template/yellow-pages-canada-scraper-business-details)
- [Amazon Product Details Scraper (for Spain)](https://www.octoparse.com/template/amazon-producto-detalles-scraper-asin)

## Input Schema

```json
{
  "title": "Yellow Pages Spain Scraper(Product Details) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "uRL": {
      "title": "URL(s) (up to 10000)",
      "description": "URL(s) of details pages",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 10000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "uRL"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "uRL": [
    "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
    "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
    "https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html"
  ]
}
```

Example 2

```json
{
  "uRL": [
    "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
    "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
    "https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html"
  ]
}
```

Example 3

```json
{
  "uRL": [
    "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
    "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
    "https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html"
  ]
}
```

Example 4

```json
{
  "uRL": [
    "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
    "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
    "https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html"
  ]
}
```

Example 5

```json
{
  "uRL": [
    "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
    "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
    "https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Actividades": {
      "type": "string",
      "description": ""
    },
    "Categoría": {
      "type": "string",
      "description": ""
    },
    "Descripción": {
      "type": "string",
      "description": ""
    },
    "Hora_actual": {
      "type": "string",
      "description": ""
    },
    "Horario": {
      "type": "string",
      "description": ""
    },
    "Información_y_servicio": {
      "type": "string",
      "description": ""
    },
    "Nombre": {
      "type": "string",
      "description": ""
    },
    "Página_URL": {
      "type": "string",
      "description": ""
    },
    "Sitio_web": {
      "type": "string",
      "description": ""
    },
    "Teléfono": {
      "type": "string",
      "description": ""
    },
    "Ubicación": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Yellow Pages Spain Scraper(Product Details) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Actividades": "Talleres mecánicos para vehículos industriales",
  "Categoría": " Talleres mecánicos para vehículos industriales en Lezo ",
  "Descripción": "Desde sus inicios Talleres Pamendi ofrece sus servicios de reparación mecánica y eléctrica de todo tipo de vehículos industriales. Desde el año 1996 somos concesionario oficial de la Marca DAF, nombrados mejor taller de servicio en los años 2008 y 2018.\n\nAdemás ofrecemos a nuestros clientes, los servicios para plataformas SCHMITZ y GUILLEN, ejes SAF y BPW y sistemas WABCO y KNORR.\n\nDesde el año 2014 nos dedicamos a la venta de vehículos comerciales y PICK UP de marca ISUZU.",
  "Hora_actual": "2026-11-17 19:20:08.183",
  "Horario": "Lunes 08:30-13:00  y  15:00-19:00 Martes 08:30-13:00  y  15:00-19:00 Miércoles 08:30-13:00  y  15:00-19:00 Jueves 08:30-13:00  y  15:00-19:00 Viernes 08:30-13:00  y  15:00-19:00 Sábado 08:30-13:00 Domingo Cerrado ",
  "Información_y_servicio": "Taller mecánico y eléctrico para vehículo industrial.\nServicio oficial DAF - ISUZU - SCHMITZ - KRONE FLEET - KNORR - WABCO - SAF - HALDEX - IRIZAR SERVICE",
  "Nombre": " TALLERES PAMENDI, S.L. Lezo",
  "Página_URL": "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
  "Sitio_web": "http://www.tallerespamendi.com?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
  "Teléfono": "943624193",
  "Ubicación": "ARAÑABURU Kalea, 4 C, 20180, Lezo (GIPUZKOA)"
}
```

Example 2

```json
{
  "Actividades": "Talleres mecánicos para vehículos industriales",
  "Categoría": " Talleres mecánicos para vehículos industriales en Lezo ",
  "Descripción": "Desde sus inicios Talleres Pamendi ofrece sus servicios de reparación mecánica y eléctrica de todo tipo de vehículos industriales. Desde el año 1996 somos concesionario oficial de la Marca DAF, nombrados mejor taller de servicio en los años 2008 y 2018.\n\nAdemás ofrecemos a nuestros clientes, los servicios para plataformas SCHMITZ y GUILLEN, ejes SAF y BPW y sistemas WABCO y KNORR.\n\nDesde el año 2014 nos dedicamos a la venta de vehículos comerciales y PICK UP de marca ISUZU.",
  "Hora_actual": "2026-11-15 11:04:59.042",
  "Horario": "Lunes 08:30-13:00  y  15:00-19:00 Martes 08:30-13:00  y  15:00-19:00 Miércoles 08:30-13:00  y  15:00-19:00 Jueves 08:30-13:00  y  15:00-19:00 Viernes 08:30-13:00  y  15:00-19:00 Sábado 08:30-13:00 Domingo Cerrado ",
  "Información_y_servicio": "Taller mecánico y eléctrico para vehículo industrial.\nServicio oficial DAF - ISUZU - SCHMITZ - KRONE FLEET - KNORR - WABCO - SAF - HALDEX - IRIZAR SERVICE",
  "Nombre": " TALLERES PAMENDI, S.L. Lezo",
  "Página_URL": "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
  "Sitio_web": "http://www.tallerespamendi.com?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
  "Teléfono": "943624193",
  "Ubicación": "ARAÑABURU Kalea, 4 C, 20180, Lezo (GIPUZKOA)"
}
```

Example 3

```json
{
  "Actividades": "CENTROS PRIVADOS DE EDUCACION INFANTIL",
  "Categoría": " Centros privados de educación infantil en L'Alfàs del Pi ",
  "Descripción": "Somos un equipo joven que realiza día a día su trabajo con vocación, ilusión y dedicación.\n\nAdemás de técnicos superiores en educación infantil y maestras, contamos con personal auxiliar y de apoyo, y una cocinera, cumpliendo así con las exigencias legales para centros de educación infantil en la Comunidad Valenciana. Al frente del equipo una psicóloga, que ejerce las tareas de dirección y asesoramiento a los padres.\n\nVen a conocernos!!!",
  "Hora_actual": "2026-11-13 02:49:04.402",
  "Horario": "Lunes 07:30-17:30 Martes 07:30-17:30 Miércoles 07:30-17:30 Jueves 07:30-17:30 Viernes 07:30-17:30 Sábado Cerrado Domingo Cerrado ",
  "Información_y_servicio": "Más de 2000 m. de instalaciones adaptadas, provistas de las medidas necesarias para garantizar la seguridad y el bienestar de sus hijos.",
  "Nombre": " Escuela Infantil Peces de Colores l'Alfàs del Pi",
  "Página_URL": "https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html",
  "Sitio_web": "http://www.escuelainfantilpecesdecolores.com?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
  "Teléfono": "966866262",
  "Ubicación": "Calle de Caliope, 4 BAJO (L´Albir), 03581, l´Alfàs del Pi (ALICANTE)"
}
```

Example 4

```json
{
  "Actividades": "Talleres mecánicos para vehículos industriales",
  "Categoría": " Talleres mecánicos para vehículos industriales en Lezo ",
  "Descripción": "Desde sus inicios Talleres Pamendi ofrece sus servicios de reparación mecánica y eléctrica de todo tipo de vehículos industriales. Desde el año 1996 somos concesionario oficial de la Marca DAF, nombrados mejor taller de servicio en los años 2008 y 2018.\n\nAdemás ofrecemos a nuestros clientes, los servicios para plataformas SCHMITZ y GUILLEN, ejes SAF y BPW y sistemas WABCO y KNORR.\n\nDesde el año 2014 nos dedicamos a la venta de vehículos comerciales y PICK UP de marca ISUZU.",
  "Hora_actual": "2026-11-10 18:34:57.219",
  "Horario": "Lunes 08:30-13:00  y  15:00-19:00 Martes 08:30-13:00  y  15:00-19:00 Miércoles 08:30-13:00  y  15:00-19:00 Jueves 08:30-13:00  y  15:00-19:00 Viernes 08:30-13:00  y  15:00-19:00 Sábado 08:30-13:00 Domingo Cerrado ",
  "Información_y_servicio": "Taller mecánico y eléctrico para vehículo industrial.\nServicio oficial DAF - ISUZU - SCHMITZ - KRONE FLEET - KNORR - WABCO - SAF - HALDEX - IRIZAR SERVICE",
  "Nombre": " TALLERES PAMENDI, S.L. Lezo",
  "Página_URL": "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
  "Sitio_web": "http://www.tallerespamendi.com?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
  "Teléfono": "943624193",
  "Ubicación": "ARAÑABURU Kalea, 4 C, 20180, Lezo (GIPUZKOA)"
}
```

Example 5

```json
{
  "Actividades": "Talleres mecánicos para vehículos industriales",
  "Categoría": " Talleres mecánicos para vehículos industriales en Lezo ",
  "Descripción": "Desde sus inicios Talleres Pamendi ofrece sus servicios de reparación mecánica y eléctrica de todo tipo de vehículos industriales. Desde el año 1996 somos concesionario oficial de la Marca DAF, nombrados mejor taller de servicio en los años 2008 y 2018.\n\nAdemás ofrecemos a nuestros clientes, los servicios para plataformas SCHMITZ y GUILLEN, ejes SAF y BPW y sistemas WABCO y KNORR.\n\nDesde el año 2014 nos dedicamos a la venta de vehículos comerciales y PICK UP de marca ISUZU.",
  "Hora_actual": "2026-10-14 10:59:55.463",
  "Horario": "Lunes 08:30-13:00  y  15:00-19:00 Martes 08:30-13:00  y  15:00-19:00 Miércoles 08:30-13:00  y  15:00-19:00 Jueves 08:30-13:00  y  15:00-19:00 Viernes 08:30-13:00  y  15:00-19:00 Sábado 08:30-13:00 Domingo Cerrado ",
  "Información_y_servicio": "Taller mecánico y eléctrico para vehículo industrial.\nServicio oficial DAF - ISUZU - SCHMITZ - KRONE FLEET - KNORR - WABCO - SAF - HALDEX - IRIZAR SERVICE",
  "Nombre": " TALLERES PAMENDI, S.L. Lezo",
  "Página_URL": "https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html",
  "Sitio_web": "http://www.tallerespamendi.com?utm_campaign=paginasamarillas&utm_source=paginasamarillas&utm_medium=referral",
  "Teléfono": "943624193",
  "Ubicación": "ARAÑABURU Kalea, 4 C, 20180, Lezo (GIPUZKOA)"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "paginas-amarillas-detalles-scraper",
  "taskName": "Yellow Pages Spain Scraper(Product Details)",
  "parameters": "{\"uRL\":[\"https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html\",\"https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html\",\"https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"uRL\":[\"https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html\",\"https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html\",\"https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "paginas-amarillas-detalles-scraper",
        "taskName": "Yellow Pages Spain Scraper(Product Details)",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "paginas-amarillas-detalles-scraper",
  "taskName": "Yellow Pages Spain Scraper(Product Details)",
  "parameters": "{\"uRL\":[\"https://www.paginasamarillas.es/f/lezo/talleres-pamendi-s-l-_021561410_000000003.html\",\"https://www.paginasamarillas.es/f/l-alfas-del-pi/escuela-infantil-peces-de-colores_197675721_000000001.html\",\"https://www.paginasamarillas.es/f/mas-rampinyo/condis_195319892_000000004.html\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `paginas-amarillas-detalles-scraper`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/paginas-amarillas-detalles-scraper.json)
- [Manifest](https://www.octoparse.com/templates/paginas-amarillas-detalles-scraper-manifest.json)
