Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Trustpilot Search Companies

Dokumentacja 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.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
Search keyword or company name
Page number Zakres: od -9007199254740991 do 9007199254740991.
Results per page (max 20) Zakres: od -9007199254740991 do 9007199254740991.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Trustpilot$0.03 za wywołanieAsynchroniczny JSON
Trustpilot$0.01 za wywołanieAsynchroniczny JSON
Trustpilot$0.01 za wywołanieAsynchroniczny JSON
Trustpilot$0.03 za wywołanieAsynchroniczny JSON
Trustpilot$0.05 za wywołanieAsynchroniczny JSON
TrustpilotOd $0.0008 za wywołanieJSON

Przewodniki:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Pytania

FAQ

Jak używać API Trustpilot Search Companies?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/trustpilot/search-companies z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Trustpilot Search Companies?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Trustpilot Search Companies?

Wymagane: query (string). Opcjonalne: page (integer) i limit (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Trustpilot Search Companies?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Trustpilot lub klucza API?

Nie. Trustpilot Search Companies działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Trustpilot.