Reviews and Ratings API
vtex · Company
Reviews & Ratings is a [VTEX IO native solution](https://developers.vtex.com/vtex-developer-docs/docs/vtex-reviews-and-ratings) that allows shoppers to submit reviews and ratings for products, as well as see them while navigating the store. ## Rating - [Get Product Rating](https://developers.vtex.com/vtex-rest-api/reference/getproductrating) ## Review - [Get Review by Review ID](https://developers.vtex.com/vtex-rest-api/reference/getreviewbyreviewid) - [Delete Review](https://deve
Authentication
Sample Requests
Retrieves a list of reviews.
Hover any highlighted part to learn what it does
| Accept | application/json |
| Content-Type | application/json |
curl -X GET "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews?to=3&from=0&status=true&order_by=%3Aasc&product_id=1&search_term=search_term" \ -H "Accept: application/json" \ -H "Content-Type: application/json"
import requests
params = {
"to": "3",
"from": "0",
"status": "true",
"order_by": ":asc",
"product_id": "1",
"search_term": "search_term"
}
headers = {
"Accept": "application/json",
"Content-Type": "application/json"
}
response = requests.get(
"https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews');
url.searchParams.set('to', '3');
url.searchParams.set('from', '0');
url.searchParams.set('status', 'true');
url.searchParams.set('order_by', ':asc');
url.searchParams.set('product_id', '1');
url.searchParams.set('search_term', 'search_term');
const response = await fetch(url, {
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews")
q := baseURL.Query()
q.Set("to", "3")
q.Set("from", "0")
q.Set("status", "true")
q.Set("order_by", ":asc")
q.Set("product_id", "1")
q.Set("search_term", "search_term")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews")
uri.query = URI.encode_www_form({
"to" => "3",
"from" => "0",
"status" => "true",
"order_by" => ":asc",
"product_id" => "1",
"search_term" => "search_term"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Accept"] = "application/json"
req["Content-Type"] = "application/json"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/reviews?" . http_build_query([
"to" => "3",
"from" => "0",
"status" => "true",
"order_by" => ":asc",
"product_id" => "1",
"search_term" => "search_term"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Accept: application/json",
"Content-Type: application/json"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieves the rating of a specific product.
Hover any highlighted part to learn what it does
| Accept | application/json |
| Content-Type | application/json |
curl -X GET "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"import requests
headers = {
"Accept": "application/json",
"Content-Type": "application/json"
}
response = requests.get(
"https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}';
const response = await fetch(url, {
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Accept"] = "application/json"
req["Content-Type"] = "application/json"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/rating/{productId}";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Accept: application/json",
"Content-Type: application/json"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Retrieves information of a product review by its ID.
Hover any highlighted part to learn what it does
| Accept | application/json |
| Content-Type | application/json |
curl -X GET "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"import requests
headers = {
"Accept": "application/json",
"Content-Type": "application/json"
}
response = requests.get(
"https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}';
const response = await fetch(url, {
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}"
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("Accept", "application/json")
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["Accept"] = "application/json"
req["Content-Type"] = "application/json"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/vtex.local/Reviews-and-Ratings-API/1.0/review/{reviewId}";
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"Accept: application/json",
"Content-Type: application/json"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Reviews and Ratings API?
Reviews and Ratings API is a Company API. Developers commonly use company APIs for:
- enriching CRM records with company firmographics
- building lead-generation and prospecting tools
- verifying business identity and registration details
- monitoring competitors and market intelligence
- powering B2B data enrichment pipelines
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Reviews and Ratings API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?