List the companies in a Trustpilot category, ranked, 20 per page, along with the category's size and subcategories.
curl "https://apidirect.io/v1/trustpilot/category/companies?category_id=electronics_technology&country=us&min_rating=4" -H "X-API-Key: YOUR_API_KEY"
{
"companies": [
{
"business_unit_id": "4bdc9828000064000505dc60",
"name": "Flashbay",
"domain": "www.flashbay.com",
"website": "https://www.flashbay.com",
"url": "https://www.trustpilot.com/review/www.flashbay.com",
"logo": "https://s3-eu-west-1.amazonaws.com/tpd/screenshotlogo-domain/4bdc9828000064000505dc60/198x149.png",
"rating": 5.0,
"stars": 5.0,
"review_count": 19329,
"categories": [
{
"category_id": "gift_shop",
"name": "Gift Shop",
"is_primary": false
},
{
"category_id": "hobby_store",
"name": "Hobby Store",
"is_primary": false
},
{
"category_id": "business_to_business_service",
"name": "Business to Business Service",
"is_primary": false
},
{
"category_id": "promotional_items_store",
"name": "Promotional Item Store",
"is_primary": true
},
{
"category_id": "computer_accessories_store",
"name": "Computer Accessories Store",
"is_primary": false
},
{
"category_id": "drives_and_storage_service",
"name": "Drives and Storage Service",
"is_primary": false
}
],
"city": null,
"country": "United States",
"address": "Flashbay Inc. 569 Clyde Avenue, Unit 500, Mountain View, CA 94043",
"zipcode": null,
"is_recommended": true
},
{
"business_unit_id": "4bdc7d56000064000505cb54",
"name": "TadiBrothers",
"domain": "www.tadibrothers.com",
"website": "https://www.tadibrothers.com",
"url": "https://www.trustpilot.com/review/www.tadibrothers.com",
"logo": "https://s3-eu-west-1.amazonaws.com/tpd/screenshotlogo-domain/4bdc7d56000064000505cb54/198x149.png",
"rating": 5.0,
"stars": 5.0,
"review_count": 3685,
"categories": [
{
"category_id": "electronics_store",
"name": "Electronics Store",
"is_primary": true
},
{
"category_id": "auto_repair_shop",
"name": "Auto Repair Shop",
"is_primary": false
},
{
"category_id": "truck_parts_supplier",
"name": "Truck Parts Supplier",
"is_primary": false
},
{
"category_id": "safety_equipment_supplier",
"name": "Safety Equipment Supplier",
"is_primary": false
},
{
"category_id": "auto_body_parts_supplier",
"name": "Auto Body Parts Supplier",
"is_primary": false
},
{
"category_id": "horsebox_specialist",
"name": "Horse Transport Supplier",
"is_primary": false
}
],
"city": "Reseda",
"country": "United States",
"address": "6924 Canby Ave, #107",
"zipcode": "91335",
"is_recommended": true
}
],
"count": 20,
"page": 1,
"total_pages": 500,
"total_companies": 10000,
"category": {
"category_id": "electronics_technology",
"name": "Electronics & Technology",
"business_count": 59806,
"parent_id": null,
"url": "https://www.trustpilot.com/categories/electronics_technology",
"subcategories": [
{
"category_id": "appliances_electronics",
"name": "Appliances & Electronics",
"business_count": 5569
},
{
"category_id": "audio_visual",
"name": "Audio & Visual",
"business_count": 1807
},
{
"category_id": "computers_phones",
"name": "Computers & Phones",
"business_count": 8342
},
{
"category_id": "internet_software",
"name": "Internet & Software",
"business_count": 45334
},
{
"category_id": "repair_services",
"name": "Repair & Services",
"business_count": 2857
}
]
}
}
From the Category IDs reference page (22 top-level and 189 subcategories), from Category Search by keyword, from a category's subcategories via Category Details, or from any trustpilot.com/categories/<slug> URL.
Trustpilot's own category ranking, which favours companies with a strong TrustScore and enough recent reviews. recently_reviewed orders by the latest review instead.
Yes — country takes a 2-letter ISO code (us, gb, de). Leave it out for all countries.
You only pay for successful requests. The Trustpilot Category Companies API costs $0.005 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 10 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key