# Yellow Pages Philippines Scraper

Scrape business information(name, address, phone number, etc) from Yellow Pages (Philippines) by keywords

- Template page: [https://www.octoparse.com/template/yellow-pages-philippines-scraper](https://www.octoparse.com/template/yellow-pages-philippines-scraper)
- Categories: Directories, Lead Generation
- 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 general web pages.

## Output

The current workflow extracts 16 fields, including `Keyword`, `Location`, `about`, `address`, `businessName`, `category`, `description`, `email`, `landline`, `mobile`, `rating`, `ratingCount`, `socialMedia`, `tradeName`, `verified`, `website`.

## 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 Keyword pair (up to 10 per run) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keyword pair (up to 10 per run)

Required. Enter a list of keyword pairs to search on YPPL. Constraints: minItems=1; maxItems=10; items.minLength=1; items.maxLength=5000.

## How to Use

### Data Collected

This template extracts business details from Yellow Pages Philippines search results. Collected fields include:  
`Keyword`, `Location`, `tradeName`, `businessName`, `verified`, `category`, `rating`, `ratingCount`, `description`, `address`, `landline`, `mobile`, `email`, `website`, `socialMedia`, `about`.

### Input

- **Keyword pair** (Required) – Enter up to 10 keyword pairs per run. Each pair represents a search query on [Yellow Pages Philippines](https://www.yellow-pages.ph/).

### How to Use

1. Open the template in Octoparse and click **Try it!**.
2. Fill in the **Keyword pair** field (max 10 entries).
3. Choose a local or cloud run and start the task.
4. After completion, export the data. Each row includes the originating keyword.

### Tips

- Start with a small, focused keyword pair to verify the output before scaling.
- Always include the `Keyword` field in your export to trace each row back to its search term.

### Pricing

This template is **free** – no per-line usage fee. Standard Octoparse plan or resource limits may still apply.

## Notes

Please enter the keyword pair in "keyword;location" format to ensure the smooth running of this template If the template doesn't work well, feel free to report it to us with the parameters you test We also provide managed template/crawler customization services. If you're interested, please contact template@octoparse.com with your project details

## 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 Scraper](https://www.octoparse.com/template/yellow-page-scraper)
- [Yellow Pages Canada Scraper (Business Listing)](https://www.octoparse.com/template/yellow-pages-canada-scraper-product-listing)
- [Yellow Pages Listing Scraper (Australia)](https://www.octoparse.com/template/yellow-pages-australia-scraper-product-listing)
- [Yellow Pages Details Scraper (Australia)](https://www.octoparse.com/template/yellow-pages-australia-scraper-product-details)

## Input Schema

```json
{
  "title": "Yellow Pages Philippines Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keyword_pair": {
      "title": "Keyword pair (up to 10 per run)",
      "description": "Enter a list of keyword pairs to search on YPPL.",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keyword_pair"
  ]
}
```

## Input JSON Example

No verified real input/output examples are currently available.


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Keyword": {
      "type": "string",
      "description": ""
    },
    "Location": {
      "type": "string",
      "description": ""
    },
    "about": {
      "type": "string",
      "description": ""
    },
    "address": {
      "type": "string",
      "description": ""
    },
    "businessName": {
      "type": "string",
      "description": ""
    },
    "category": {
      "type": "string",
      "description": ""
    },
    "description": {
      "type": "string",
      "description": ""
    },
    "email": {
      "type": "string",
      "description": ""
    },
    "landline": {
      "type": "string",
      "description": ""
    },
    "mobile": {
      "type": "string",
      "description": ""
    },
    "rating": {
      "type": "string",
      "description": ""
    },
    "ratingCount": {
      "type": "string",
      "description": ""
    },
    "socialMedia": {
      "type": "string",
      "description": ""
    },
    "tradeName": {
      "type": "string",
      "description": ""
    },
    "verified": {
      "type": "string",
      "description": ""
    },
    "website": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Yellow Pages Philippines Scraper 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

No verified real input/output examples are currently available.

## 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`.

No verified real input/output examples are currently available.

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `yellow-pages-philippines-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/yellow-pages-philippines-scraper.json)
- [Manifest](https://www.octoparse.com/templates/yellow-pages-philippines-scraper-manifest.json)
