The G2 product info endpoint reads a G2 product reviews page. It returns the product identity, the aggregate rating, the pricing plans, the category, the alternatives, the screenshots, and the reviews shown on that page.
GET https://api.piloterr.com/v2/g2/product/info?query=postman
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Product slug or a www.g2.com product URL |
nps_score |
number |
no |
Keep one star rating, from 1 to 5 |
return_page_source |
boolean |
no |
Return the rendered HTML instead of the parsed product |
| Field |
Type |
Description |
product_name |
string |
Product name |
rating |
number |
Aggregate rating |
reviews_count |
number |
Total review count |
pricing_plans |
array |
Plans with name, price, and price_display |
star_distribution |
object |
Percentage of reviews per star |
reviews |
array |
Reviews rendered on the page |
star_distribution stores the percentages printed on the page, not review counts. price is null when the plan is labeled Free.
- Compare a product from its G2 rating, reviews, and alternatives
- Collect the pricing plans shown for a product