# Flaconi Ids API Documentation

<p><strong>Flaconi Ids API</strong> 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.</p><p><strong>Cost:</strong> 1 credit per request. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/flaconi-api/flaconi_ids](https://scrappa.co/docs/flaconi-api/flaconi_ids)
- **API group:** Flaconi API
- **Endpoint:** `GET https://scrappa.co/api/flaconi/ids`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `source` | string | No | Sitemap source: products (default), index, brands, categories, filters or nodes. |
| `page` | integer | No | One-based page number, default 1. |
| `per_page` | integer | No | Ids per page, 1 to 500 (default 100). |

## Example response

```json
{
    "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

| Status | Error | Description |
| --- | --- | --- |
|  | Error | The source is invalid. Not billed. |
|  | Error | Flaconi could not be reached. Not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
