Reviews
Trustpilot logo

Trustpilot API

trustpilot.com

Trustpilot — search companies, get company profiles with ratings, read customer reviews, and browse categories.

Actions
5
Category
Reviews
Login
Not required
Output
JSON

Call the Trustpilot API

Submit a task, then poll the job until it settles. This example runs tp_categories.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "tp_categories",
    "params": {}
  }'

5 actions on trustpilot.com

Read

  • Categories

    tp_categoriesread1 credit / call

    List all Trustpilot categories and subcategories. Use returned slugs to browse companies by category.

  • Category Companies

    tp_category_companiesread1 credit / call

    Browse companies in a Trustpilot category (20 per page). Use category slugs from tp_categories (e.g. 'bank', 'insurance', 'cryptocurrency_service').

    category
    string · required
    page
    integer
  • Company Details

    tp_company_detailsread1 credit / call

    Full company profile with aggregate rating, review count, address, website, description, and categories.

    domain
    string · required
  • Company Reviews

    tp_company_reviewsread1 credit / call

    Paginated customer reviews for a company (20 per page). Returns reviewer name, date, headline, full text, and rating (1-5).

    domain
    string · required
    page
    integer
  • Search Companies

    tp_search_companiesread1 credit / call

    Search for companies by name or keyword. Returns company name, domain, star rating, trust score, review count, location, and categories.

    query
    string · required
    page
    integer

Trustpilot API questions

Is there an API for Trustpilot?
Trustpilot does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for trustpilot.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Trustpilot data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when trustpilot.com changes its markup, Anakin updates the action.
Do I need a Trustpilot account?
No. Every Trustpilot action listed here runs anonymously — no account and no credentials required.
What does the Trustpilot API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.