G2 Software Reviews Api 标志

G2 Software Reviews Api

社区
scavio-ai
g2-software-reviews-api

用于 B2B SaaS 调研的 G2 软件评价 API:搜索产品,查看星级评分、评价数量和供应商;读取完整资料,包括定价版本、功能、集成和替代产品(不含评价正文);还可获取按星级精确统计的评价,以及按公司规模、职位、行业和地区筛选的数据。3 个端点,每个需 5 个额度。

概览

发布者scavio-ai
代码仓库skills
技能名称g2-software-reviews-api
星标数
67
复刻数
0
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 scavio-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 G2 Software Reviews Api AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/scavio-ai/skills/tree/main/skills/g2-software-reviews-api
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/g2-software-reviews-api .claude/skills/g2-software-reviews-api
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 G2 Software Reviews Api,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 G2 Software Reviews Api。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 G2 Software Reviews Api 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

G2 Software Reviews API - Product Search, Ratings, Reviews

Search G2, the B2B software review site, open any product's full profile with its pricing editions, features and alternatives, and pull reviews with exact per-star counts and company-size / role / industry / region facets. All three endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find B2B software products in a category on G2
  • Read a software product's G2 profile: rating histogram, pricing editions, features, integrations, alternatives
  • Mine G2 reviews for what enterprise buyers, admins or a specific region actually say
  • Compare a product against its listed alternatives and head-to-head comparisons
  • Do competitive intelligence, win/loss research, or voice-of-customer analysis on SaaS

Cost: 5 credits per call

G2 is 5 credits per request - the most expensive platform on Scavio, and the only one at this tier. There is no cheaper mode. Three calls is 15 credits.

Plan the run before making it, tell the user the credit cost up front, and never loop over search results calling /product on each one.

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Endpoints in this skill cost 1 credit each unless the table below says otherwise.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working. The smallest purchase is 2,500 credits for $25, and monthly plans work out cheaper per credit if the usage is steady rather than one-off.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All paths are under /api/v1/g2. Every endpoint costs 5 credits.

EndpointCreditsWhat it returns
POST /api/v1/g2/search5Ranked software products, each row carrying product_id and slug
POST /api/v1/g2/product5The full profile - but no review text
POST /api/v1/g2/reviews5Reviews plus exact per-star counts and faceted counts

Workflow

  1. Find the product: call /g2/search with query. Every row carries product_id and slug.
  2. Profile: call /g2/product with product_id (a slug like notion, or the numeric G2 id like 82623 as a string - both resolve).
  3. Reviews: call /g2/reviews with the same product_id.

/product carries no reviews at all. G2 loads review bodies in a separate frame, so the profile page simply does not contain them. If the user wants what customers said, you must call /reviews - there is no way to get it out of /product.

Conversely, /reviews carries things the profile has no form of: exact per-star counts, pros and cons with per-theme counts, and company-size / role / industry / region / category facets with counts. For a "how do enterprise buyers rate this" question, /reviews is the right call, not /product.

Every reference endpoint also accepts a full g2.com URL as url instead of an id.

Pagination

  • /search - page (1-based) with limit (1-100, default 20). The 100 ceiling is ours, to keep a single request inside the request deadline; G2 itself keeps paginating at any size.
  • /reviews - page, fixed at 10 per page, and it paginates well past the 10 pages G2's own widget links to.
  • /product does not paginate.

At 5 credits a page, a 10-page review pull is 50 credits. Say so before starting.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringone ofSearch term (1-200 chars)
urlstringone ofFull g2.com/search URL (1-1000 chars); the host is checked
pageinteger--1-based; page size follows limit
limitinteger201-100
sortstringrelevancerelevance, popular, alphabetical, rating
ratinginteger--1-5. Products at or above this star rating.

query or url is required.

Product (/product)

ParameterTypeDefaultDescription
product_idstringone ofSlug (notion) or numeric G2 id as a string (82623) - both resolve (1-200 chars)
urlstringone ofFull g2.com product URL

product_id or url is required.

Reviews (/reviews)

ParameterTypeDefaultDescription
product_idstringone ofSlug or numeric id as a string
urlstringone ofFull g2.com reviews URL
pageinteger--10 reviews per page, fixed
sortstringrelevancerelevance, newest, most_helpful, rating_high, rating_low
ratinginteger--1-5, half-star-inclusive: 1 returns 0, 0.5 and 1-star reviews
company_sizestring--small_business (<=50), mid_market (51-1000), enterprise (>1000)
rolestring--user, administrator, executive_sponsor, internal_consultant, consultant, agency, industry_analyst
regionstring--north_america, europe, asia, latin_america, anz, middle_east, africa
querystring--Full-text search within the reviews. Narrows the list and every facet count.

product_id or url is required.

Why every filter is a closed enum

Two upstream behaviours make free-text filters dangerous here, and both fail silently:

  • An unknown sort is silently accepted. order=zzznotasort answers 200 with a full result set in some unstated ordering. The sort never ran and nothing in the response says so.
  • An unknown filter value matches nothing. A bogus company-segment value returns "Reviews (0)", which reads exactly like "this product has no enterprise reviews".

