Dianping API guide

dianping.com

Search Dianping for restaurants and shops by keyword and city, compare ratings and listed prices, and open individual shop details.

Actions and inputs

dianping search

Find restaurants and shops by keyword in a selected city.

Inputs Keyword, optional city name or ID, optional limit

dianping shop

Read the available details for a shop.

Inputs Shop ID or shop page URL

Shop reviews

Create

Post a review of a shop you visited when Dianping offers the review form.

Inputs Shop, rating, firsthand review text, and optional photos

Read

Read reviews on a shop page or find your own review in your account.

Inputs Shop page or your review entry

Update

Revise your own review where the edit control is available.

Inputs Your review and revised rating, text, or photos

Delete

Remove your own review where Dianping offers deletion.

Inputs Your review and deletion confirmation