Go To Top

Consumer Profile API

Gets a list of consumer profiles

POST
Authentication: API Key
https://api.trustpilot.com/v1/consumers/profile/bulk
Parameters
No parameters required
Request
{
  "consumerIds": [
    "507f191e810c19729de860ea"
  ]
}
Response
{
  "notFoundConsumerIds": [
    "507f191e810c19729de860ea"
  ],
  "consumers": {}
}

Gets the profile information of the consumer. NOTE: birthYear and createdAt result values are obsolete.

GET
Authentication: API Key
https://api.trustpilot.com/v1/consumers/{consumerId}/profile
Parameters
consumerId, Required String
Id of the consumer
Example: …/v1/consumers/507f191e810c19729de860ea/profile

Response
{
  "city": "Copenhagen",
  "about": "I'm a Trustpilot user",
  "displayName": "Jane Doe",
  "locale": "da-DK",
  "country": "DK",
  "profileImage": {
    "image35x35": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image64x64": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image73x73": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image24x24": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    }
  },
  "birthYear": 0,
  "gender": "Female",
  "id": "507f191e810c19729de860ea",
  "createdAt": "2013-09-07T13:37:00",
  "hasImage": true
}

Gets the profile information of the consumer along with the number of reviews

GET
Authentication: API Key
https://api.trustpilot.com/v1/consumers/{consumerId}
Parameters
consumerId, Required String
Id of the consumer
Example: …/v1/consumers/507f191e810c19729de860ea

Response
{
  "city": "Copenhagen",
  "about": "I'm a Trustpilot user",
  "displayName": "Jane Doe",
  "links": [
    {
      "href": null,
      "method": null,
      "rel": null
    }
  ],
  "locale": "da-DK",
  "country": "DK",
  "profileImage": {
    "image35x35": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image64x64": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image73x73": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    },
    "image24x24": {
      "url": "<Url for the image>",
      "width": "<Image width>",
      "height": "<Image height>"
    }
  },
  "birthYear": 0,
  "numberOfReviews": 1337,
  "gender": "Female",
  "id": "507f191e810c19729de860ea",
  "createdAt": "2013-09-07T13:37:00",
  "hasImage": true
}

Gets the consumer's web profile links(web and api)

GET
Authentication: API Key
https://api.trustpilot.com/v1/consumers/{consumerId}/web-links
Parameters
locale, Required String
The locale to use when generating web links.
Example: ?locale=en-US

consumerId, Required String
Id of the consumer
Example: …/v1/consumers/507f191e810c19729de860ea/web-links

Response
{
  "locale": "en-US",
  "profileUrl": "https://www.trustpilot.com/users/89724662348762929907",
  "links": [
    {
      "href": null,
      "method": null,
      "rel": null
    }
  ]
}