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

Flaconi Ids API Documentation

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

Flaconi Ids API returns public ids and urls from the storefront sitemap shards. A numeric id is returned when the public url carries one; otherwise id is null and the slug passes unchanged into the product route. Shards are cached, so no sitemap is fetched per billable request.

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

Flaconi Ids API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/flaconi/ids
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "80041833",
                "url": "https://www.flaconi.de/dior-sauvage-eau-de-parfum-80041833.html",
                "slug": "dior-sauvage-eau-de-parfum-80041833",
                "type": "products",
                "last_modified": "2026-11-20T00:00:00+00:00"
            }
        ],
        "source": "products"
    },
    "meta": {
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

3 optional filters available.

source string Optional

Sitemap source: products (default), index, brands, categories, filters or nodes.

Example value example
page integer Optional

One-based page number, default 1.

Example value 1
per_page integer Optional

Ids per page, 1 to 500 (default 100).

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": {
        "items": [
            {
                "id": "80041833",
                "url": "https://www.flaconi.de/dior-sauvage-eau-de-parfum-80041833.html",
                "slug": "dior-sauvage-eau-de-parfum-80041833",
                "type": "products",
                "last_modified": "2026-11-20T00:00:00+00:00"
            }
        ],
        "source": "products"
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "ids"
    },
    "success": true
}

Errors

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

VALIDATION_ERROR

HTTP VALIDATION_ERROR

The source 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.