> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Trustpilot company

> Read a Trustpilot company page as JSON with the trustpilot-company parser. $1 per 1,000 calls. Send the page to scrape. Examples in cURL, TypeScript and Python.

Reads a Trustpilot company page, like trustpilot.com/review/stripe.com, and returns one product as JSON.

## Make a request

Send the page's URL to [scrape](https://docs.stophy.dev/api-reference/endpoint/scrape.md) with a `json` format that names the parser. Get an API key in the [Quickstart](https://docs.stophy.dev/quickstart).

```bash cURL theme={null}
curl -X POST https://api.stophy.dev/v1/scrape \
  -H "Authorization: Bearer $STOPHY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.trustpilot.com/review/stripe.com","formats":[{"type":"json","parser":"trustpilot-company"}]}'
```

```typescript TypeScript theme={null}
const response = await fetch("https://api.stophy.dev/v1/scrape", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://www.trustpilot.com/review/stripe.com",
    formats: [{ type: "json", parser: "trustpilot-company" }],
  }),
});
console.log(await response.json());
```

```python Python theme={null}
import os

import requests

response = requests.post(
    "https://api.stophy.dev/v1/scrape",
    headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
    json={
        "url": "https://www.trustpilot.com/review/stripe.com",
        "formats": [{"type": "json", "parser": "trustpilot-company"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `id`, `url`, `title`, `brand`, `description`, `price`, `originalPrice`, `rating`, `reviewCount`, `availability`, `images`, `categories` and `seller`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "id": "50489e6800006400051ae0d6",
      "url": "https://www.trustpilot.com/review/stripe.com",
      "title": "https://stripe.com/payments/checkout",
      "brand": null,
      "description": "Millions of businesses of all sizes-from startups to large enterprises-use Stripe’s software and APIs to accept…",
      "price": null,
      "originalPrice": null,
      "rating": 1.6,
      "reviewCount": 17568,
      "availability": null,
      "images": [
        "https://s3-eu-west-1.amazonaws.com/tpd/logos/50489e6800006400051ae0d6/0x0.png"
      ],
      "categories": [
        "Payment Service"
      ],
      "seller": null,
      "companyDomain": "stripe.com",
      "website": "https://stripe.com",
      "stars": 1.5,
      "addressStreet": "510 Townsend Street",
      "addressCity": "San Francisco",
      "addressPostalCode": "94103",
      "addressCountry": "United States",
      "ratingsOne": 9141,
      "ratingsTwo": 513,
      "ratingsThree": 468,
      "ratingsFour": 725,
      "ratingsFive": 6721,
      "isClaimed": true,
      "isClosed": false,
      "email": "https://support.stripe.com/contact",
      "phone": null,
      "negativeReviewsRepliedPercent": 100,
      "averageDaysToReply": 1.6
    }
  }
}
```

## Options

This parser takes no options.

## Price

\$1 per 1,000 calls. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be a Trustpilot company page, like trustpilot.com/review/stripe.com. Any other URL fails with `invalidRequest`.
* The answer comes back in `data.json`. If the page cannot be read, the call fails with an error code from [Errors](https://docs.stophy.dev/api-reference/errors.md).

## Related

* [Pre-built parsers](https://docs.stophy.dev/scrape/prebuilt-parsers) lists every parser.
* [Scrape](https://docs.stophy.dev/scrape/overview) has the options every scrape takes.
* [Trustpilot search](https://docs.stophy.dev/scrape/prebuilt-parsers/shopping/trustpilot-search.md)
* [Trustpilot reviews](https://docs.stophy.dev/scrape/prebuilt-parsers/shopping/trustpilot-reviews.md)
* [Amazon search](https://docs.stophy.dev/scrape/prebuilt-parsers/shopping/amazon-search.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.