Docs
Log in

API usage

Add &scraper=g2-product-reviews to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.g2.com/products/zoom/reviews' \
  --data-urlencode 'scraper=g2-product-reviews' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.g2.com/products/zoom/reviews',
    {'scraper': 'g2-product-reviews'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.g2.com/products/zoom/reviews',
  { scraper: 'g2-product-reviews' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.g2.com/products/zoom/reviews', scraper: 'g2-product-reviews')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.g2.com/products/zoom/reviews

Response shape

JSON response body. Field types may be null when the source page omits the value.

product_name
string
Product name.
product_logo_url
string
Product logo.
overall_rating
number
Average rating.
total_reviews
integer
Review count.
rating_distribution
object
Counts by star (5_star, 4_star, etc).
reviews
array
Individual reviews.
reviews[].title
string
Review title.
reviews[].rating
number
Star rating.
reviews[].body
string
Review body.
reviews[].pros
string | null
Pros section.
reviews[].cons
string | null
Cons section.
reviews[].reviewer_name
string
Reviewer name.
reviews[].reviewer_role
string | null
Job title.
reviews[].reviewer_company_size
string | null
Company size.
reviews[].review_date
string
Review date.

Sample response

{
  "product_name": "Zoom",
  "overall_rating": 4.5,
  "total_reviews": 52840,
  "reviews": [
    {
      "title": "Reliable for daily standups",
      "rating": 4.5,
      "reviewer_role": "Engineering Manager",
      "reviewer_company_size": "51-200 employees"
    }
  ]
}