G2 Products
1 creditSearch and fetch product information from G2.
POST
/api/v1/tools/g2/productsParameters
productstring
Product slug, URL, or category URL. Exactly one of product, search, category, or vendor is required.
searchstring
Search term for products. Exactly one of product, search, category, or vendor is required.
categorystring
Category name to search. Exactly one of product, search, category, or vendor is required.
vendorstring
Vendor name to search. Exactly one of product, search, category, or vendor is required.
maxProductsnumber
Maximum products to return. Defaults to 10.
Response Schema
dataobject
G2 products result
productsobject[]
Array of product objects
countnumber
Number of products returned
metaobject
Request metadata
toolstring
Tool name (g2-products)
creditsUsednumber
Credits consumed (1)
requestIdstring
Unique request ID
Request
curl -X POST https://scraper.run/api/v1/tools/g2/products \-H "Authorization: Bearer sc_live_..." \-H "Content-Type: application/json" \-d '{"search": "project management","maxProducts": 5}'
Response Example
{"data": {"products": [{"name": "Slack","slug": "slack","description": "Slack is a collaboration hub that connects your work...","productUrl": "https://www.g2.com/products/slack/reviews","vendorName": "Salesforce","starRating": 4.5,"averageRating": "4.5","reviewCount": 12450,"categoryNames": ["Team Collaboration","Business Instant Messaging"]}],"count": 1},"meta": {"tool": "g2-products","creditsUsed": 1,"requestId": "req_abc123"}}