{"id":"02e11b38-846f-4c7b-bbdf-6040681a670c","slug":"g2-com-api","name":"g2.com API","description":"g2.com API","front_facing_description":"Search G2.com to discover software products, compare pricing and categories, and read customer reviews all in one place. Get detailed product overviews and ratings to make informed decisions about business software.","source_url":"https://g2.com","is_authenticated":false,"canonical_scraper_id":"cd773381-055d-4f08-8800-b29ca4edaa55","apis":[{"method":"GET","endpoint_name":"search_software","description":"Full-text search over G2's software product catalog. Returns matching products with name, slug, rating, review count, and description. Brand-name queries (e.g. 'slack') return detailed results with descriptions; category-style queries (e.g. 'project management') return products listed in that category. Results are returned in a single page.","input_params":{"query":{"type":"string","required":true,"description":"Search keyword or query string (e.g. 'slack', 'hubspot', 'project management')","domain":{"kind":"open","generator":{"type":"static","value":"slack"}}}},"return_schema":{"type":"object","fields":{"total":"integer total number of products returned","products":"array of product objects with name, slug, rating, review_count, and description"},"sample":{"data":{"total":20,"products":[{"name":"Slack","slug":"slack","rating":4.5,"description":"Slack brings all your communication together in one place.","review_count":39089}]},"status":"success"}},"initiates_session":false,"price":2,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.products","op":"array_min_len","value":1},{"path":"$.data.total","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"GET","endpoint_name":"get_categories","description":"Retrieve the full list of software categories and subcategories available on G2. Returns all categories with name, slug, and URL. No pagination — the entire catalog is returned in one response.","input_params":{},"return_schema":{"type":"object","fields":{"count":"integer total number of categories","categories":"array of category objects with name, slug, and url"},"sample":{"data":{"count":2223,"categories":[{"url":"https://www.g2.com/categories/ai-agents/agent-evaluations","name":"AI Agents","slug":"ai-agents/agent-evaluations"},{"url":"https://www.g2.com/categories/pricing","name":"Pricing Software","slug":"pricing"}]},"status":"success"}},"initiates_session":false,"price":5,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.categories","op":"array_min_len","value":1},{"path":"$.data.count","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"GET","endpoint_name":"get_category_products","description":"List software products within a given G2 category. Returns products with name, slug, rating, and review count. Supports pagination via page number. Each page returns approximately 15 products.","input_params":{"page":{"type":"integer","required":false,"description":"Page number for pagination","default":1,"domain":{"kind":"open","generator":{"type":"static","value":1}}},"category_slug":{"type":"string","required":true,"description":"Category slug from get_categories results (e.g. 'crm', 'project-management')","domain":{"kind":"open","generator":{"type":"static","value":"crm"}}}},"return_schema":{"type":"object","fields":{"page":"integer current page number","category":"string the category slug queried","products":"array of product objects with name, slug, rating, and review_count"},"sample":{"data":{"page":1,"category":"crm","products":[{"name":"Agentforce Sales","slug":"agentforce-sales-formerly-salesforce-sales-cloud","rating":4.4,"review_count":25825}]},"status":"success"}},"initiates_session":false,"price":5,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.products","op":"array_min_len","value":1},{"path":"$.data.page","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"GET","endpoint_name":"get_product_overview","description":"Retrieve product overview information for a given product slug, including name, description, rating, review count, and logo URL. Uses search to locate the product and extract its details.","input_params":{"slug":{"type":"string","required":true,"description":"Product slug from search_software or get_category_products results (e.g. 'slack', 'hubspot-sales-hub')","domain":{"kind":"derived","generator":{"path":"$.data.products[0].slug","type":"derived","from_endpoint":"search_software"}}}},"return_schema":{"type":"object","fields":{"name":"string product name","slug":"string product slug","rating":"number average rating out of 5","logo_url":"string URL of the product logo image or null","vendor_id":"string vendor identifier or null","description":"string product description","review_count":"integer total number of reviews"},"sample":{"data":{"name":"Slack","slug":"slack","rating":4.5,"logo_url":"https://images.g2crowd.com/uploads/product/image/f6ee5c9dddbf5c28b136829c8782ed1b/slack.png","vendor_id":null,"description":"Slack brings all your communication together in one place.","review_count":39089},"status":"success"}},"initiates_session":false,"price":1,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.name","op":"not_null"},{"path":"$.data.slug","op":"not_null"}],"empty_is_valid":false,"recipe_version":1}},{"method":"GET","endpoint_name":"get_product_reviews","description":"Retrieve paginated user reviews for a given software product, 10 reviews per page, newest-first in G2's default order. Each review includes author, designation, segment, title, date (ISO YYYY-MM-DD), rating (0-5 on a half-star scale as displayed by G2), detailed feedback (likes, dislikes, problems_solved), and reviewer profile fields: industry (when shown), employee_count_range (extracted from segment), company_name, location, and linkedin_url (null when G2 does not expose them). Supports filtering by star rating via G2's own rating filter and pagination via page (omit for page 1). An unknown product slug returns an input_not_found error; a page past the last one returns an empty reviews array. Two site requests per call (the product's reviews page, then the reviews listing) plus a one-time session warmup.","input_params":{"page":{"type":"integer","required":false,"description":"Page number for pagination","default":1,"domain":{"kind":"open","generator":{"type":"static","value":1}}},"slug":{"type":"string","required":true,"description":"Product slug (e.g. 'slack', 'hubspot-sales-hub')","domain":{"kind":"derived","generator":{"path":"$.data.products[0].slug","type":"derived","from_endpoint":"search_software"}}},"star_rating":{"type":"integer","required":false,"description":"Filter by star rating (1-5) using G2's rating filter; reviews in the 1-star bucket display ratings between 0 and 1. Omit to return reviews of all ratings.","enum":"StarRating","closed":true,"domain":{"kind":"enum","values":[1,2,3,4,5],"generator":{"type":"enum_pick","strategy":"first"}}}},"return_schema":{"type":"object","fields":{"page":"integer current page number","reviews":"array of review objects with author, designation, segment, title, date, rating, likes, dislikes, problems_solved, company_name, industry, location, linkedin_url, and employee_count_range","product_slug":"string the product slug queried"},"sample":{"data":{"page":1,"reviews":[{"date":"2025-12-17","likes":"I find Slack's messaging or chat features useful. It's easy to send a message to someone from the company. The initial setup of Slack was very easy.","title":"Needs Better Usability for Non-Tech Users","author":"Jonnah M.","rating":0.5,"segment":null,"dislikes":"I don't like that it's hard to trace conversations, hard to look for people, hard to maneuver, and it is not user-friendly, especially for people who are not good with technology or apps or websites.","industry":null,"location":null,"designation":null,"company_name":null,"linkedin_url":null,"problems_solved":"I use Slack for company group chat and messaging.","employee_count_range":null}],"product_slug":"slack"},"status":"success"}},"initiates_session":false,"price":5,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.reviews","op":"not_null"},{"path":"$.data.product_slug","op":"not_null"}],"empty_is_valid":true,"recipe_version":1}},{"method":"GET","endpoint_name":"get_product_pricing","description":"Retrieve pricing plans and features for a software product. Returns plan name, price, billing period, description, and feature list. Not all products have pricing information available.","input_params":{"slug":{"type":"string","required":true,"description":"Product slug (e.g. 'slack', 'hubspot-sales-hub')","domain":{"kind":"derived","generator":{"path":"$.data.products[0].slug","type":"derived","from_endpoint":"search_software"}}}},"return_schema":{"type":"object","fields":{"plans":"array of plan objects with name, price, period, description, and features","product_slug":"string the product slug queried"},"sample":{"data":{"plans":[{"name":"Free","price":"$0.00","period":"","features":["Searchable message archives","10 apps or service integrations"],"description":"For teams wanting to try out Slack"}],"product_slug":"slack"},"status":"success"}},"initiates_session":false,"price":2,"verification":{"assertions":[{"path":"$.status","op":"equals","value":"success"},{"path":"$.data.plans","op":"not_null"},{"path":"$.data.product_slug","op":"not_null"}],"empty_is_valid":true,"recipe_version":1}}],"sample_inputs":{"get_categories":{},"search_software":{"query":"slack"},"get_product_pricing":{"slug":"slack"},"get_product_reviews":{"page":"1","slug":"slack","star_rating":"1"},"get_product_overview":{"slug":"slack"},"get_category_products":{"page":"1","category_slug":"crm"}},"prefill_inputs":{"search_software":{"query":"slack"},"get_category_products":{"page":"1","category_slug":"crm"},"get_product_reviews":{"page":"1","star_rating":"1"}},"last_verified_at":"2026-11-01T04:43:21.477278+00:00","endpoint_health":[{"endpoint_name":"get_category_products","status":"healthy","last_checked_at":"2026-11-01T04:04:53.020251+00:00","last_verified_at":"2026-11-01T04:04:53.020251+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"healthy"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"healthy"}]},{"endpoint_name":"get_product_pricing","status":"healthy","last_checked_at":"2026-11-01T04:04:53.020251+00:00","last_verified_at":"2026-11-01T04:04:53.020251+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"blocked"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"healthy"}]},{"endpoint_name":"get_product_overview","status":"healthy","last_checked_at":"2026-11-01T04:42:09.834631+00:00","last_verified_at":"2026-11-01T04:42:09.834631+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"healthy"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"healthy"}]},{"endpoint_name":"search_software","status":"healthy","last_checked_at":"2026-11-01T04:43:21.477278+00:00","last_verified_at":"2026-11-01T04:43:21.477278+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"healthy"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"healthy"}]},{"endpoint_name":"get_product_reviews","status":"healthy","last_checked_at":"2026-11-01T04:04:53.020251+00:00","last_verified_at":"2026-11-01T04:04:53.020251+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"healthy"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"blocked"}]},{"endpoint_name":"get_categories","status":"healthy","last_checked_at":"2026-11-01T04:04:53.020251+00:00","last_verified_at":"2026-11-01T04:04:53.020251+00:00","recent_runs":[{"at":"2026-11-01T04:04:53.020251+00:00","status":"healthy"},{"at":"2026-10-31T23:04:25.224267+00:00","status":"healthy"},{"at":"2026-10-31T21:01:52.988554+00:00","status":"healthy"},{"at":"2026-10-31T05:05:52.918989+00:00","status":"healthy"},{"at":"2026-10-31T03:02:25.226598+00:00","status":"healthy"}]}],"sdk_usage_example":{"code":"\"\"\"Walkthrough: G2 Software Reviews SDK — search, drill into details, reviews, and pricing.\"\"\"\nfrom parse_apis.G2_Software_Reviews_API import G2, StarRating, InputNotFound\n\nclient = G2()\n\n# Search for products by keyword — limit caps total items fetched.\nfor product in client.products.search(query=\"project management\", limit=5):\n    print(product.name, product.rating, product.review_count)\n\n# Drill into a single search hit for full details and sub-resources.\nhit = client.products.search(query=\"slack\", limit=1).first()\nif hit:\n    print(hit.name, hit.description[:80], hit.rating)\n\n    # Browse reviews for this product, filtered to 5-star ratings.\n    for review in hit.reviews.list(star_rating=StarRating._5, limit=3):\n        print(review.author, review.title, review.rating)\n\n    # Browse pricing plans for this product.\n    for plan in hit.pricing.list(limit=5):\n        print(plan.name, plan.price, plan.period)\n\n# Browse categories and list products in one.\ncategory = client.categories.list(limit=1).first()\nif category:\n    summary = category.products(limit=1).first()\n    if summary:\n        # Navigate from a category summary to full product details.\n        full = summary.details()\n        print(full.name, full.description[:60], full.logo_url)\n\n# Typed error handling: catch InputNotFound on a lookup with an invalid slug.\ntry:\n    client.products.get(slug=\"nonexistent-xyz-99999\")\nexcept InputNotFound as exc:\n    print(f\"Product not found: {exc}\")\n\nprint(\"exercised: products.search / products.get / reviews.list / pricing.list / categories.list / category.products / summary.details\")\n","endpoints":["search_software","get_categories","get_category_products","get_product_overview","get_product_reviews","get_product_pricing"],"has_session":false,"shape":"parse_sdk","hover_map":[{"line":7,"col":4,"len":7,"label":"product: Product","kind":"variable"},{"line":11,"col":0,"len":3,"label":"hit: Product","kind":"variable"},{"line":12,"col":3,"len":3,"label":"hit: Product","kind":"variable"},{"line":4,"col":9,"len":2,"label":"G2 — API client","kind":"class"},{"line":7,"col":31,"len":6,"label":"search() → List[Product]","kind":"method"},{"line":26,"col":4,"len":7,"label":"summary: ProductSummary","kind":"variable"},{"line":27,"col":7,"len":7,"label":"summary: ProductSummary","kind":"variable"},{"line":35,"col":7,"len":13,"label":"InputNotFound — error: A requested resource was not found","kind":"error"},{"line":8,"col":18,"len":4,"label":"name: str","kind":"field"},{"line":8,"col":32,"len":6,"label":"rating: Optional[float]","kind":"field"},{"line":8,"col":48,"len":12,"label":"review_count: int","kind":"field"},{"line":13,"col":14,"len":4,"label":"name: str","kind":"field"},{"line":13,"col":46,"len":6,"label":"rating: Optional[float]","kind":"field"},{"line":29,"col":8,"len":4,"label":"full: Product","kind":"variable"},{"line":8,"col":10,"len":7,"label":"product: Product","kind":"variable"},{"line":8,"col":24,"len":7,"label":"product: Product","kind":"variable"},{"line":8,"col":40,"len":7,"label":"product: Product","kind":"variable"},{"line":11,"col":22,"len":6,"label":"search() → List[Product]","kind":"method"},{"line":13,"col":10,"len":3,"label":"hit: Product","kind":"variable"},{"line":13,"col":24,"len":11,"label":"description: str","kind":"field"},{"line":13,"col":42,"len":3,"label":"hit: Product","kind":"variable"},{"line":16,"col":58,"len":2,"label":"StarRating._5","kind":"enum-member"},{"line":29,"col":23,"len":7,"label":"details() → Product","kind":"method"},{"line":30,"col":19,"len":4,"label":"name: str","kind":"field"},{"line":30,"col":53,"len":8,"label":"logo_url: Optional[url]","kind":"field"},{"line":13,"col":20,"len":3,"label":"hit: Product","kind":"variable"},{"line":16,"col":18,"len":3,"label":"hit: Product","kind":"variable"},{"line":16,"col":47,"len":10,"label":"StarRating — enum: _1, _2, _3, _4, _5","kind":"enum"},{"line":20,"col":16,"len":3,"label":"hit: Product","kind":"variable"},{"line":26,"col":23,"len":8,"label":"products() → List[ProductSummary]","kind":"method"},{"line":29,"col":15,"len":7,"label":"summary: ProductSummary","kind":"variable"},{"line":30,"col":14,"len":4,"label":"full: Product","kind":"variable"},{"line":30,"col":30,"len":11,"label":"description: str","kind":"field"},{"line":30,"col":48,"len":4,"label":"full: Product","kind":"variable"},{"line":30,"col":25,"len":4,"label":"full: Product","kind":"variable"},{"line":36,"col":32,"len":3,"label":"exc: InputNotFound","kind":"variable"}]},"sdk_delivery_state":"available","summary":"Search and retrieve software product information, reviews, pricing, and categories from G2.com","updated_at":"2026-10-17T08:43:10.502844+00:00","user_variants":[],"latest_version":14,"user_status":null,"user_scraper_id":null,"contributes_to_marketplace":true,"pinned_version":null,"seo_content":{"faqs":[{"a":"G2 offers a partner API documented at https://data.g2.com, but access is gated behind an enterprise partnership agreement and is not self-serve. This Parse API provides open, structured access to the same product, review, and pricing data without requiring a G2 partner agreement.","q":"Does G2 have an official public developer API?"},{"a":"Each review object includes `author`, `designation`, `segment`, `title`, `date`, `rating`, `likes`, `dislikes`, and `problems_solved`. The `segment` field reflects the company-size tier the reviewer belongs to. You can filter reviews by `star_rating` (1–5), but there is no direct parameter to filter by `segment`. You can apply that filter client-side on the returned array.","q":"What does `get_product_reviews` return, and can I filter by reviewer company size?"},{"a":"The `get_product_reviews` response currently includes `author`, `designation`, `segment`, `rating`, and structured feedback text, but does not expose G2's reviewer verification badges or LinkedIn-linked profile data. You can fork this API on Parse and revise it to add the missing fields if that data is present in the source response.","q":"Is verified-purchase or source-badge data included in reviews?"},{"a":"The API returns the current `rating` and `review_count` snapshot for each product via `get_product_overview` and `search_software`. Historical rating timeseries are not currently exposed. You can fork the API on Parse and revise it to add a time-series endpoint if that level of tracking is needed.","q":"Does the API return historical rating trends or only current aggregate ratings?"},{"a":"Pass an integer `page` parameter to `get_category_products` alongside a required `category_slug`. Each page returns approximately 15 product objects with `name`, `slug`, `rating`, and `review_count`. The response includes the current `page` number but does not include a total product count or total page count for the category, so you will need to paginate until an empty or undersized result is returned.","q":"How does pagination work in `get_category_products`?"}],"keywords":["G2 software reviews API","G2.com product ratings API","software comparison data API","B2B software review scraping","G2 pricing plans API","software category listings API","G2 review sentiment analysis","SaaS product review data","G2 competitor analysis API","software vendor data API","G2 product overview endpoint","business software review feed","G2 category taxonomy API"],"use_cases":["Build a software comparison tool using `rating`, `review_count`, and `description` fields from `search_software`","Aggregate user sentiment by extracting `likes`, `dislikes`, and `problems_solved` fields from `get_product_reviews`","Populate a vendor database with product slugs and `vendor_id` values from `get_product_overview`","Track pricing tier structures across competitors using `get_product_pricing` plan objects","Map the G2 software taxonomy by pulling the full category list via `get_categories`","Filter low-rated reviews using the `star_rating` parameter in `get_product_reviews` to surface recurring complaints","Enumerate products in a niche vertical by paginating through `get_category_products` with a specific `category_slug`"],"meta_title":"G2.com API – Software Reviews & Ratings","generated_at":"2026-06-11T08:50:14.187841+00:00","lead_paragraph":"The G2.com API exposes 6 endpoints covering software product discovery, category browsing, user reviews, and pricing data sourced from G2's catalog of thousands of products. Use `search_software` to find products by name or keyword, `get_product_reviews` to pull paginated review text with author, rating, and structured feedback fields, or `get_product_pricing` to retrieve plan-level pricing details for any product slug.","schema_version":2,"meta_description":"Access G2.com software products, user reviews, pricing plans, and categories via API. Search by name, browse by category, and retrieve paginated reviews.","primary_category":"reviews_ratings","long_description_md":"## Product Search and Category Browsing\n\nThe `search_software` endpoint accepts a `query` string and returns an array of product objects, each containing `name`, `slug`, `rating`, `review_count`, and `description`. Brand-name queries like `slack` return richer descriptions; category-style queries like `project management` return a broader product list. To browse by taxonomy, `get_categories` returns the full G2 category tree in a single response — every category includes a `name`, `slug`, and `url`. Pass any category `slug` to `get_category_products` to list products within that category, with pagination supported via a `page` integer parameter; each page returns approximately 15 products.\n\n## Product Details and Pricing\n\nThe `get_product_overview` endpoint takes a product `slug` (obtained from search or category results) and returns `name`, `description`, `rating` out of 5, `review_count`, `logo_url`, and `vendor_id`. Pricing is available through `get_product_pricing`, which returns an array of plan objects — each with `name`, `price`, `period`, `description`, and a `features` list. Not all G2 products publish pricing information, so `plans` may be an empty array for some slugs.\n\n## Reviews\n\nThe `get_product_reviews` endpoint returns paginated reviews for a given `slug`. Each review object includes `author`, `designation`, `segment` (company size tier), `title`, `date`, `rating`, `likes`, `dislikes`, and `problems_solved`. An optional `star_rating` parameter (1–5) filters reviews by score, making it straightforward to isolate negative or top-rated feedback for a given product.","generated_with_model":"global.anthropic.claude-sonnet-4-6","secondary_categories":["b2b_directory","ecommerce"]},"primary_category":"reviews_ratings","secondary_categories":["b2b_directory","ecommerce"],"access_requirements":[]}