Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Trustpilot Search Companies

Tài liệu API
https://api.sandbase.ai/v1/api/trustpilot/search-companies

Search for companies by name or keyword. Returns basic company info including domain, trust score, star rating, and review count.

Giá
$0.03USD / lượt gọi
Phương thức
POST
Phản hồi
JSON bất đồng bộ
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Search keyword or company name
Page number Phạm vi: -9007199254740991 đến 9007199254740991.
Results per page (max 20) Phạm vi: -9007199254740991 đến 9007199254740991.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Trustpilot Search Companies

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.

Use cases

  • Find the Trustpilot ID and domain of a company before you pull its reviews.
  • Compare trust scores and review counts across companies in one industry, such as airlines.
  • Build a list of companies that match a keyword for reputation monitoring.
  • Check whether a brand has a Trustpilot profile and whether it is marked as verified.

Request

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.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword or company name
limitintegerNoResults per page (max 20)
pageintegerNoPage number

Example response

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"
}

Response fields

FieldMeaning
data.companies[].nameCompany name as shown on Trustpilot.
data.companies[].idTrustpilot ID of the company. It is a 24-character hex string.
data.companies[].domain / data.companies[].website_urlCompany website as a bare domain and as a full URL.
data.companies[].trust_scoreTrustpilot TrustScore of the company, for example 1.3.
data.companies[].starsStar rating of the company, for example 1.5.
data.companies[].review_countNumber of reviews the company has on Trustpilot.
data.companies[].categories[]Category labels attached to the company, such as Airline or Travel Agency.
data.companies[].verifiedBoolean flag that shows whether the company profile is verified.
data.companies[].location.country / data.companies[].location.countryCodeCountry name and country code in the location data. city, street, and postcode can be null.
data.total_hits / data.total_pagesTotal number of matching companies and the number of pages at the current page size.

Notes

Pricing

$0.03 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Trustpilot$0.03 mỗi lần gọiJSON bất đồng bộ
Trustpilot$0.01 mỗi lần gọiJSON bất đồng bộ
Trustpilot$0.01 mỗi lần gọiJSON bất đồng bộ
Trustpilot$0.03 mỗi lần gọiJSON bất đồng bộ
Trustpilot$0.05 mỗi lần gọiJSON bất đồng bộ
TrustpilotTừ $0.0008 mỗi lần gọiJSON

Hướng dẫn:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Trustpilot Search Companies?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/trustpilot/search-companies 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.

API Trustpilot Search Companies có giá bao nhiêu?

$0.03 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ý.

API Trustpilot Search Companies chấp nhận những tham số nào?

Bắt buộc: query (string). Tùy chọn: page (integer) và limit (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Trustpilot Search Companies trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Trustpilot không?

Không. Trustpilot Search Companies 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.