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

Douglas Search API Documentation

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

Douglas Search API returns page-one beauty products from the public Douglas storefront. Each row has a numeric price, currency, numeric rating and review count, and a full-size image. The product id passes unchanged into the product and reviews routes.

The server-rendered page supplies facets and sort options. Page, sort and filter parameters are rejected with 422 because the upstream ignores them. Cost: 1 credit per request. Failed requests are not billed.

Douglas Search API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/douglas/search
Auth header
x-api-key
Cost
1 credit / request
query = coffee shops
Response preview
200 OK
{
    "data": {
        "sort": "relevance",
        "facets": [],
        "products": [
            {
                "id": "5000005003",
                "name": "Eau de Parfum",
                "brand": "Douglas",
                "image": "https://images.douglas.de/is/image/dgl/5000005003-0",
                "price": {
                    "current": 49.9,
                    "currency": "EUR",
                    "original": null,
...

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.

1 optional filter available.

query string Required

Search text, 2 to 100 characters.

Example value coffee shops
country string Optional

Storefront at (default) or ch.

Example value 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": {
        "sort": "relevance",
        "facets": [],
        "products": [
            {
                "id": "5000005003",
                "name": "Eau de Parfum",
                "brand": "Douglas",
                "image": "https://images.douglas.de/is/image/dgl/5000005003-0",
                "price": {
                    "current": 49.9,
                    "currency": "EUR",
                    "original": null,
                    "discount_percent": null
                },
                "rating": 4.5,
                "review_count": 120
            }
        ],
        "pagination": {
            "page": 1,
            "per_page": 52,
            "total_pages": 175,
            "has_next_page": true,
            "total_results": 8397,
            "next_page_reachable": false
        },
        "sort_options": []
    },
    "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 page, sort, filter or storefront value was rejected. Not billed.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

Douglas 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.