接口说明

Trustpilot Post API 获取 Trustpilot 商家详情、评分及评论数据。

使用 Pangolinfo API Key 调用,返回结构化 JSON 数据。

请求URL

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

请求头

参数名参数值类型说明
Content-Typeapplication/jsonstring数据格式
AuthorizationBearer xxxstring认证凭证

采集最长约75秒,客户端超时建议设为90秒。

请求参数

参数必填类型说明
targetYesstringTrustpilot 商家页链接,也可直接传商家域名(如 roborock.com.au)或官网任意链接(如 https://www.roborock.com/en)
optionsNoobject仅处理下列开放参数;未列出的字段忽略,内部参数不可覆盖。

options 参数说明

参数必填类型说明
includeTopicsNoboolean是否返回商家热门提及(post 里的热门提及列表),默认 true,不需要时传 false 可以更快返回

仅处理本页列出的请求参数,其他字段忽略。分页游标原样传回,不编码、解码或转换格式。

附带评论限一页;需要继续获取评论时调用对应评论接口。

响应值

返回值类型说明
codeinteger状态码,0 表示成功
messagestring响应信息,成功时为 ok
pointCostnumber本次请求实际消耗的积点
dataobject返回数据,结构见下表
metaobject请求标识及耗时(毫秒)
billingobject计费条数、单价及规则版本

返回参数 data 说明

返回值类型说明
typestringType
可用值: [“post”]
postobject商家资料
commentsobject[]评论
paginationobject评论分页

data.post 字段说明

返回值类型说明
idstring | null商家 id (businessUnitId)
titlestring | null商家名
identifyingNamestring | null商家域名, 如 trustpilot.com
urlstring | nullTrustpilot 商家页
websiteUrlstring | null商家官网
websiteTitlestring | null官网标题
profileImageUrlstring | null商家 logo
customHeaderUrlstring | null商家页横幅图
trustScorenumber | nullTrustScore (1-5)
starsnumber | null星级 (0.5 一档)
numberOfReviewsnumber | null评论总数 (全部语言 / 星级)
numberOfReviewsLast12Monthsnumber | null近 12 个月评论数
commentsCountnumber | nulllanguages / stars 筛选下的评论数 (Trustpilot 不按 date / topics 重算)
ratingsobject | null星级分布
reviewLanguagesobject[]各语言评论数 (options.languages 可选值)
categoriesobject[]类目
breadcrumbany类目层级 (上游原样)
countryCodestring | null商家国家代码
contactInfoany联系方式: email / phone / address / city / country / zipCode (上游原样)
isClaimedboolean商家是否已认领主页
isClosedboolean是否已关闭
isTemporarilyClosedboolean是否暂停营业
isMergedboolean是否已合并到其他商家
isCollectingReviewsboolean是否在主动邀请评论
locationsCountnumber | null门店数
verificationany商家认证情况 (上游原样)
consumerAlertsany[]Trustpilot 对消费者的警示 (上游原样)
claimedAtobject | null认领时间
isUsingPaidFeaturesboolean是否使用付费功能
replyBehaviorany回复情况: averageDaysToReply / replyPercentage / 差评回复数 (上游原样)
topicsobject[]热门提及 (站点 Top mentions, 按热度排序); 商家级, 不随筛选变化

data.post.ratings 字段说明

返回值类型说明
totalnumber | null总数
onenumber | null1 星
twonumber | null2 星
threenumber | null3 星
fournumber | null4 星
fivenumber | null5 星

data.post.reviewLanguages[] 字段说明

返回值类型说明
isoCodestring | null语言代码
reviewCountnumber | null评论数
displayNamestring | null语言名

data.post.categories[] 字段说明

返回值类型说明
idstring | null类目 id
namestring | null类目名
isPrimaryboolean是否主类目

data.post.claimedAt 字段说明

返回值类型说明
textstring | null上游原始时间文本
valuenumber | null解析后的毫秒时间戳; 解析失败为 null

data.post.topics[] 字段说明

返回值类型说明
idstring提及 id, 传回 options.topics 筛评论
namestring | null显示名

data.comments[] 字段说明

返回值类型说明
idstring评论 id
urlstring评论链接
titlestring | null评论标题
contentstring | null评论正文
ratingnumber | null星级 (1-5)
likesnumber | null有用数
languagestring | null语言代码
sourcestring | null来源, 如 Organic / BannerRedirect
timeobject | null发布时间
experiencedAtobject | null消费日期
updatedAtobject | null修改时间; 没改过为 null
nicknamestring | null评论者显示名
avatarstring | null评论者头像
profileUrlstring | null评论者主页
posterobject评论者
verificationobject评论验证
locationany门店 (多门店商家); 没有为 null
productReviewsany[]商品评价 (上游原样)
consumersReviewCountOnSameDomainnumber | null评论者对该商家写过的评论数
merchantReplyobject | null商家回复; 没有为 null

data.comments[].time 字段说明

返回值类型说明
textstring | null上游原始时间文本
valuenumber | null解析后的毫秒时间戳; 解析失败为 null

data.comments[].experiencedAt 字段说明

返回值类型说明
textstring | null上游原始时间文本
valuenumber | null解析后的毫秒时间戳; 解析失败为 null

data.comments[].updatedAt 字段说明

返回值类型说明
textstring | null上游原始时间文本
valuenumber | null解析后的毫秒时间戳; 解析失败为 null

data.comments[].poster 字段说明

返回值类型说明
idstring | null评论者 id
countryCodestring | null评论者国家代码
reviewsCountnumber | null评论者写过的评论数
verifiedboolean评论者是否认证

data.comments[].verification 字段说明

返回值类型说明
isVerifiedboolean是否验证过的评论
levelstring | null验证级别, 如 invited / not-verified
sourcestring | null验证来源

data.comments[].merchantReply 字段说明

返回值类型说明
contentstring | null回复内容
timeobject | null回复时间
updatedAtobject | null回复修改时间

data.pagination 字段说明

返回值类型说明
commentsobjectComments

data.pagination.comments 字段说明

返回值类型说明
cursorstring | null下一页游标, 传回 options.cursor 续取; 到底 (或匿名 10 页上限) 为 null
hasMoreboolean是否还有更多

请求示例

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

返回示例

下例截取实际响应中的首条列表记录,长文本与链接作了缩写;pointCost 为该次完整响应的实际费用。完整字段结构可在在线调试页查看。

{
  "code": 0,
  "message": "ok",
  "pointCost": 0.8,
  "data": {
    "type": "post",
    "post": {
      "id": "46d6a890000064000500e0c3",
      "title": "Trustpilot",
      "identifyingName": "trustpilot.com",
      "url": "https://www.trustpilot.com/review/trustpilot.com",
      "websiteUrl": "https://www.trustpilot.com",
      "websiteTitle": "trustpilot.com",
      "profileImageUrl": "https://s3-eu-west-1.amazonaws.com/tpd/logos/46d6a890000064000500e0c3/0x0.png",
      "customHeaderUrl": "https://s3-eu-west-1.amazonaws.com/tpd/headers/46d6a890000064000500e0c3/0x0.png",
      "trustScore": 4.4,
      "stars": 4.5,
      "numberOfReviews": 565550,
      "numberOfReviewsLast12Months": 140326,
      "commentsCount": 538486,
      "ratings": {
        "total": 565550,
        "one": 72021,
        "two": 12997,
        "three": 19210,
        "four": 44093,
        "five": 417229
      },
      "reviewLanguages": [
        {
          "isoCode": "all",
          "reviewCount": 538486,
          "displayName": "all"
        }
      ],
      "categories": [
        {
          "id": "review_site",
          "name": "Review Site",
          "isPrimary": true
        }
      ],
      "breadcrumb": {
        "topLevelId": "shopping_fashion",
        "topLevelDisplayName": "Shopping & Fashion",
        "midLevelId": "malls_marketplaces",
        "midLevelDisplayName": "Malls & Marketplaces",
        "bottomLevelId": "review_site",
        "bottomLevelDisplayName": "Review Site"
      },
      "countryCode": "DK",
      "contactInfo": {
        "email": "https://help.trustpilot.com/s/contact-us",
        "address": "Pilestraede 58, 5th floor",
        "city": "Copenhagen K",
        "country": "DK",
        "phone": "",
        "zipCode": "1112"
      },
      "isClaimed": true,
      "isClosed": false,
      "isTemporarilyClosed": false,
      "isMerged": false,
      "isCollectingReviews": true,
      "locationsCount": 0,
      "verification": {
        "verifiedUserIdentity": true,
        "verifiedByGoogle": true,
        "verifiedPaymentMethod": true,
        "verifiedByPersona": false,
        "verificationDetails": null
      },
      "consumerAlerts": [],
      "claimedAt": {
        "text": "2014-06-19T14:52:35.000Z",
        "value": 1403189555000
      },
      "isUsingPaidFeatures": true,
      "replyBehavior": {
        "averageDaysToReply": 5.94,
        "lastReplyToNegativeReview": "2026-11-05 21:43:53 UTC",
        "negativeReviewsWithRepliesCount": 5796,
        "replyPercentage": 35.926362114919726,
        "totalNegativeReviewsCount": 16133
      },
      "topics": [
        {
          "id": "trustpilot",
          "name": "Trustpilot"
        }
      ]
    },
    "comments": [
      {
        "id": "6aed760cee9bc831d2d07c5a",
        "url": "https://www.trustpilot.com/reviews/6aed760cee9bc831d2d07c5a",
        "title": "Very helpful and it did help resolve…",
        "content": "Very helpful and it did help resolve the issue with the previous review, meaning BookRun did refund the money.. Thank you for helping the public and provide ...",
        "rating": 5,
        "likes": 0,
        "language": "en",
        "source": "BannerRedirect",
        "time": {
          "text": "2026-11-06T08:39:08.000Z",
          "value": 1793954348000
        },
        "experiencedAt": {
          "text": "2026-11-06T00:00:00.000Z",
          "value": 1793923200000
        },
        "updatedAt": null,
        "nickname": "Nan Li",
        "avatar": "https://user-images.trustpilot.com/6785e0c78fb275334e266551/73x73.png",
        "profileUrl": "https://www.trustpilot.com/users/6785e0c78fb275334e266551",
        "poster": {
          "id": "6785e0c78fb275334e266551",
          "countryCode": "US",
          "reviewsCount": 4,
          "verified": false
        },
        "verification": {
          "isVerified": true,
          "level": "invited",
          "source": "invitation"
        },
        "location": null,
        "productReviews": [],
        "consumersReviewCountOnSameDomain": 1,
        "merchantReply": null
      }
    ],
    "pagination": {
      "comments": {
        "cursor": "1.8",
        "hasMore": true
      }
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-trustpilot-post-1793954339034404100",
    "durationMs": 28210
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 1,
    "pointCost": 0.8
  }
}

积点消耗说明

每条帖子、视频或商家主体消耗 0.8 积点,附带评论、回复和作者资料免费。

空结果、失败响应不扣费。同一响应中相同 ID 只计一次,独立调用和续页分别计费。详见 社媒评论 API 计费说明。

在线调试