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

PriceRunner Category API Documentation

GET https://scrappa.co/api/pricerunner/category

GET /api/pricerunner/category returns products, filter ranges and the category tree for a category id from the navigation endpoint. It returns the first 48 results only. There is no page or offset parameter.

PriceRunner Category API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/pricerunner/category
Auth header
x-api-key
Cost
1 credit / request
category = 1
Response preview
200 OK
{
    "meta": {
        "attempts": 1,
        "billable": true
    },
    "total": 0,
    "filters": [],
    "success": true,
    "products": [],
    "pagination": {
        "note": "First 48 results only.",
        "size": 48,
        "first_page_only": true
    },
...

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.

category string Required

Category id or slug from the navigation endpoint.

Example value 1

Response Schema

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

Example response fields

Scan these fields before integrating.

meta total filters success products pagination category_tree
JSON Response
200 OK
{
    "meta": {
        "attempts": 1,
        "billable": true
    },
    "total": 0,
    "filters": [],
    "success": true,
    "products": [],
    "pagination": {
        "note": "First 48 results only.",
        "size": 48,
        "first_page_only": true
    },
    "category_tree": []
}

Errors

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

422

Validation Error

One or more query parameters failed validation.

{
    "errors": {
        "q": [
            "The q field is required."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

The public source is temporarily unavailable through every approved route.

{
    "meta": {
        "billable": false,
        "retryable": true
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "PriceRunner data is temporarily unavailable. Please retry."
    },
    "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.