querystringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
querystringobbligatorioSearch keyword or company name
pageintegerPage number
limitintegerResults per page (max 20)
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Trustpilot Search CompaniesQuesta API Trustpilot | $0.03 per chiamata | JSON asincrono |
Trustpilot | $0.01 per chiamata | JSON asincrono |
Trustpilot | $0.01 per chiamata | JSON asincrono |
Trustpilot | $0.03 per chiamata | JSON asincrono |
Trustpilot | $0.05 per chiamata | JSON asincrono |
Trustpilot | Da $0.0008 per chiamata | JSON |
Guide:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/trustpilot/search-companies con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.03 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: query (string). Facoltativi: page (integer) e limit (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Un risultato JSON. Questo endpoint viene eseguito in modo asincrono, quindi la risposta indica come recuperare il risultato completato. Il README di questa pagina include una risposta di esempio.
No. Trustpilot Search Companies funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Trustpilot.