# Byrna Reviews Scraper (Cheap) (`data_api/byrna-reviews-scraper-cheap`) Actor

Extract detailed customer reviews, ratings, sentiments, and topics from Byrna.com product pages in real time. Perfect for market research, sentiment analysis, and competitor tracking.

- **URL**: https://apify.com/data\_api/byrna-reviews-scraper-cheap.md
- **Developed by:** [Data API](https://apify.com/data_api) (community)
- **Categories:** E-commerce, AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Byrna Reviews Scraper

![Byrna Reviews Scraper](cover.jpg)

Byrna product pages can carry hundreds of customer reviews, but they load in a widget, paginate a few at a time, and there is no download button. Reading them by hand or copy-pasting into a sheet does not scale past a page or two. This scraper does the collecting for you: give it a Byrna product URL and it returns every public review as its own row, with the star rating, full text, reviewer name, verified-buyer flag, sentiment score, helpful votes, and any photos the reviewer attached. Feed it one product or a whole list.

### What you get

Each review becomes one clean row, so the dataset stays rectangular when you open it in a sheet or load it into a database. Three groups of data per review:

- **The review** — `starRating`, `reviewHeadline`, `reviewBody`, `reviewDate`, `photoLinks`
- **The reviewer** — `authorName`, `verifiedPurchase`
- **Signals** — `sentimentScore`, `helpfulVotes`, `unhelpfulVotes`, `themeMatches`, plus the `productId` and `reviewId` for joining

### Quick start

1. Open byrna.com (or byrna.ca) and copy a product URL, or just the handle after `/products/`.
2. Hit **Try for free** and open the input form.
3. Paste one or more product URLs into **Byrna product pages**.
4. Set **Reviews per product** if you want a smaller sample, then press **Start**.
5. Export the results as JSON, CSV, Excel, or XML when the run finishes.

![How it works](how-it-works.jpg)

### Use cases

- **Product research** — surface the complaints and praise that come up again and again across a model line
- **Sentiment tracking** — re-run on a schedule and watch how ratings and tone shift over time
- **Competitive analysis** — pull reviews across several products to compare how buyers talk about each
- **Voice-of-customer reports** — feed the raw text into your own summaries, dashboards, or BI tools
- **Quality and support triage** — filter for low ratings or negative sentiment to find issues worth a closer look

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `productUrls` | array of strings | Yes | Byrna product page URLs, or bare product handles. Each entry is processed on its own. A handle like `byrna-le-launcher` resolves to a full byrna.com URL automatically. |
| `reviewsLimit` | integer | No | How many reviews to pull from each product. Default `25`; max `1000`. |
| `timeoutSeconds` | integer | No | Seconds to wait on each request before giving up. Default `45`; range 5–120. |

#### Example input

```json
{
    "productUrls": [
        "https://byrna.com/products/byrna-sd-non-lethal-self-defense-pistol",
        "byrna-le-launcher"
    ],
    "reviewsLimit": 25,
    "timeoutSeconds": 45
}
````

### Output

Each review is saved as one row in the Apify dataset. Fields the source does not provide come back empty or as a default rather than disappearing, so your columns stay consistent.

#### Example output

```json
{
    "productId": "6886082838595",
    "reviewId": 336452009,
    "starRating": 5,
    "reviewDate": "2022-02-10T17:37:27.000Z",
    "reviewHeadline": "Feels great to carry",
    "reviewBody": "Feels great to carry. I have guns but the non-lethal option gives me peace of mind and far fewer headaches.",
    "authorName": "Jose A.",
    "verifiedPurchase": true,
    "sentimentScore": 0.9295,
    "helpfulVotes": 395,
    "unhelpfulVotes": 70,
    "themeMatches": {
        "gun": {
            "name": "gun",
            "sentence": "I have guns but the non-lethal option gives me peace of mind and far fewer headaches"
        }
    },
    "photoLinks": [
        "https://cdn-yotpo-images-production.yotpo.com/Review/336452009/241428524/original.jpg"
    ]
}
```

#### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `productId` | string | Store identifier of the product the review belongs to |
| `reviewId` | integer | Identifier that uniquely tags this review |
| `starRating` | integer | Score the reviewer gave, on a 1-to-5 scale |
| `reviewDate` | string | ISO 8601 timestamp of when the review was posted |
| `reviewHeadline` | string | Short title or subject line attached to the review |
| `reviewBody` | string | Full text the reviewer wrote |
| `authorName` | string | Public name shown for the reviewer (`"Anonymous"` when none is given) |
| `verifiedPurchase` | boolean | True when the reviewer is confirmed to have bought the product |
| `sentimentScore` | number | Tone of the text, from -1.0 (very negative) to 1.0 (very positive) |
| `helpfulVotes` | integer | How many shoppers marked this review helpful |
| `unhelpfulVotes` | integer | How many shoppers marked this review not helpful |
| `themeMatches` | object | Recurring themes spotted in the review, each with the sentence that mentions it |
| `photoLinks` | array of strings | Full-size URLs of any photos the reviewer attached |

### Tips for best results

- **Start with a small `reviewsLimit`.** Pull 10–25 reviews first to confirm the output fits your pipeline, then raise the limit for the full set.
- **Pass handles or full URLs.** Either the slug after `/products/` or a complete byrna.com / byrna.ca link works, so you can paste whatever you have on hand.
- **One bad URL won't sink the run.** If a product page can't be resolved, it gets logged and skipped while the rest keep going.
- **Raise `timeoutSeconds`** toward 90 if you see repeated timeouts on slower connections.
- **Reviews arrive newest-first** in pages of 100, and pagination is handled for you up to your limit.

### How can I use Byrna review data?

**How can I use the Byrna Reviews Scraper to research a product before buying or stocking it?**
Paste the product URL and the scraper returns every public review with its star rating, full text, and verified-buyer flag. Sort by rating or read the negative ones first to see the recurring complaints, then weigh them against the praise — a quick way to judge a Byrna launcher or kit on real owner feedback rather than the listing copy.

**How can I track Byrna review sentiment over time?**
Each row carries a `sentimentScore` and a `reviewDate`, so you can re-run the scraper on a schedule and chart how tone and ratings move week to week. That makes it easy to spot a dip after a product change or a batch of shipping complaints before it shows up in your support queue.

**How can I export Byrna reviews to a spreadsheet or BI tool?**
Run the actor, then download the dataset as CSV or Excel, or pull it through the Apify API as JSON. The `themeMatches` field already groups reviews by common topics like quality, shipping, and customer service, so you can drop the data straight into a pivot table or dashboard without much cleanup.

### Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses or private contact information. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### Support

Questions, feature requests, or a field you'd like added? Reach out at <data.apify@proton.me> and we'll get back to you.

# Actor input Schema

## `productUrls` (type: `array`):

Byrna product page URLs (or bare product handles) you want reviews from. Paste a full byrna.com / byrna.ca link or just the slug after /products/.

## `reviewsLimit` (type: `integer`):

How many reviews to pull from each product before moving on. Lower it for quick samples, raise it for a full pull.

## `timeoutSeconds` (type: `integer`):

Seconds to wait on each page and API call before giving up. Bump it up if you see frequent timeouts.

## Actor input object example

```json
{
  "productUrls": [
    "https://byrna.com/products/byrna-sd-non-lethal-self-defense-pistol"
  ],
  "reviewsLimit": 25,
  "timeoutSeconds": 45
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productUrls": [
        "https://byrna.com/products/byrna-sd-non-lethal-self-defense-pistol"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("data_api/byrna-reviews-scraper-cheap").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "productUrls": ["https://byrna.com/products/byrna-sd-non-lethal-self-defense-pistol"] }

# Run the Actor and wait for it to finish
run = client.actor("data_api/byrna-reviews-scraper-cheap").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [
    "https://byrna.com/products/byrna-sd-non-lethal-self-defense-pistol"
  ]
}' |
apify call data_api/byrna-reviews-scraper-cheap --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=data_api/byrna-reviews-scraper-cheap",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Byrna Reviews Scraper (Cheap)",
        "description": "Extract detailed customer reviews, ratings, sentiments, and topics from Byrna.com product pages in real time. Perfect for market research, sentiment analysis, and competitor tracking.",
        "version": "0.0",
        "x-build-id": "bwZFbDeC5GEu5FDbM"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/data_api~byrna-reviews-scraper-cheap/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-data_api-byrna-reviews-scraper-cheap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/data_api~byrna-reviews-scraper-cheap/runs": {
            "post": {
                "operationId": "runs-sync-data_api-byrna-reviews-scraper-cheap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/data_api~byrna-reviews-scraper-cheap/run-sync": {
            "post": {
                "operationId": "run-sync-data_api-byrna-reviews-scraper-cheap",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "productUrls"
                ],
                "properties": {
                    "productUrls": {
                        "title": "Byrna product pages",
                        "type": "array",
                        "description": "Byrna product page URLs (or bare product handles) you want reviews from. Paste a full byrna.com / byrna.ca link or just the slug after /products/.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "reviewsLimit": {
                        "title": "Reviews per product",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "How many reviews to pull from each product before moving on. Lower it for quick samples, raise it for a full pull.",
                        "default": 25
                    },
                    "timeoutSeconds": {
                        "title": "Request timeout (seconds)",
                        "minimum": 5,
                        "maximum": 120,
                        "type": "integer",
                        "description": "Seconds to wait on each page and API call before giving up. Bump it up if you see frequent timeouts.",
                        "default": 45
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
