querystring必須
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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
querystring必須Search keyword or company name
pageintegerPage number
limitintegerResults per page (max 20)
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Trustpilot | $0.03 / 回 | 非同期 JSON |
Trustpilot | $0.01 / 回 | 非同期 JSON |
Trustpilot | $0.01 / 回 | 非同期 JSON |
Trustpilot | $0.03 / 回 | 非同期 JSON |
Trustpilot | $0.05 / 回 | 非同期 JSON |
Trustpilot | 1回あたり $0.0008 から | JSON |
ガイド:Best Review API in 2026: G2 and Trustpilot Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/trustpilot/search-companies に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.03、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: query (string)。 任意: page (integer) と limit (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。
いいえ。Trustpilot Search Companies は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Trustpilot の API アクセスを別途申請する必要はありません。