querystringwajib
Search keyword or company name
https://api.sandbase.ai/v1/api/trustpilot/search-companiesSearch for companies by name or keyword. Returns basic company info including domain, trust score, star rating, and review count.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns Trustpilot companies that match a search keyword or company name. Each result includes the company domain, categories, trust score, star rating, review count, and a location object. The only required input is query.
curl -X POST "https://api.sandbase.ai/v1/api/trustpilot/search-companies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "airline"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword or company name |
limit | integer | No | Results per page (max 20) |
page | integer | No | Page number |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"companies": [
{
"categories": [
"Airline"
],
"domain": "www.lufthansa.com",
"id": "46d421dd000064000500ba73",
"location": {
"approximateArea": [
[
-180
]
],
"city": null,
"coordinates": {
"lat": 39.7837304,
"lon": -100.445882
},
"country": "United States",
"countryCode": "US",
"postcode": null,
"street": null
},
"name": "Lufthansa",
"review_count": 15266,
"stars": 1.5,
"trust_score": 1.3,
"verified": false,
"website_url": "https://www.lufthansa.com"
}
],
"total_hits": 2811,
"total_pages": 141
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.companies[].name | Company name as shown on Trustpilot. |
data.companies[].id | Trustpilot ID of the company. It is a 24-character hex string. |
data.companies[].domain / data.companies[].website_url | Company website as a bare domain and as a full URL. |
data.companies[].trust_score | Trustpilot TrustScore of the company, for example 1.3. |
data.companies[].stars | Star rating of the company, for example 1.5. |
data.companies[].review_count | Number of reviews the company has on Trustpilot. |
data.companies[].categories[] | Category labels attached to the company, such as Airline or Travel Agency. |
data.companies[].verified | Boolean flag that shows whether the company profile is verified. |
data.companies[].location.country / data.companies[].location.countryCode | Country name and country code in the location data. city, street, and postcode can be null. |
data.total_hits / data.total_pages | Total number of matching companies and the number of pages at the current page size. |
page and limit to move through results. limit has a maximum of 20.domain or id to the next call. Trustpilot Company Overview gives more detail on one company.$0.03 per successful call. Failed calls are not charged.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/trustpilot/search-companies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "airline"
}'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.
querystringwajibSearch keyword or company name
pageintegerPage number
limitintegerResults per page (max 20)
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 Search CompaniesAPI ini Trustpilot | $0.03 per panggilan | JSON Asinkron |
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 | Dari $0.0008 per panggilan | JSON |
Panduan:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/trustpilot/search-companies 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.
$0.03 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: query (string). Opsional: page (integer) dan limit (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Hasil JSON. Endpoint ini berjalan secara asinkron, jadi responsnya memberi tahu cara mengambil hasil yang sudah selesai. README di halaman ini menyertakan contoh respons.
Tidak. Trustpilot Search Companies 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.