/openrice/restaurants/reviews
curl --request POST \
--url https://api.anysite.io/api/openrice/restaurants/reviews \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"restaurant": "<string>",
"timeout": 300,
"region": "hongkong",
"lang": "en",
"occasion_id": 123,
"editor_pick": true,
"with_price": true,
"with_photo": true,
"tasting_event": true,
"english_only": true,
"sort": "most_relevant"
}
'import requests
url = "https://api.anysite.io/api/openrice/restaurants/reviews"
payload = {
"count": 2,
"restaurant": "<string>",
"timeout": 300,
"region": "hongkong",
"lang": "en",
"occasion_id": 123,
"editor_pick": True,
"with_price": True,
"with_photo": True,
"tasting_event": True,
"english_only": True,
"sort": "most_relevant"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
restaurant: '<string>',
timeout: 300,
region: 'hongkong',
lang: 'en',
occasion_id: 123,
editor_pick: true,
with_price: true,
with_photo: true,
tasting_event: true,
english_only: true,
sort: 'most_relevant'
})
};
fetch('https://api.anysite.io/api/openrice/restaurants/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/openrice/restaurants/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'restaurant' => '<string>',
'timeout' => 300,
'region' => 'hongkong',
'lang' => 'en',
'occasion_id' => 123,
'editor_pick' => true,
'with_price' => true,
'with_photo' => true,
'tasting_event' => true,
'english_only' => true,
'sort' => 'most_relevant'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/openrice/restaurants/reviews"
payload := strings.NewReader("{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/openrice/restaurants/reviews")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/openrice/restaurants/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"@type": "OpenriceReview",
"url": "<string>",
"restaurant_id": 123,
"restaurant_name": "<string>",
"restaurant_url": "<string>",
"review_title": "<string>",
"text": "<string>",
"rating": 123,
"smile": "<string>",
"rating_taste": 123,
"rating_decor": 123,
"rating_service": 123,
"rating_hygiene": 123,
"rating_value": 123,
"price": 123,
"meal_time_id": 123,
"occasion_id": 123,
"occasion_name": "<string>",
"dining_method_id": 123,
"wait_time": "<string>",
"recommended_dishes": [],
"blog_url": "<string>",
"language": "<string>",
"view_count": 123,
"like_count": 123,
"dislike_count": 123,
"recommend_count": 123,
"photo_count": 123,
"comment_count": 123,
"reply_count": 123,
"is_editor_choice": false,
"is_tasting_event": false,
"is_featured": false,
"visited_at": 123,
"submitted_at": 123,
"published_at": 123,
"last_comment_at": 123,
"photos": [],
"user": {
"id": 123,
"@type": "OpenriceUserBrief",
"sso_id": "<string>",
"url": "<string>",
"username": "<string>",
"bio": "<string>",
"image": "<string>",
"grade": 123,
"grade_name": "<string>",
"review_count": 123,
"follower_count": 123,
"following_count": 123,
"photo_count": 123,
"is_vip": false,
"is_vlogger": false
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/openrice
/openrice/restaurants/reviews
List OpenRice reviews for a restaurant: review text, overall rating and smile/ok/cry verdict, the five sub-ratings (taste, decor, service, hygiene, value), per-person spend, recommended dishes, waiting time, attached photos, engagement counters and the reviewer profile. Filter by verdict, meal occasion, special occasion, editor’s pick, presence of price or photos, tasting events and English-only reviews.
Price: 20 credits per 15 results
⚠️ Common errors: 412: Restaurant not found in this region
POST
/
api
/
openrice
/
restaurants
/
reviews
/openrice/restaurants/reviews
curl --request POST \
--url https://api.anysite.io/api/openrice/restaurants/reviews \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 2,
"restaurant": "<string>",
"timeout": 300,
"region": "hongkong",
"lang": "en",
"occasion_id": 123,
"editor_pick": true,
"with_price": true,
"with_photo": true,
"tasting_event": true,
"english_only": true,
"sort": "most_relevant"
}
'import requests
url = "https://api.anysite.io/api/openrice/restaurants/reviews"
payload = {
"count": 2,
"restaurant": "<string>",
"timeout": 300,
"region": "hongkong",
"lang": "en",
"occasion_id": 123,
"editor_pick": True,
"with_price": True,
"with_photo": True,
"tasting_event": True,
"english_only": True,
"sort": "most_relevant"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 2,
restaurant: '<string>',
timeout: 300,
region: 'hongkong',
lang: 'en',
occasion_id: 123,
editor_pick: true,
with_price: true,
with_photo: true,
tasting_event: true,
english_only: true,
sort: 'most_relevant'
})
};
fetch('https://api.anysite.io/api/openrice/restaurants/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/openrice/restaurants/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'count' => 2,
'restaurant' => '<string>',
'timeout' => 300,
'region' => 'hongkong',
'lang' => 'en',
'occasion_id' => 123,
'editor_pick' => true,
'with_price' => true,
'with_photo' => true,
'tasting_event' => true,
'english_only' => true,
'sort' => 'most_relevant'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/openrice/restaurants/reviews"
payload := strings.NewReader("{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/openrice/restaurants/reviews")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/openrice/restaurants/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 2,\n \"restaurant\": \"<string>\",\n \"timeout\": 300,\n \"region\": \"hongkong\",\n \"lang\": \"en\",\n \"occasion_id\": 123,\n \"editor_pick\": true,\n \"with_price\": true,\n \"with_photo\": true,\n \"tasting_event\": true,\n \"english_only\": true,\n \"sort\": \"most_relevant\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"@type": "OpenriceReview",
"url": "<string>",
"restaurant_id": 123,
"restaurant_name": "<string>",
"restaurant_url": "<string>",
"review_title": "<string>",
"text": "<string>",
"rating": 123,
"smile": "<string>",
"rating_taste": 123,
"rating_decor": 123,
"rating_service": 123,
"rating_hygiene": 123,
"rating_value": 123,
"price": 123,
"meal_time_id": 123,
"occasion_id": 123,
"occasion_name": "<string>",
"dining_method_id": 123,
"wait_time": "<string>",
"recommended_dishes": [],
"blog_url": "<string>",
"language": "<string>",
"view_count": 123,
"like_count": 123,
"dislike_count": 123,
"recommend_count": 123,
"photo_count": 123,
"comment_count": 123,
"reply_count": 123,
"is_editor_choice": false,
"is_tasting_event": false,
"is_featured": false,
"visited_at": 123,
"submitted_at": 123,
"published_at": 123,
"last_comment_at": 123,
"photos": [],
"user": {
"id": 123,
"@type": "OpenriceUserBrief",
"sso_id": "<string>",
"url": "<string>",
"username": "<string>",
"bio": "<string>",
"image": "<string>",
"grade": 123,
"grade_name": "<string>",
"review_count": 123,
"follower_count": 123,
"following_count": 123,
"photo_count": 123,
"is_vip": false,
"is_vlogger": false
}
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
x >= 1Minimum string length:
1Required range:
20 <= x <= 1500Available options:
hongkong, macau, shenzhen, guangzhou, zhuhai, dongguan, foshan, zhongshan, taipei, newtaipei-keelung, taoyuan, hsinchu-miaoli, taichung, changhua-nantou, yunlin-chiayi, tainan, kaohsiung-pingtung, eastern, tokyo-kanto, osaka-kobe, kyoto-kinki, nagoya-chubu, hokkaido, tohoku, hiroshima-chugoku, shikoku, fukuoka-kyushu, okinawa, bangkok, chonburi, phuket, prachuapkhirikhan, chiangmai, suratthani, nakhonratchasima, chiangrai, others, singapore, manila Available options:
en, tc, sc, tc-tw, ja, th, id Available options:
smile, ok, cry Available options:
breakfast, lunch, tea, dinner, supper, other Available options:
most_relevant, newest_published, oldest_published Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes