companystringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
companystringbắt buộcBrand 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.
Mặc định: 200
starsstringLimit reviews to a single star rating from 1 to 5 (e.g. 5).
sortBystringReview ordering: auto, relevancy, or recent (e.g. recent).
Mặc định: "auto"
Giá trị có thể dùng: 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.
Mặc định: false
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Trustpilot Company ReviewsAPI này Trustpilot | Từ $0.0008 mỗi lần gọi | JSON |
Trustpilot | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Trustpilot | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Trustpilot | $0.03 mỗi lần gọi | JSON bất đồng bộ |
Trustpilot | $0.05 mỗi lần gọi | JSON bất đồng bộ |
Trustpilot | $0.03 mỗi lần gọi | JSON bất đồng bộ |
Hướng dẫn:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/trustpilot/company-reviews với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
Từ $0.0008 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: company (string). Tùy chọn: limit (integer), stars (string), sortBy (một trong số auto, relevancy, recent), countries (array), languages (array) và startDate (string) và 1 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).
Không. Trustpilot Company Reviews chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Trustpilot.