companystring必填
Brand name or Trustpilot review-page URL to fetch reviews for (e.g. nike or https://www.trustpilot.com/review/nike.com).
https://api.sandbase.ai/v1/api/trustpilot/company-reviewsPull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
您的输出将显示在这里
完成输入,然后点击运行。
Pull Trustpilot reviews for any company by brand name: star ratings, review text, dates, and reviewer details as clean JSON.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "trustpilot/company-reviews", "limit": 3, "company": "stripe.com"}'
The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.
| Name | Type | Required | Description |
|---|---|---|---|
company | string | Yes | Brand name or Trustpilot review-page URL to fetch reviews for (e.g. nike or https://www.trustpilot.com/review/nike.com). |
countries | array | No | Only return reviews from reviewers in these ISO 3166-1 alpha-2 countries (e.g. ["US", "GB"]). Omit this field for all countries and to stay on the cheapest price; a country filter routes to the dearest source. |
languages | array | No | Only return reviews in these ISO 639-1 languages (e.g. ["en", "de"]). Omit this field for all languages and to stay on the cheapest price; a language filter routes to the dearest source. |
limit | integer | No | Maximum number of results to return (1-200, default 200). Trustpilot serves at most 200 reviews per company. |
sortBy | string | No | Review ordering: auto, relevancy, or recent (e.g. recent). One of: auto, relevancy, recent. |
stars | string | No | Limit reviews to a single star rating from 1 to 5 (e.g. 5). |
startDate | string | No | Only return reviews on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01). Omit this field to stay on the cheapest price; a date floor routes to the dearest source. |
verifiedOnly | boolean | No | Set true to return only verified reviews (e.g. true). Omit this field, or send false, to stay on the cheapest price; true routes to a dearer source. |
Billed at the actual cost of each call, about $0.0008 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/trustpilot/company-reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 3,
"sortBy": "auto",
"company": "stripe.com",
"verifiedOnly": false
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
companystring必填Brand name or Trustpilot review-page URL to fetch reviews for (e.g. nike or https://www.trustpilot.com/review/nike.com).
limitintegerMaximum number of results to return (1-200, default 200). Trustpilot serves at most 200 reviews per company.
默认值:200
starsstringLimit reviews to a single star rating from 1 to 5 (e.g. 5).
sortBystringReview ordering: auto, relevancy, or recent (e.g. recent).
默认值:"auto"
可选值:auto, relevancy, recent
countriesarrayOnly return reviews from reviewers in these ISO 3166-1 alpha-2 countries (e.g. ["US", "GB"]). Omit this field for all countries and to stay on the cheapest price; a country filter routes to the dearest source.
languagesarrayOnly return reviews in these ISO 639-1 languages (e.g. ["en", "de"]). Omit this field for all languages and to stay on the cheapest price; a language filter routes to the dearest source.
startDatestringOnly return reviews on or after this date, inclusive, in YYYY-MM-DD format (e.g. 2026-01-01). Omit this field to stay on the cheapest price; a date floor routes to the dearest source.
verifiedOnlybooleanSet true to return only verified reviews (e.g. true). Omit this field, or send false, to stay on the cheapest price; true routes to a dearer source.
默认值:false
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Trustpilot | 每次调用从 $0.0008 起 | JSON |
Trustpilot | $0.01 每次调用 | 异步 JSON |
Trustpilot | $0.01 每次调用 | 异步 JSON |
Trustpilot | $0.03 每次调用 | 异步 JSON |
Trustpilot | $0.05 每次调用 | 异步 JSON |
Trustpilot | $0.03 每次调用 | 异步 JSON |
指南:Best Review API in 2026: G2 and Trustpilot Pricing Compared
问题
向 https://api.sandbase.ai/v1/api/trustpilot/company-reviews 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
起价每次调用 $0.0008,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:company (string)。 可选:limit (integer), stars (string), sortBy(auto, relevancy, recent 之一), countries (array), languages (array) 和 startDate (string) 以及另外 1 项。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。
不需要。Trustpilot Company Reviews 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Trustpilot API 访问权限。