# FINN.no Torget Search API Documentation

Search FINN.no Torget ads by keyword, category, price, condition, trade type, seller type and location. Page with page (1 to 50) and rows (1 to 50). A valid empty search is a successful response.

- **Documentation:** [https://scrappa.co/docs/finn-api/finn_torget_search](https://scrappa.co/docs/finn-api/finn_torget_search)
- **API group:** FINN.no API
- **Endpoint:** `GET https://scrappa.co/api/finn/v1/torget/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 |
| --- | --- | --- | --- |
| `q` | string | No | Free-text search, e.g. "sykkel". |
| `page` | integer | No | One-based page number, 1 to 50. Defaults to 1. |
| `rows` | integer | No | Ads per page, 1 to 50. |
| `sort` | string | No | RELEVANCE, PUBLISHED_DESC, PRICE_ASC or PRICE_DESC. |
| `category` | string | No | FINN category code, e.g. 0.69. |
| `price_from` | integer | No | Minimum price in NOK. |
| `price_to` | integer | No | Maximum price in NOK. |
| `condition` | integer | No | Condition code, 1 to 5. |
| `trade_type` | integer | No | Trade type code, 1 to 3. |
| `dealer_segment` | integer | No | Seller type: 1 or 3. |
| `location` | string | No | FINN location code, e.g. 0.20061. |
| `published` | integer | No | Set to 1 to show only ads published in the last day. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/finn/v1/torget/search?q=sykkel&category=0.69&price_from=1000&price_to=5000&sort=PRICE_ASC&condition=2&location=0.20061&trade_type=1&rows=2"
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 503 | Invalid Source Response | FINN.no answered with a shape that no longer matches the documented contract. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

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