# Search Mafengwo tours by theme across China

**Use case:** 

Search the whole catalogue by a Chinese term such as 温泉 (hot springs), returning matching products from every city rather than one.

## Input

```json
{
  "destinations": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10065.html",
  "keywords": "温泉\n滑雪",
  "productTypes": [],
  "maxProducts": 100,
  "maxDestinations": 5
}
```

## Output

```json
{
  "productId": {
    "label": "Product ID",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "productType": {
    "label": "Product type",
    "format": "text"
  },
  "productTypeId": {
    "label": "Product type code",
    "format": "number"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "priceText": {
    "label": "Price text",
    "format": "text"
  },
  "priceIsFrom": {
    "label": "From price",
    "format": "boolean"
  },
  "soldCount": {
    "label": "Sold",
    "format": "number"
  },
  "soldText": {
    "label": "Sold text",
    "format": "text"
  },
  "soldMonthCount": {
    "label": "Sold this month",
    "format": "number"
  },
  "primarySoldCount": {
    "label": "Secondary sales count",
    "format": "number"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "reviewCountText": {
    "label": "Reviews text",
    "format": "text"
  },
  "topReview": {
    "label": "Quoted review",
    "format": "text"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "favoriteCount": {
    "label": "Saves",
    "format": "number"
  },
  "sellerId": {
    "label": "Seller ID",
    "format": "text"
  },
  "sellerName": {
    "label": "Seller",
    "format": "text"
  },
  "sellerType": {
    "label": "Seller type",
    "format": "number"
  },
  "highlights": {
    "label": "Highlights",
    "format": "array"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "discounts": {
    "label": "Discount labels",
    "format": "array"
  },
  "discountText": {
    "label": "Discount",
    "format": "text"
  },
  "couponText": {
    "label": "Coupon",
    "format": "text"
  },
  "bookingType": {
    "label": "Booking code",
    "format": "number"
  },
  "bookingText": {
    "label": "Booking note",
    "format": "text"
  },
  "refundType": {
    "label": "Refund code",
    "format": "number"
  },
  "departureText": {
    "label": "Departure window",
    "format": "text"
  },
  "departureLabel": {
    "label": "Departure label",
    "format": "text"
  },
  "tripDays": {
    "label": "Days",
    "format": "number"
  },
  "tripNights": {
    "label": "Nights",
    "format": "number"
  },
  "destinationName": {
    "label": "Destination",
    "format": "text"
  },
  "destinationIds": {
    "label": "Destination hierarchy IDs",
    "format": "array"
  },
  "departureDestinationIds": {
    "label": "Departure hierarchy IDs",
    "format": "array"
  },
  "placeIds": {
    "label": "Place IDs",
    "format": "array"
  },
  "image": {
    "label": "Image",
    "format": "image"
  },
  "url": {
    "label": "Product URL",
    "format": "link"
  },
  "hasVideo": {
    "label": "Has video",
    "format": "boolean"
  },
  "isQuality": {
    "label": "Quality pick",
    "format": "boolean"
  },
  "isQualityGoods": {
    "label": "Quality goods",
    "format": "boolean"
  },
  "isRecommended": {
    "label": "Recommended",
    "format": "boolean"
  },
  "isInternational": {
    "label": "International",
    "format": "boolean"
  },
  "isGroupBooking": {
    "label": "Group booking",
    "format": "boolean"
  },
  "groupBookingStatus": {
    "label": "Group booking status",
    "format": "number"
  },
  "isOnSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "sourceDestinationId": {
    "label": "From destination",
    "format": "number"
  },
  "sourceKeyword": {
    "label": "From search term",
    "format": "text"
  },
  "additionalData": {
    "label": "Additional data",
    "format": "object"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [Mafengwo 马蜂窝 Tours & Tickets Scraper | Prices & Units Sold](https://apify.com/zen-studio/mafengwo-tours-tickets-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zen-studio/mafengwo-tours-tickets-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zen-studio/mafengwo-tours-tickets-scraper.md

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