# NetOnNet Search API Documentation

<p><strong>NetOnNet Search API Documentation</strong> Search the public NetOnNet catalog by keyword or category. Filter by price range and page. Price is checked on each returned item, so a page can be short. Order is the upstream relevance order. The no site returns 422 until its soak. Every item carries an article number, a numeric price with currency, a numeric rating and a full size image URL. Article numbers work unchanged in the product and reviews endpoints. One search costs 1 credit. Empty and failed requests are not billed. Not affiliated with NetOnNet.</p>

- **Documentation:** [https://scrappa.co/docs/netonnet-api/netonnet_search](https://scrappa.co/docs/netonnet-api/netonnet_search)
- **API group:** NetOnNet API
- **Endpoint:** `GET https://scrappa.co/api/netonnet/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 |
| --- | --- | --- | --- |
| `site` | string | No | se only. no returns 422 until its production soak passes. |
| `query` | string | No | Search words. Use this or category. |
| `category` | string | No | Category keyword hint. Use this or query. Full category browse is a follow-up. |
| `min_price` | number | No | Lowest price in SEK. Checked on returned items; a page may be short. |
| `max_price` | number | No | Highest price in SEK. Checked on returned items; a page may be short. |
| `sort` | string | No | relevance (default). Other sorts are pending the listing soak. |
| `page` | integer | No | 1-based page, up to 10. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "name": "Example laptop",
                "brand": "Example",
                "price": {
                    "amount": 8999,
                    "currency": "SEK"
                },
                "rating": 4.5,
                "imageUrl": "https://example.com/image.jpg",
                "review_count": 42,
                "articleNumber": "1064137"
            }
        ],
        "filters": {
            "site": "se",
            "sort": "relevance",
            "query": "laptop",
            "category": null,
            "max_price": null,
            "min_price": null
        },
        "currency": "SEK",
        "pagination": {
            "has_more": true,
            "per_page": 10,
            "total_items": 12,
            "total_pages": 2,
            "current_page": 1
        }
    },
    "meta": {
        "credits": 1,
        "billable": true,
        "endpoint_family": "search"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. Not billable. |
| 502 | Upstream Unavailable | The upstream did not answer or sent unreadable data. 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)
