companystringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
companystringwajibBrand 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.
Default: 200
starsstringLimit reviews to a single star rating from 1 to 5 (e.g. 5).
sortBystringReview ordering: auto, relevancy, or recent (e.g. recent).
Default: "auto"
Nilai yang mungkin: 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.
Default: false
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Trustpilot Company ReviewsAPI ini Trustpilot | Dari $0.0008 per panggilan | JSON |
Trustpilot | $0.01 per panggilan | JSON Asinkron |
Trustpilot | $0.01 per panggilan | JSON Asinkron |
Trustpilot | $0.03 per panggilan | JSON Asinkron |
Trustpilot | $0.05 per panggilan | JSON Asinkron |
Trustpilot | $0.03 per panggilan | JSON Asinkron |
Panduan:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/trustpilot/company-reviews dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Mulai dari $0.0008 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: company (string). Opsional: limit (integer), stars (string), sortBy (salah satu dari auto, relevancy, recent), countries (array), languages (array) dan startDate (string) dan 1 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. Trustpilot Company Reviews berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Trustpilot secara terpisah.