Product by slug
5 credits/v1/g2/productOne G2 software product. Name, rating, review count, categories, seller, plans, features, alternatives. Advanced tier (5 credits).
id or url
Fetch G2 software products, written reviews, categories, and seller profiles as structured JSON with one SocialCrawl API key. Shared commerce schema. Reads are priced in credits.
7 active endpoints. 1 and 5 credit tiers.
Seven live read endpoints for the G2 software catalog. Product pages, written reviews, category browse, the category taxonomy, seller profiles, seller portfolios, and a paged product URL index. Data API only.
/v1/g2/productOne G2 software product. Name, rating, review count, categories, seller, plans, features, alternatives. Advanced tier (5 credits).
id or url
/v1/g2/reviewsWritten G2 reviews for a product slug. Star rating, text, reviewer context. 10 per page. Advanced tier (5 credits).
id or url, page, sort, stars, segment
/v1/g2/categorySoftware products in a G2 category. Name, slug, rating, seller. 15 per page. Advanced tier (5 credits).
category, page, sort
/v1/g2/categoriesFull G2 category URL dump. Feed a slug into category. Standard tier (1 credit).
(none)
/v1/g2/sellerOne G2 vendor. Name, rating, headquarters, founded year, website, and a portfolio page. Advanced tier (5 credits).
id, url, or handle
/v1/g2/seller/productsA G2 seller product portfolio. Name, slug, rating, description. 9 per page. Advanced tier (5 credits).
id or url, page
/v1/g2/product-indexPaged G2 product review URLs, 100 per call, each with the product slug. Advanced tier (5 credits).
page
Returns one G2 software product by slug or URL: name, description, rating, review count, categories, seller, pricing plans, features, and alternatives.
Use it when you have a G2 slug or product URL and need the full product page, including rating and pricing, before paging reviews.
5 credits
$ curl https://www.socialcrawl.dev/v1/g2/product?id=postman \
-H "x-api-key: sc_YOUR_API_KEY"// No example response recorded for this endpoint yet. The endpoint docs cover the response shape and every fieldG2 is a normal SocialCrawl commerce surface. You call GET /v1/g2/… with an API key, spend credits on live misses, and get a single JSON envelope back.
Send your key in the x-api-key header. No G2 partner app for public reads. The same key works across SocialCrawl platforms.
All G2 routes are GET. Pass id, url, category, page, sort as query strings. We validate formats before charging.
The category taxonomy dump costs 1 credit. Product, reviews, category listings, seller, seller products, and the product index cost 5 credits. Cache hits cost 0. Empty or hard failures refund.
Every response is the same shape: success, data, credits_used, credits_remaining, request_id, cached. Lists also carry pagination when the route pages.
Most products start from the category taxonomy or a known slug, then deepen only the products that matter.
GET /v1/g2/categoriesCategory URL plus slug rows
Resolve a category before listing products in it.
GET /v1/g2/category?category=…ProductList cards with slugs and ratings
Pick candidates before spending on full product detail.
GET /v1/g2/product?id=…Full Product for one slug
Category cards are not a full listing record.
GET /v1/g2/reviews?id=…ReviewList for the same slug
Written review text lives on reviews, not product.
GET /v1/g2/product?id=postman
Host: www.socialcrawl.dev
x-api-key: sc_your_api_key_here
GET /v1/g2/reviews?id=postman&sort=most-recent
GET /v1/g2/categories{
"success": true,
"data": {
"product": {
"id": "postman",
"title": "Postman",
"rating": { "average": 4.6, "count": 1800 },
"url": "https://www.g2.com/products/postman/reviews"
}
},
"credits_used": 5,
"credits_remaining": 9995,
"request_id": "req_…",
"cached": false
}Field names match other SocialCrawl commerce platforms. Parse once, reuse across G2, Amazon, and Trustpilot.
id (slug), title, rating, review count, categories, seller, plans, features, url
items[] with author, content.text, rating, published_at; cursor when more remains
category and seller/products cards with slug, title, rating, seller
categories and product-index rows: url, id (slug), plus an honest total
Same request lifecycle as every other /v1 platform endpoint. G2 is not a sidecar.
Next.js catch-all routes into the Hono social API. We mint a request_id, authenticate the key, then enforce rate limit (600/min) and concurrency (50 in flight per key).
Registry lookup finds g2/product (or reviews, category, seller). Required params and format checks run first. Invalid input returns 400 with no charge. Valid calls debit the tier cost atomically before upstream work.
A deterministic cache key is built from platform plus resource plus params. Hit: return immediately, credits_used = 0. Miss: live public catalog read. Retries on 5xx/network with a circuit breaker if the source is unhealthy.
Upstream JSON is mapped to commerce archetypes (Product, ProductList, ReviewList, Author, Analytics), validated against the canonical Zod schema, then wrapped in the success envelope and logged for billing audit.
Billing rules that matter in production
G2 is public software-catalog data. We normalize it into the SocialCrawl commerce schema so your code does not learn a second review-site SDK.
Public software product pages, written reviews, category browse, vendor profiles, and a product URL index. Read-only. No vendor-dashboard or ranking-submit access.
Product, reviews, category, seller, and index routes are read live from public G2 pages. One SocialCrawl key covers all of them.
A unified JSON envelope with Product, ProductList, ReviewList, Author, and Analytics archetypes shared across commerce platforms.
No vendor login, review submission, or paid-placement tools. No private G2 seller metrics.
The jobs this API is most often used for.
Software catalog research, review mining, and vendor mapping
Callers start from a slug, a category, or the product URL index, then fan out to product and reviews. Product and reviews at a flat 5 credits, category taxonomy at 1, one key across SocialCrawl.
Product and taxonomy reads are typically a few seconds on live miss. Cold catalog queries can run longer.
Common ways teams put this data to work, and the stack each one tends to run.
categories then category, then product for shortlists of software slugs.
Pull reviews by slug for competing products. Advanced tier, cache friendly on repeats.
seller plus seller/products for a vendor portfolio, then product on the rows that matter.
The category dump is 1 credit. Product and reviews are 5. Cache hits are free.
curl "https://www.socialcrawl.dev/v1/g2/product?id=postman" \
-H "x-api-key: sc_your_api_key_here"curl "https://www.socialcrawl.dev/v1/g2/categories" \
-H "x-api-key: sc_your_api_key_here"Same key as the rest of the catalog
Every endpoint returns structured JSON in a unified envelope. Computed fields such as engagement rate and content category are included only where the endpoint supports them and the required source inputs are present.
Same G2 data, two very different paths. Auth, rate limits, schema, and cost, side by side.
| Feature | SocialCrawl | DIY G2 scraping |
|---|---|---|
| Authentication | One x-api-key, sign up and call | None, but you manage proxies and anti-bot evasion yourself |
| Setup | GET /v1/g2/product then /reviews with the same slug | Headless browser, proxy pool, HTML parsers, and retry logic to build |
| Response schema | Unified Product and ReviewList JSON shared with 64 other platforms | Raw HTML you parse. Selectors break when G2 redesigns |
| Pricing | 5 credits per product or review pull, 1 credit for the category dump; 100 free credits, no card | Proxy and compute costs plus ongoing engineering time |
| Data coverage | Product pages, written reviews, category taxonomy, seller portfolios, and a paged product URL index | Whatever your parser extracts before the markup changes |
| Maintenance | Upstream changes absorbed by SocialCrawl | You fix the scraper every time the page structure shifts |
Authentication
Setup
Response schema
Pricing
Data coverage
Maintenance
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usAsk AI about SocialCrawl