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
Your ScrapeUnblocker API key. Apply on every request.
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.
'reviews' (default): a product's reviews. 'search': search G2's product catalog for query.
Keyword to search G2 products for (mode=search), e.g. 'crm'.
1-based page to start from: 10 reviews per page, at most 10 (G2's limit per sort/filter view); with mode=search 20 products per page, at most 20. Use the nextPage of a previous response to continue.
How many reviews to collect across pages (1-100, default 10). With mode=search, how many products (1-100, default 20) - search answers whole pages of 20, so it can return a few more. Each page fetched is one billed unit.
Review order: g2_default, most_recent, most_helpful, highest_rated, lowest_rated. Default: G2's own ranking.
Only reviews with this star rating (1-5).
Only reviews whose answers mention this keyword.
Also fetch the product page for its vendor, description, website and languages (one more billed unit).
Exit-IP country (ISO-2). Leave blank for the exit chosen for the domain.
Response
JSON with product, a reviews array, totals and nextPage (or results with mode=search).

