Skip to content
Scrappa Get API key
Costco API 1 credit/request

Costco Reviews API Documentation

GET https://scrappa.co/api/costco/reviews

Costco Reviews API returns the customer reviews of a product with rating, title, text, author, location, date, helpful votes, recommendation, photos and store responses. Every answer includes the rating summary.

Use rating for exact stars or max_rating for at most that many stars. Set country=ca for costco.ca products: their reviews are in English and French. For the US the feed mixes US and Canadian reviews: set locale to pick one language. verified_purchase is true when Costco marks the reviewer as a verified purchaser. Reviews that break a filter are never returned. Costs 1 credit per successful request.

Costco Reviews API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/costco/reviews
Auth header
x-api-key
Cost
1 credit/request
product_id = 1234567890
Response preview
200 OK
{
    "data": {
        "page": 1,
        "country": "us",
        "reviews": [
            {
                "id": "273255837",
                "cons": null,
                "pros": null,
                "text": "Rock solid, no issues yet. Used pretty regular for our esports events.",
                "title": null,
                "author": "Reviewer",
                "badges": [],
                "locale": "en_US",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

7 optional filters available.

product_id string Required

Product id from search, 4 to 12 digits.

Example value 1234567890
country string Optional

us (default) or ca. Use ca for product ids from costco.ca.

Example value US
page integer Optional

One-based page number, 1 to 500 (default 1).

Example value 1
per_page integer Optional

Reviews per page, 1 to 100 (default 20).

Example value 10
sort string Optional

relevancy (default), newest, oldest, rating_desc, rating_asc or helpful.

Example value relevance
rating integer Optional

Only reviews with exactly this many stars, 1 to 5.

Example value 10
max_rating integer Optional

Only reviews with at most this many stars, 1 to 5. Not together with rating.

Example value 10
locale string Optional

en_US, en_CA or fr_CA (default: all locales enabled for the selected Costco feed).

Example value en-US

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "page": 1,
        "country": "us",
        "reviews": [
            {
                "id": "273255837",
                "cons": null,
                "pros": null,
                "text": "Rock solid, no issues yet. Used pretty regular for our esports events.",
                "title": null,
                "author": "Reviewer",
                "badges": [],
                "locale": "en_US",
                "photos": [],
                "rating": 4,
                "location": "Greensboro, NC",
                "position": 1,
                "syndicated": false,
                "recommended": null,
                "submitted_at": "2026-10-24T16:04:47.000+00:00",
                "helpful_votes": 0,
                "store_response": null,
                "unhelpful_votes": 0,
                "secondary_ratings": [],
                "verified_purchase": null
            },
            {
                "id": "272370112",
                "cons": null,
                "pros": null,
                "text": "Bought this to use as an external monitor with HP laptop. The picture is outstanding. The monitor also has height, swivel, and tilt adjustment, which is pretty rare at this price point. I liked it so ",
                "title": "Great buy",
                "author": "MCMN",
                "badges": [],
                "locale": "en_US",
                "photos": [],
                "rating": 5,
                "location": null,
                "position": 2,
                "syndicated": false,
                "recommended": null,
                "submitted_at": "2026-09-27T01:15:41.000+00:00",
                "helpful_votes": 0,
                "store_response": null,
                "unhelpful_votes": 0,
                "secondary_ratings": [],
                "verified_purchase": null
            }
        ],
        "summary": {
            "photo_count": 22,
            "recommended": 91,
            "total_reviews": 245,
            "average_rating": 4.077551020408163,
            "last_review_at": "2026-10-24T16:04:47.000+00:00",
            "first_review_at": "2023-10-08T23:41:37.000+00:00",
            "not_recommended": 54,
            "rating_distribution": {
                "1": 32,
                "2": 16,
                "3": 12,
                "4": 26,
                "5": 159
            }
        },
        "per_page": 2,
        "product_id": "4000203457",
        "has_next_page": true,
        "total_results": 164
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "reviews"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required parameter or a value is invalid. This response is not billable.

{
    "errors": {
        "query": [
            "A search text is required, e.g. laptop."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

Costco could not be reached after several tries. This response is not billable. Retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "reviews"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Costco could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.