---
title: "ConsumerAffairs API: searching reviewed brands as JSON"
description: "ConsumerAffairs API for searching reviewed brands, products and companies by keyword, as JSON with name, category and slug. 1 credit per successful call."
url: https://perceptlayer.com/apis/consumeraffairs
---

[APIs](https://perceptlayer.com/apis) / [Reviews](https://perceptlayer.com/verticals/reviews) / ConsumerAffairs

1 credit per call 1 endpoint 4 datapoints 

# 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.

[Get a free API key](https://perceptlayer.com/signup) Run it below

ConsumerAffairs

GET /v1/consumeraffairs/search?query=toyota 

```
{
  "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
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | slug string | name string | category string | url url |
| --- | --- | --- | --- | --- |
| 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 |

Recorded from our API · 3 items shown · 4 datapoints per item GET /v1/consumeraffairs/search?query=toyota

4 datapoints

### Identity

-   slug string
-   name string
-   category string

### Contact

-   url url

Playground

## Run this API

cURL shell 

```
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`](https://perceptlayer.com/apis/consumeraffairs/search) | `query` +1 optional | `slug` `name` `category` `url` | 1 credit |

Overview

## About the ConsumerAffairs API

## What you can get

The ConsumerAffairs API returns ConsumerAffairs search results as JSON through 1 endpoint.

-   **Search:** `search` takes a `query`, with an optional `page`.

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.

Reviews JSON REST MCP

### More reviews APIs

[11880.com](https://perceptlayer.com/apis/11880) [Bazaarvoice](https://perceptlayer.com/apis/bazaarvoice) [Capterra](https://perceptlayer.com/apis/capterra) [Clutch](https://perceptlayer.com/apis/clutch) [Das Örtliche](https://perceptlayer.com/apis/dasoertliche) [Doctolib](https://perceptlayer.com/apis/doctolib) [Feefo](https://perceptlayer.com/apis/feefo) [Fresha](https://perceptlayer.com/apis/fresha) [G2](https://perceptlayer.com/apis/g2) [Gelbe Seiten](https://perceptlayer.com/apis/gelbeseiten) [GoodFirms](https://perceptlayer.com/apis/goodfirms) [Goodreads](https://perceptlayer.com/apis/goodreads)

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 listing` 

### Map 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 page` 

### Count 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.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
