# Jula Sorted Search API Documentation

<p><strong>Jula Sorted Search API Documentation</strong> Search by keyword with one of eight sort values, repeatable facets and a zero-based offset. Returns numeric SEK prices and product ids. One request costs 1 credit. Empty and failed requests are not billed. Not affiliated with Jula.</p>

- **Documentation:** [https://scrappa.co/docs/jula-api/jula_search_sorted](https://scrappa.co/docs/jula-api/jula_search_sorted)
- **API group:** Jula API
- **Endpoint:** `GET https://scrappa.co/api/jula/search-sorted`

## 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. |
| `sort` | string | No | One of the eight Jula sort values. |
| `offset` | integer | No | Zero-based product offset. |
| `Brand` | string | No | Brand facet. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "sku": "01024131",
                "price": {
                    "amount": 899,
                    "currency": "SEK"
                }
            }
        ],
        "filters": {
            "sort": "PriceLowestFirst",
            "query": "hammare",
            "offset": 0
        },
        "currency": "SEK",
        "pagination": {
            "offset": 0,
            "has_more": true,
            "page_size": 6,
            "total_items": 51
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search_sorted"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |

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