# Fust Search API Documentation

<p>Search public Fust Swiss electronics and appliance products by query or category code with locale, sort, price range, facets and pages. Cards carry numeric CHF prices and currency, original and sale price, discount, stock, delivery and pickup status, full size images, flags and review count. One credit per successful request.</p>

- **Documentation:** [https://scrappa.co/docs/fust-api/fust_search](https://scrappa.co/docs/fust-api/fust_search)
- **API group:** Fust API
- **Endpoint:** `GET https://scrappa.co/api/fust/search`

## 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 |
| --- | --- | --- | --- |
| `locale` | string | No | Site locale: de, fr or it. Default de. |
| `query` | string | No | Search keywords; required unless category is given. |
| `category` | string | No | Category value code from the primaryCategory facet of a search result; required unless query is given. |
| `sort` | string | No | relevance, price-asc, price-desc, soldscore-desc, topRated or topRated-asc. |
| `min_price` | string | No | Optional minimum price in CHF. |
| `max_price` | string | No | Optional maximum price in CHF. |
| `facets` | string | No | Optional filters as code:value. Read codes from the facets field. |
| `page_size` | string | No | Products per page: 24, 50 or 100, default 24. |
| `page` | string | No | Page number 1 to 100, default 1. |

## Example response

```json
{
    "data": {
        "page": 1,
        "items": [
            {
                "ean": "4241723103129",
                "url": "https://www.example.com/de/p/jura-e8-10820617.html",
                "code": "10820617",
                "name": "JURA E8 Platin",
                "brand": "JURA",
                "price": 999.95,
                "images": [
                    "https://media.example.com/medias/10820617.jpg"
                ],
                "currency": "CHF",
                "in_stock": false,
                "review_count": 42,
                "stock_status": "outOfStock",
                "original_price": 1499.95,
                "discount_amount": 500,
                "discount_percent": 33,
                "product_price_type": "INSTEAD_PRICE"
            }
        ],
        "sorts": [],
        "total": 1315,
        "facets": [],
        "locale": "de",
        "has_more": true,
        "page_size": 24,
        "total_pages": 55,
        "current_query": "kaffee"
    },
    "meta": {
        "billable": true
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A filter, locale or identifier failed validation. No credit is charged. |
| 400 | Unknown Identifier | No public product exists for this identifier. No credit is charged. |
| 503 | Upstream Unavailable | Public data is temporarily unavailable. No credit is charged. |

## 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)
