Trustpilot API endpoint

Search Trustpilot business units

Returns normalized business-unit search results from Trustpilot's JSON business-unit search API.

GETapiKey3 credits/requesttrustpilot.businessSearchResponseDoc/trustpilot/business-units/search

Parameters

NameInTypeRequiredEnumExampleDescription
qquerystringYesopenaiSearch query
countryquerystringNoUSTwo-letter country code; defaults to US
pagequeryintegerNo11-based page number; defaults to 1
page_sizequeryintegerNo5Results per page; defaults to 20, maximum 100
x-api-keyheaderstringYesAPI key required

Authentication

Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.

Billing

Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.

Credit cost
3 credits/request
Charged response
Successful 2xx responses
PlanPriceIncluded creditsDaily capRate limitOverage
Free$0/mo2,000500 daily credits5/minNo overage
Starter$9/mo20,0005,000 daily credits15/min$0.75/1,000 overage credits when enabled
Growth$29/mo100,00025,000 daily credits45/min$0.45/1,000 overage credits when enabled
Pro$79/mo400,000No daily cap120/min$0.30/1,000 overage credits
Business$199/mo1,200,000No daily cap300/min$0.20/1,000 overage credits
Enterprise$499/mo5,000,000No daily cap1,000/min$0.12/1,000 overage credits

Failure responses

StatusDescriptionSchema
400Missing or invalid query parameters#/definitions/app.Response
404No results found#/definitions/app.Response
429Rate limit exceeded#/definitions/app.Response
500Internal server error#/definitions/app.Response
502Trustpilot upstream request failed#/definitions/app.Response

Example response

{
  "code": 200,
  "msg": "OK",
  "data": {
    "query": "openai",
    "country": "US",
    "page": 1,
    "page_size": 5,
    "items": []
  }
}

Request schema

No body schema

Response schema

#/definitions/trustpilot.businessSearchResponseDoc

FieldTypeRequiredEnumBoundsExampleDescription
codeintegerNo200
datatrustpilot.SearchResponseNo
data.countrystringNoUS
data.itemsarrayNo
data.items[].addresstrustpilot.SearchAddressNo
data.items[].address.approximate_areatrustpilot.SearchAreaBoundsNo
data.items[].address.approximate_area.north_westtrustpilot.SearchCoordinatesNo
data.items[].address.approximate_area.north_west.latnumberNo39.7837304
data.items[].address.approximate_area.north_west.lonnumberNo-100.445882
data.items[].address.approximate_area.south_easttrustpilot.SearchCoordinatesNo
data.items[].address.approximate_area.south_east.latnumberNo39.7837304
data.items[].address.approximate_area.south_east.lonnumberNo-100.445882
data.items[].address.citystringNoSan Francisco
data.items[].address.coordinatestrustpilot.SearchCoordinatesNo
data.items[].address.coordinates.latnumberNo39.7837304
data.items[].address.coordinates.lonnumberNo-100.445882
data.items[].address.countrystringNoUnited States
data.items[].address.country_codestringNoUS
data.items[].address.postcodestringNo94105
data.items[].address.streetstringNo1 Market St
data.items[].business_unit_idstringNo630f21bc9f08b0302a52590d
data.items[].categoriesarrayNo
data.items[].categories[].idstringNosoftware_company
data.items[].categories[].namestringNoSoftware Company
data.items[].categories[].primarybooleanNotrue
data.items[].country_codestringNoFR
data.items[].display_namestringNoOpenAI
data.items[].emailstringNo[email protected]
data.items[].identifying_namestringNoopenai.com
data.items[].logo_urlstringNohttps://s3-eu-west-1.amazonaws.com/tpd/logos/example/0x0.png
data.items[].phonestringNo+1-555-555-5555
data.items[].predicted_top_categorytrustpilot.SearchCategoryNo
data.items[].predicted_top_category.idstringNosoftware_company
data.items[].predicted_top_category.namestringNoSoftware Company
data.items[].predicted_top_category.primarybooleanNotrue
data.items[].review_countintegerNo984
data.items[].starsnumberNo1.5
data.items[].trust_scorenumberNo1.3
data.items[].trustpilot_urlstringNohttps://www.trustpilot.com/review/openai.com
data.items[].verifiedbooleanNofalse
data.items[].website_urlstringNohttps://openai.com
data.pageintegerNo1
data.page_sizeintegerNo5
data.querystringNoopenai
data.search_modestringNokeyword
data.total_hitsintegerNo147
data.total_pagesintegerNo30
msgstringNoOK

Example request

curl -X GET "https://api.crawlora.net/api/v1/trustpilot/business-units/search?q=openai&country=US&page=1&page_size=5" -H "x-api-key: <api-key>"

TypeScript fetch

const url = new URL("https://api.crawlora.net/api/v1/trustpilot/business-units/search");
url.searchParams.set("q", "openai");
url.searchParams.set("country", "US");
url.searchParams.set("page", "1");
url.searchParams.set("page_size", "5");
const headers = new Headers();
headers.set("x-api-key", "<api-key>");
const response = await fetch(url, {
  method: "GET",
  headers,
});
const payload = await response.json();