Dianping Restaurant Query for Openclaw

An automated tool for querying restaurant data, ratings, and pricing from Dianping via Openclaw Skills.

guogang1024
v1.0.0
Feb 4, 2026
1
3.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install dianping-query

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install dianping-query using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Dianping Restaurant Query?

The Dianping Query skill enables AI agents to browse and extract real-time restaurant information from Dianping, China's leading local life information and trading platform. It facilitates searching for specific restaurants, exploring regional cuisines, and gathering detailed metadata such as per-capita costs and user ratings.

By utilizing city-specific URLs and browser automation, it bypasses common account-based location locks to provide accurate local data. This skill is particularly useful for developers building travel, food, or lifestyle assistants within the Openclaw Skills ecosystem, allowing for structured data extraction from dynamic web pages.

Dianping Restaurant Query Use Cases

  • Retrieve detailed ratings and per-capita spending for specific restaurants.
  • Search for top-rated cuisines or restaurant recommendations in specific city districts like Hangzhou Binjiang.
  • Discover nearby food options based on targeted city IDs and keywords.
  • Extract restaurant addresses, operating hours, and signature dish recommendations for list building.

How Dianping Restaurant Query Works

  1. Accesses the Dianping city-specific homepage (e.g., Hangzhou or Shanghai) using browser automation tools.
  2. Verifies the login status of the designated account to ensure access to enhanced AI search results.
  3. Executes a keyword-based search or uses the specific AI search endpoint to generate restaurant listings.
  4. Monitors and manages browser tabs to capture results from the newly opened search result pages.
  5. Extracts structured data including restaurant names, star ratings, price points, and addresses from the search result cards.

Dianping Restaurant Query Setup

To integrate this with your Openclaw Skills setup, follow these steps:

  1. Ensure your environment has browser tool access enabled.
  2. Access the target city URL directly to avoid location mismatches:
# Example for Hangzhou
https://www.dianping.com/hangzhou
  1. Confirm login status for the account; if unauthenticated, manual intervention for SMS verification may be required.
  2. Use the following URL format for direct keyword searches:
https://www.dianping.com/ai-search?keyword=YOUR_KEYWORD

Dianping Restaurant Query Data Schema & Taxonomy

Field Description Format
Restaurant Name The display name of the venue String (Link element)
Rating Star-based user rating Number (e.g., 4.2)
Price Average per-capita consumption String (e.g., ¥37)
Location Physical address and district String
Metadata Highlights, recommended dishes, and review summaries Markdown List

Dianping Restaurant Query Advanced Features

  • Multi-city support via direct City ID URL parameter injection (City ID 1 for Shanghai, 2 for Beijing, 3 for Hangzhou).
  • Automated AI search result extraction via dedicated internal search endpoints.
  • Seamless bypass of account-level location restrictions using URL-based routing instead of UI toggles.
  • Intelligent scrolling support to ensure all lazy-loaded restaurant cards are captured during extraction.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*