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

LOOKFANTASTIC Search API Documentation

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

LOOKFANTASTIC Search API returns beauty products from public LOOKFANTASTIC data. Each row has a numeric price, original price, discount, currency, rating, review count, full-size image and 8-digit sku. The sku passes unchanged into the product, reviews and category routes.

Filters: brand and price are checked again after the upstream call. When a filter is applied, pagination.post_filtered is true and pagination.filtered_count is the number of rows returned on this page. The upstream total stays as reported by the source.

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

LOOKFANTASTIC Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/lookfantastic/search
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "serum",
        "facets": [],
        "products": [
            {
                "sku": "14300780",
                "brand": "Caudalie",
                "price": {
                    "current": 10.04,
                    "currency": "GBP",
                    "discount": 4.95,
                    "original": 14.99
                },
...

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.

q string Required

Search text, 2 to 100 characters.

Example value coffee shops
brand string Optional

Brand from the facets of a search.

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

RELEVANCE, POPULARITY, PRICE_LOW_TO_HIGH, PRICE_HIGH_TO_LOW, NAME_ALPHABETICALLY, NEWEST_TO_OLDEST or DISCOUNT_PERCENTAGE_HIGH_TO_LOW.

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": {
        "query": "serum",
        "facets": [],
        "products": [
            {
                "sku": "14300780",
                "brand": "Caudalie",
                "price": {
                    "current": 10.04,
                    "currency": "GBP",
                    "discount": 4.95,
                    "original": 14.99
                },
                "title": "Vitamin C Serum",
                "images": [
                    "https://static.thcdn.com/images/product/large/14300780.jpg"
                ],
                "rating": 4.6,
                "in_stock": true,
                "review_count": 52
            }
        ],
        "pagination": {
            "page": 1,
            "limit": 20,
            "total": 1875,
            "has_more": true
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}

Errors

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

VALIDATION_ERROR

HTTP VALIDATION_ERROR

A query or filter value is invalid. 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.