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

Flaconi Suggest API Documentation

GET https://scrappa.co/api/flaconi/suggest

Flaconi Suggest API returns public product hits and query suggestions from the storefront flyout. Each product carries the variant id that the product and reviews routes accept unchanged. Set popular=true for popular terms from a single separate lookup.

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

Flaconi Suggest API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/flaconi/suggest
Auth header
x-api-key
Cost
1 credit / request
q = coffee shops
Response preview
200 OK
{
    "data": {
        "query": "dior",
        "terms": [
            "dior",
            "dior parfum"
        ],
        "locale": "de-DE",
        "products": [
            {
                "id": "80041833-30",
                "name": "Sauvage",
                "brand": "Dior",
                "image": "https://cdn.flaconi.net/media/catalog/product/3/3/3348901567572-1_c_live.jpg",
...

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.

3 optional filters available.

q string Required

Search text, 2 to 100 characters.

Example value coffee shops
max integer Optional

Maximum hits, 1 to 20 (default 5).

Example value 10
locale string Optional

Locale de-DE (default) or de-AT.

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": {
        "query": "dior",
        "terms": [
            "dior",
            "dior parfum"
        ],
        "locale": "de-DE",
        "products": [
            {
                "id": "80041833-30",
                "name": "Sauvage",
                "brand": "Dior",
                "image": "https://cdn.flaconi.net/media/catalog/product/3/3/3348901567572-1_c_live.jpg",
                "price": {
                    "current": 98,
                    "currency": "EUR",
                    "original": null,
                    "discount_percent": null
                },
                "variant_sku": "80041833-30"
            }
        ],
        "popular_terms": []
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "suggest"
    },
    "success": true
}

Errors

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

VALIDATION_ERROR

HTTP VALIDATION_ERROR

The query or locale is invalid. Not billed.

UPSTREAM_UNAVAILABLE

HTTP UPSTREAM_UNAVAILABLE

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