curl --request POST \
--url https://api.scrapeunblocker.com/reviews/g2 \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/reviews/g2"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/reviews/g2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape G2 software reviews
Given a G2 product (slug like slack, or a g2.com product URL), returns the product summary (name, rating, reviewCount, starDistribution, categories, aiSummary, pros, cons, segments) and its reviews: title, rating, date, reviewer (job title, industry, company size), likeBest, dislike, problemsSolved, the full answers, badges (validatedReviewer, currentUser, incentivized, source) and vendorResponse. Pages through G2’s review pages up to max_results (10 per page, at most 10 pages per view); pick the view with sort, stars and search. details=true adds the vendor, description, website and languages. mode=search&query= searches G2’s product catalog. Billed one unit per page fetched (pagesFetched).
curl --request POST \
--url https://api.scrapeunblocker.com/reviews/g2 \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/reviews/g2"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/reviews/g2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
G2 product slug, e.g. 'slack' or 'hubspot-sales-hub', or a g2.com product URL such as https://www.g2.com/products/slack/reviews. Required unless mode=search.
Response
JSON with product, a reviews array, totals and nextPage (or results with mode=search).

