APIs / Reviews / ConsumerAffairs
1 credit per call1 endpoint4 datapointsChecked working 6 Dec 2026
ConsumerAffairs API
ConsumerAffairs API for searching reviewed brands, products and companies by keyword, as JSON with name, category and slug. 1 credit per successful call.
{
"success": true,
"data": {
"items": [
{
"slug": "automotive/toyota_tundra.html",
"name": "Toyota Tundra",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_tundra.html"
},
{
"slug": "automotive/toyota_tacoma.html",
"name": "Toyota Tacoma",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_tacoma.html"
},
{
"slug": "automotive/toyota_prius.html",
"name": "Toyota Prius",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_prius.html"
}
],
"pagination": {
"current_page": 1,
"per_page": 10,
"total_items": 42,
"has_more": true
},
"filters": {
"query": "toyota",
"page": 1
}
},
"meta": {
"endpoint_family": "search",
"request_id": "req_c30bb85afcaa43e88fb4abda1eec1f04",
"credits_charged": 1,
"credits_remaining": 999
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | slugstring | namestring | categorystring | urlurl |
|---|---|---|---|---|
| 1 | automotive/toyota_tundra.html | Toyota Tundra | automotive | https://www.consumeraffairs.com/automotive/toyota_tundra.html |
| 2 | automotive/toyota_tacoma.html | Toyota Tacoma | automotive | https://www.consumeraffairs.com/automotive/toyota_tacoma.html |
| 3 | automotive/toyota_prius.html | Toyota Prius | automotive | https://www.consumeraffairs.com/automotive/toyota_prius.html |
[
{
"slug": "automotive/toyota_tundra.html",
"name": "Toyota Tundra",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_tundra.html"
},
{
"slug": "automotive/toyota_tacoma.html",
"name": "Toyota Tacoma",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_tacoma.html"
},
{
"slug": "automotive/toyota_prius.html",
"name": "Toyota Prius",
"category": "automotive",
"url": "https://www.consumeraffairs.com/automotive/toyota_prius.html"
}
]slug,name,category,url automotive/toyota_tundra.html,Toyota Tundra,automotive,https://www.consumeraffairs.com/automotive/toyota_tundra.html automotive/toyota_tacoma.html,Toyota Tacoma,automotive,https://www.consumeraffairs.com/automotive/toyota_tacoma.html automotive/toyota_prius.html,Toyota Prius,automotive,https://www.consumeraffairs.com/automotive/toyota_prius.html
Recorded from our API · 3 items shown · 4 datapoints per itemGET /v1/consumeraffairs/search?query=toyota
4 datapoints
Identity
- slugstring
- namestring
- categorystring
Contact
- urlurl
Playground
Run this API
curl "https://api.perceptlayer.com/v1/consumeraffairs/search?query=toyota" \
-H "X-API-Key: $API_KEY"ConsumerAffairs · 1 endpoint
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/consumeraffairs/search | query+1 optional | slugnamecategoryurl | 1 credit |
Overview
About the ConsumerAffairs API
What you can get
The ConsumerAffairs API returns ConsumerAffairs search results as JSON through 1 endpoint.
- Search:
searchtakes aquery, with an optionalpage.
The recorded search for "toyota" returns items, each with slug, name and category. The first three are Toyota Tundra, Toyota Tacoma and Toyota Prius, all in the automotive category. It also returns pagination, which reports total_items of 42 at a per_page of 10 with has_more set to true, and filters, which echoes the query and page you sent.
How a call works
Search by keyword: GET /v1/consumeraffairs/search?query=toyota, with your key in the X-API-Key header, returns the first page of matches. Check has_more in pagination, then ask for the next one with GET /v1/consumeraffairs/search?query=toyota&page=2. Every successful call costs 1 credit; failed calls cost nothing.
More reviews APIs
Use cases
Check whether a brand or product has a ConsumerAffairs listing
Use the ConsumerAffairs API to check whether a brand or product has a ConsumerAffairs listingMap a company name to its ConsumerAffairs `slug` and `category`
Use the ConsumerAffairs API to map a company name to its ConsumerAffairs `slug` and `category`List every listed product for a brand, page by page
Use the ConsumerAffairs API to list every listed product for a brand, page by pageCount how many listings match a keyword with `total_items`
Use the ConsumerAffairs API to count how many listings match a keyword with `total_items`FAQ
Questions
How much does the ConsumerAffairs API cost?
Each successful call costs one credit, and each search page is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Does it return the reviews themselves?
No. The ConsumerAffairs API has one endpoint, `search`, which returns the matching listings with `slug`, `name` and `category`.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a ConsumerAffairs account?
No. You call this ConsumerAffairs API with your Perceptlayer key in the `X-API-Key` header, with no ConsumerAffairs login.
Is this the official ConsumerAffairs API?
No. Perceptlayer is an independent service and is not affiliated with ConsumerAffairs. It returns ConsumerAffairs data as JSON with a Perceptlayer key, so there is no ConsumerAffairs developer account, app review or partner approval to get first. It only reads data: if ConsumerAffairs has an official API and you need to act on your own ConsumerAffairs account, such as posting, managing orders or reading private data, use that one.
Should I build a ConsumerAffairs scraper instead?
You can, but a ConsumerAffairs scraper is code you maintain: page changes break it, requests get blocked, and ConsumerAffairs's terms govern how you collect data. The ConsumerAffairs API gives you 1 endpoint of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the ConsumerAffairs API with 100 free credits
No credit card. Failed calls are never billed.