API Description

Trustpilot Search API — Search Trustpilot content by keyword and return matching results.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/trustpilot-search

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.
optionsNoobjectOptional collection settings, described below.

options Parameters

ParameterRequiredTypeDescription
maxPagesNointegerPages to collect. Default: 1; values above 5 are capped at 5. Must be a positive integer.
Default: 1
Minimum: 1
Maximum: 5
cursorNostring | nullContinuation cursor from the previous response. Pass the value unchanged.
semanticNobooleanEnable semantic search instead of keyword search. Default: false.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

One page by default, capped at five per request. Page counts must be positive integers; higher values are capped at five.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
businessesobject[]Businesses
countnumberNumber of result items.
querystringQuery
searchModestring | nullSearch mode
totalResultsnumber | nullTotal results
paginationobjectContinuation cursor and whether more results are available.

data.businesses[] Fields

FieldTypeDescription
idstring | nullRecord identifier.
namestring | nullName
identifyingNamestring | nullIdentifying name
urlstring | nullContent URL.
trustScorenumber | nullTrust score
starsnumber | nullFilter reviews by rating from 1 to 5.
reviewsCountnumber | nullReviews count
locationanyLocation
contactanyContact
categoriesobject[]Categories
isRecommendedInCategoriesbooleanIs recommended in categories
ranknumberRank

data.businesses[].categories[] Fields

FieldTypeDescription
idstring | nullRecord identifier.
namestring | nullName
isPrimarybooleanIs primary
isPredictedbooleanIs predicted

data.pagination Fields

FieldTypeDescription
cursorstring | nullContinuation cursor from the previous response. Pass the value unchanged.
hasMorebooleanWhether more results are available.

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/trustpilot-search \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "Roborock"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 4.0,
  "data": {
    "businesses": [
      {
        "id": "5c99e2af592c22000106c917",
        "name": "Roborock",
        "identifyingName": "roborock.com.au",
        "url": "https://www.trustpilot.com/review/roborock.com.au",
        "trustScore": 1.5,
        "stars": 1.5,
        "reviewsCount": 333,
        "location": {
          "address": null,
          "city": null,
          "zipCode": null,
          "country": null
        },
        "contact": {
          "website": "https://roborock.com.au",
          "email": null,
          "phone": null
        },
        "categories": [
          {
            "id": "electronics_store",
            "name": "Electronics Store",
            "isPrimary": false,
            "isPredicted": false
          }
        ],
        "isRecommendedInCategories": false,
        "rank": 1
      }
    ],
    "count": 5,
    "query": "Roborock",
    "searchMode": "keyword",
    "totalResults": 22,
    "pagination": {
      "cursor": "1.5",
      "hasMore": true
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-trustpilot-search-1793954372021021200",
    "durationMs": 3243
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 5,
    "pointCost": 4.0
  }
}

Points Usage

0.8 points per primary result.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it