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

LOOKFANTASTIC Category API Documentation

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

LOOKFANTASTIC Category API returns the product grid and facet tree of a public category path. Sponsored tiles are excluded. The path comes from the ids route or from the public site. Price, brand, sort and one-based page are honoured. Brand and price are checked again after the upstream call; see pagination.post_filtered and pagination.filtered_count.

Cost: 1 credit per request. Failed requests are not billed.

LOOKFANTASTIC Category API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/lookfantastic/category
Auth header
x-api-key
Cost
1 credit / request
path = example
Response preview
200 OK
{
    "data": {
        "path": "/health-beauty/face/vitamin-c/serums",
        "facets": [],
        "products": [
            {
                "sku": "14300780",
                "price": {
                    "current": 10.04,
                    "currency": "GBP",
                    "discount": 4.95,
                    "original": 14.99
                },
                "title": "Vitamin C Serum"
...

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.

6 optional filters available.

path string Required

Public category path, for example /health-beauty/face/vitamin-c/serums.

Example value example
brand string Optional

Brand from the facet tree.

Example value example
price_min number Optional

Minimum numeric price.

Example value 10
price_max number Optional

Maximum numeric price.

Example value 10
sort string Optional

A supported sort value.

Example value relevance
page integer Optional

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

Example value 1
limit integer Optional

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

Example value 10

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": {
        "path": "/health-beauty/face/vitamin-c/serums",
        "facets": [],
        "products": [
            {
                "sku": "14300780",
                "price": {
                    "current": 10.04,
                    "currency": "GBP",
                    "discount": 4.95,
                    "original": 14.99
                },
                "title": "Vitamin C Serum"
            }
        ],
        "pagination": {
            "page": 1,
            "limit": 20,
            "total": 42,
            "has_more": true
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "category"
    },
    "success": true
}

Errors

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

VALIDATION_ERROR

HTTP VALIDATION_ERROR

The path or a filter is invalid. Not billed.

NOT_FOUND

HTTP NOT_FOUND

No such category. Not billed.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

The public source could not be reached. Not billed.

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.