# IDOG&ICAT Pet Supplies Scraper

Template for extracting pet product information (title, price, URL, number of ratings, etc.) from IDOG&ICAT pet product shopping sites via keywords.

- Template page: [https://www.octoparse.com/template/idogandicat-pet-supplies-scraper](https://www.octoparse.com/template/idogandicat-pet-supplies-scraper)
- Categories: E-Commerce
- 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 search-results pages, detail pages.

## Output

The current workflow extracts 6 fields, including `キーワード`, `ページのURL`, `会員特別税込価格`, `価格`, `商品タイトル`, `画像のURL`.

## 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 keywords (up to 100 per run), Number of pages (1~100) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### keywords (up to 100 per run)

Required. マート シーツ おもちゃ

### Number of pages (1~100)

Optional.

## How to Use

# IDOG&ICAT Pet Supplies Scraper — Usage Guide

## What This Template Collects

Collects pet product listing data from [Idog](https://www.idog.jp/) by keyword search: title, price, special member price, page URL, image URL, and the keyword used.

**Pricing:** No per-line charge currently applies. Octoparse plan or resource limits may still apply.

## Input Parameters

- **keywords (up to 100 per run)** *(required)* — Enter one value per line.
- **Number of pages (1~100)** *(optional)* — Enter a number.

## How to Use

1. Open the template and select **Try it** or **Start**.
2. Fill in the input fields above.
3. Choose a **local** or **cloud** run.
4. Review the returned rows and export or process the structured data.

Scheduling and API access may require a paid Octoparse plan. For local scheduled runs, keep your computer and Octoparse open.

## Output Fields

The scraper returns these fields per record:

- `キーワード`
- `商品タイトル`
- `価格`
- `会員特別税込価格`
- `ページのURL`
- `画像のURL`

Example record:

```json
{
  "キーワード": "犬服",
  "商品タイトル": "【 カッパ 犬服 】iDog ストレッチレインジャケット IDOG EQUIPMENT アイドッグ メール便OK",
  "価格": "¥ 2,915 税込",
  "会員特別税込価格": "¥ 2,827",
  "ページのURL": "https://www.idog.jp/c/idog-dog-clothes/form/idog-dog-clothes-raincoat/13734-",
  "画像のURL": null
}
```

## Limitations

- Collects only the listing/search-result fields listed above. It does not add data that Idog does not display.
- `会員特別税込価格`, `ページのURL`, and `画像のURL` can be empty when the source page does not provide them.

## Tips

- Start with one or a few keywords and review the returned rows before scaling.
- Use specific valid keywords to reduce unrelated or duplicate records.
- When available, use a stable URL or identifier from the returned fields as a deduplication key.

## Notes

テンプレートをカスタマイズしたい場合、お気軽に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

- [Kojima Pet Supplies Details Scraper](https://www.octoparse.com/template/kojima-pet-supplies-details-scraper)
- [Peppy Pet Supplies Scraper](https://www.octoparse.com/template/peppy-pet-supplies-scraper)
- [Google Search Scraper](https://www.octoparse.com/template/google-search-scraper)
- [Google Maps Listings Scraper (by Keywords)](https://www.octoparse.com/template/google-maps-scraper-listing-page-by-keyword)
- [Google Maps Email Scraper & Extractor](https://www.octoparse.com/template/google-maps-contact-scraper)

## Input Schema

```json
{
  "title": "IDOG&ICAT Pet Supplies Scraper input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "keywords (up to 100 per run)",
      "description": "マート\nシーツ\nおもちゃ",
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-octoparse": {
        "apiEnabled": true
      }
    },
    "number_of_pages": {
      "title": "Number of pages (1~100)",
      "description": "",
      "type": "integer",
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "猫"
  ]
}
```

Example 2

```json
{
  "keywords": [
    "マート",
    "シーツ",
    "おもちゃ"
  ]
}
```

Example 3

```json
{
  "keywords": [
    "マート",
    "シーツ",
    "おもちゃ"
  ]
}
```

Example 4

```json
{
  "keywords": [
    "マート",
    "シーツ",
    "おもちゃ"
  ]
}
```

Example 5

```json
{
  "keywords": [
    "マート",
    "シーツ",
    "おもちゃ"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "キーワード": {
      "type": "string",
      "description": ""
    },
    "ページのURL": {
      "type": "string",
      "description": ""
    },
    "会員特別税込価格": {
      "type": "string",
      "description": ""
    },
    "価格": {
      "type": "string",
      "description": ""
    },
    "商品タイトル": {
      "type": "string",
      "description": ""
    },
    "画像のURL": {
      "type": "string",
      "description": ""
    }
  },
  "title": "IDOG&ICAT Pet Supplies 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

Example 1

```json
{
  "キーワード": "猫",
  "ページのURL": "https://www.idog.jp/c/icat-cat-toys/icat-cat-scratching-pad/14185",
  "会員特別税込価格": "\n        ¥\n        2,347\n      ",
  "価格": "\n        \n  \n    \n    \n      \n      \n        ¥\n        2,420\n      \n    \n    \n      税込\n    \n    \n  \n\n      ",
  "商品タイトル": "【 猫 爪とぎ 】iCat つめとぎ のはらとネコ",
  "画像のURL": "https://idogicat.itembox.cloud/product/003/000000000317/000000000317-01.jpg?size=m&w=NDAw&t=20210330140209"
}
```

Example 2

```json
{
  "キーワード": "マート",
  "ページのURL": "https://www.idog.jp/c/idog-dog-clothes/form/idog-dog-clothes-tops/16833-",
  "会員特別税込価格": "\n        ¥\n        2,880\n      ",
  "価格": "\n        \n  \n    \n    \n      \n      \n        ¥\n        2,970\n      \n    \n    \n      税込\n    \n    \n  \n\n      ",
  "商品タイトル": "【 犬 服 タンク 】IDOG EQUIPMENT テクニカルフリースタンク アイドッグ メール便OK",
  "画像のURL": "https://idogicat.itembox.cloud/product/030/000000003021/000000003021-01.jpg?size=m&w=NDAw&t=20260806175523"
}
```

Example 3

```json
{
  "キーワード": "シーツ",
  "ページのURL": "https://www.idog.jp/c/idog-dog-house/idog-dog-fabric-bed/17418",
  "会員特別税込価格": "\n        ¥\n        4,054\n      ",
  "価格": "\n        \n  \n    \n    \n      \n      \n        ¥\n        4,180\n      \n    \n    \n      税込\n    \n    \n  \n\n      ",
  "商品タイトル": "【 犬 猫 】IDOG&ICAT TOGHTEX マットレス専用 防水ワンタッチボックスシーツ アイドッグ",
  "画像のURL": "https://idogicat.itembox.cloud/product/032/000000003269/000000003269-01.jpg?size=m&w=NDAw&t=20240306094517"
}
```

Example 4

```json
{
  "キーワード": "マート",
  "ページのURL": "https://www.idog.jp/c/idog-dog-clothes/form/idog-dog-clothes-tops/16833-",
  "会員特別税込価格": "\n        ¥\n        2,970\n      ",
  "価格": "\n        \n  \n    \n    \n      \n      \n        ¥\n        2,970\n      \n    \n    \n      税込\n    \n    \n  \n\n      ",
  "商品タイトル": "【 犬 服 タンク 】IDOG EQUIPMENT テクニカルフリースタンク アイドッグ メール便OK",
  "画像のURL": "https://idogicat.itembox.cloud/product/030/000000003021/000000003021-01.jpg?size=m&w=NDAw&t=20260806175523"
}
```

Example 5

```json
{
  "キーワード": "マート",
  "ページのURL": "https://www.idog.jp/c/toiletries/idog-dog-rest-room/15940",
  "会員特別税込価格": "\n        ¥\n        5,335\n      ",
  "価格": "\n        \n  \n    \n    \n      \n      \n        ¥\n        5,500\n      \n    \n    \n      税込\n    \n    \n  \n\n      ",
  "商品タイトル": "【 犬 トイレ 】iDog HACK 愛犬のためのインテリアトイレ ΞLOUVER アイドッグ",
  "画像のURL": "https://idogicat.itembox.cloud/product/024/000000002481/000000002481-01.jpg?size=m&w=NDAw&t=20260402140744"
}
```

## 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": "idogandicat-pet-supplies-scraper",
  "taskName": "IDOG&ICAT Pet Supplies Scraper",
  "parameters": "{\"keywords\":[\"猫\"]}"
}
```

## Python Example

```python
import json
import requests

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

parameters = json.loads("{\"keywords\":[\"猫\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "idogandicat-pet-supplies-scraper",
        "taskName": "IDOG&ICAT Pet Supplies Scraper",
        "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": "idogandicat-pet-supplies-scraper",
  "taskName": "IDOG&ICAT Pet Supplies Scraper",
  "parameters": "{\"keywords\":[\"猫\"]}"
}
JSON
```

## MCP Setup

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