So the enums above are the complete set. Do not pass a value outside them, and do not report a zero-result filtered call as a finding without re-checking it unfiltered.

Examples

python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1. Find products - 5 credits
found = requests.post(f"{BASE}/api/v1/g2/search", headers=HEADERS,
    json={"query": "project management", "limit": 100, "sort": "rating", "rating": 4}).json()

# 2. Full profile - 5 credits. Slug or numeric id, both as strings.
profile = requests.post(f"{BASE}/api/v1/g2/product", headers=HEADERS,
    json={"product_id": "notion"}).json()

# NOTE: profile contains NO review text. For that you must call /reviews.

# 3. What enterprise admins say - 5 credits, 10 reviews, plus every facet count
reviews = requests.post(f"{BASE}/api/v1/g2/reviews", headers=HEADERS,
    json={"product_id": "notion", "company_size": "enterprise",
          "role": "administrator", "sort": "newest", "page": 1}).json()

# 4. Search the review text itself - narrows the list AND the facet counts
mentions = requests.post(f"{BASE}/api/v1/g2/reviews", headers=HEADERS,
    json={"product_id": "notion", "query": "migration", "page": 1}).json()

Response shapes

Every response uses the envelope { data, response_time, credits_used, credits_remaining }.

  • search - star rating, review count, vendor, categories, seller description and logo, with product_id and slug on every row. total_results is G2's Products-tab headline and caps at 10000; total_by_type splits the query across products, sellers, categories and discussions.
  • product - rating and per-star histogram, review count, vendor, description and seller website, pricing editions with parsed amounts, feature groups, categories and breadcrumbs, supported languages, integrations, alternatives, head-to-head comparisons, media, community discussions, and G2's AI-derived pros and cons. No review text.
  • reviews - rating, title, likes and dislikes, problems solved, reviewer job title, industry and company size, validated and incentivized flags - plus exact per-star counts, pros and cons with per-theme counts, and company-size / role / industry / region / category facets with counts.

Guardrails

  • State the cost. Every call is 5 credits. Before a multi-page pull, tell the user the total you intend to spend.
  • Never loop /product over search results. Search already returns rating, review count, vendor and categories for every row.
  • Never say "the profile has no reviews so this product has none". /product structurally cannot carry review text - call /reviews before drawing any conclusion about customer sentiment.
  • total_results caps at 10000. Do not present it as an exact count of matching products.
  • rating on /reviews is half-star-inclusive: rating: 1 includes 0 and 0.5-star reviews. Do not describe it as "exactly one star".
  • Zero results from a filtered /reviews call is ambiguous - it may mean the filter matched nothing rather than the segment having no opinion. Re-check unfiltered before reporting it.
  • Never fabricate product names, ratings, review counts, pricing or review text. Only return API data.

Failure handling

  • 400 means an invalid or missing parameter - e.g. neither query/product_id nor url, or a value outside a closed enum. Fix and retry.
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 404 means the product does not resolve. Re-check the slug or id via /search.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means G2 served a bot wall or a hollow shell. This one is billed - the page was served even though it could not be used. Retries are deliberately conservative for exactly this reason: back off for several seconds and retry at most once or twice, then report the failure instead of burning credits.
  • 503 means upstream is temporarily unavailable - wait a few seconds and retry.
  • If SCAVIO_API_KEY is not set, prompt the user to export it before continuing.

Python SDK

langchain-scavio has no G2 tool - use the Scavio SDK directly:

bash
pip install scavio==0.15.0
python
from scavio import ScavioClient

client = ScavioClient()  # reads SCAVIO_API_KEY

found = client.g2.search(query="project management", limit=100, sort="rating", rating=4)
profile = client.g2.product(product_id="notion")          # no review text here
reviews = client.g2.reviews(product_id="notion", company_size="enterprise",
                            role="administrator", sort="newest", page=1)

JavaScript / TypeScript:

bash
npm install scavio@0.15.0
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const reviews = await scavio.g2.reviews({ product_id: "notion", company_size: "enterprise" });

常见问题

G2 Software Reviews Api AI 技能有什么作用?

用于 B2B SaaS 调研的 G2 软件评价 API:搜索产品,查看星级评分、评价数量和供应商;读取完整资料,包括定价版本、功能、集成和替代产品(不含评价正文);还可获取按星级精确统计的评价,以及按公司规模、职位、行业和地区筛选的数据。3 个端点,每个需 5 个额度。

为什么在 TypingMind 中使用 G2 Software Reviews Api?

因为您只需安装一次,就能搭配任何模型使用。G2 Software Reviews Api 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 G2 Software Reviews Api?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/scavio-ai/skills/tree/main/skills/g2-software-reviews-api。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 G2 Software Reviews Api?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

G2 Software Reviews Api 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 G2 Software Reviews Api 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

G2 Software Reviews Api AI 技能免费吗?

是的。scavio-ai 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