# Universal.at Full Search API Documentation

Scrappa's `GET /api/universal-at/search_full` returns the search result plus the public filter dictionary and search categories in one JSON answer. It accepts every search parameter and adds `limit` up to 72.

## Filter dictionary

`availableFilters` lists filter groups with `id`, `name` and `values` (`id`, `name`). Pass a group id and its value ids to `search` as `filter_id` and `filter_values`. The same ids are accepted unchanged. Value ids appear once per group; internal groups that carry image file names instead of product facts are omitted. `categories` lists the search category ids and paths.

## Credits

A successful request costs **1 credit**. Errors and `404` answers cost nothing. The response shows the charge in `meta.credits_charged`.

- **Documentation:** [https://scrappa.co/docs/universal-at-api/universal_at_search_full](https://scrappa.co/docs/universal-at-api/universal_at_search_full)
- **API group:** Universal.at API
- **Endpoint:** `GET https://scrappa.co/api/universal-at/search_full`

## 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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search words, for example iphone. |
| `limit` | integer | No | Items per page, 1-72. |
| `sort` | string | No | relevance, price-asc or price-desc. |
| `page` | integer | No | Result page. |
| `filter_id` | string | No | Filter group id. |
| `filter_values` | array | No | Filter value ids. |
| `brand` | string | No | Brand name checked on every item. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/universal-at/search_full?query=iphone&limit=24"
```

## Example response

```json
{
    "success": true,
    "query": "iphone",
    "items": [
        {
            "position": 1,
            "id": "AKLBB2029112026",
            "style_id": "AKLBB2029112026",
            "sku": "2340273220-0-2029112026",
            "article_number": "23402732",
            "title": "Smartphone \u00bbiPhone 17\u00ab Lavendel",
            "brand": "Apple",
            "category": "Technik",
            "selling_points": [
                "6,3 Zoll Display",
                "Ceramic Shield 2"
            ],
            "url": "/p/AKLBB2029112026?sku=2340273220-0",
            "price": 1031.08,
            "original_price": 1099,
            "price_difference": 67.92,
            "discount_percentage": 6.18,
            "currency": "EUR",
            "price_from": true,
            "rating": 4.3,
            "review_count": 4,
            "availability": "vorr\u00e4tig - kommt in 4 bis 6 Werktagen",
            "image": "https://bilder.universal.at/i/empiriecom/826fea89c3154df9201ad925433381dd.jpg"
        }
    ],
    "availableFilters": [
        {
            "id": "filter_manufacturer",
            "name": "Marke",
            "values": [
                {
                    "id": "fb_mnfctrr_ppl_a8",
                    "name": "Apple"
                }
            ]
        }
    ],
    "total": 494,
    "page": 1,
    "page_size": 24,
    "has_more": true,
    "sort": "relevance",
    "sorting_orders": [],
    "categories": [],
    "applied_filters": [],
    "filtered_out": 0,
    "meta": {
        "endpoint_family": "universal-at-search-full",
        "billable": true,
        "attempts": 1,
        "credits_charged": 1
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing, unknown or unusable. Unknown parameters are rejected, never ignored. Non-billable. |
| 503 | Upstream Unavailable | Universal.at could not be reached in time. Retryable and never billed. Clients are never rate limited. |
| 503 | Unexpected Answer Shape | Universal.at answered with an unknown shape. Not retryable and never billed: a retry of the same call cannot change the shape. |

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