About this API
Finn.no is a large Norwegian classifieds site. This API reads its marketplace search results and returns a record for each ad: title, price, currency, condition, brand, location, image and link.
Prices are in the currency the ad uses, and condition comes as a code such as UsedCondition. Search text, category, location, condition, price range and sort order are inputs, so one run can follow a single search.
Typical uses
- Compare asking prices for a second-hand item.
- Watch for new ads that match a search.
- Collect ad data for market research.
What you get
| Field | Type | Sample value |
|---|---|---|
title |
string | Leica M6 sølv fra 1997 |
price |
integer | 27500 |
currency |
string | NOK |
brand |
string | Leica |
date |
string | 21. sep. |
condition |
string | UsedCondition |
url |
string | finn.no/recommerce/forsale/item/476978009 |
location |
string | not in the saved sample |
All 61 fields
Key fields
titlepricecurrencybranddateconditionurllocation
Technical fields
image_urlavailabilityad_typedistanceextras_idflagsimage_aspect_ratioimage_heightimage_pathimage_urlsimage_widthlabels_idlabels_textlabels_typeloyalty_user_tiermain_search_keymetadata_sourceprice_unittimestamptrade_typetypeiddescriptionskudetail_branddetail_pricedetail_currencydetail_availabilitydetail_conditionaccuracycountry_codecountry_namephoto_equipment_typehas_been_publishededitedschema_nameis_inactiveis_legacy_schemashould_indexcategory_idcategorycategory_parent_idcategory_parentcategory_parent_parent_idcategory_parent_parentimagesdisposedad_view_type_labelis_webstoretransactableseller_pays_shippingbuy_noweligible_for_shipping
Every field with its type, and the schemas, are in contract.json.
Sample records
2 saved records. This is a saved sample, not a live run.
title |
price |
currency |
brand |
date |
condition |
|---|---|---|---|---|---|
| Leica M6 sølv fra 1997 | 27500 | NOK | Leica | 21. sep. | UsedCondition |
| Leica M6 Classic 0.72 Black (1992) + Summicron-M 35mm f/2 ASPH + Grip - strøken | 55000 | NOK | Leica | 20. aug. | UsedCondition |
Scroll sideways to see more columns.
Inputs
-
searchstringOptional. Text for the site's search box. Leave it out to use the default: leica m6.
-
categorychoiceOptional. Filters by the site's category control.
-
shipping_typeschoiceOptional. Filters by the site's shipping types control.
-
locationchoiceOptional. Filters by the site's location control.
-
conditionchoiceOptional. Filters by the site's condition control.
-
dealer_segmentchoiceOptional. Filters by the site's dealer segment control.
-
trade_typechoiceOptional. Filters by the site's trade type control.
-
for_rentchoiceOptional. Filters by the site's for rent control.
-
price_fromstring | integerOptional. Filters by the site's price from control.
-
price_tostring | integerOptional. Filters by the site's price to control.
-
sortchoiceOrder of the collection, as the site's own sort control offers it; omitted keeps the site's default order.
enrich_records is on by default and adds the fields that only appear on each record's detail page. Send false to read list fields only. See Run an API.
Request
POST https://broker.cleanedweb.com/v1/catalog/public/apis/generated_0b974ba7e96c29dcb3c48382/endpoints/generated_0b974ba7e96c29dcb3c48382_search/run
curl -X POST https://broker.cleanedweb.com/v1/catalog/public/apis/generated_0b974ba7e96c29dcb3c48382/endpoints/generated_0b974ba7e96c29dcb3c48382_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"category": "0.93"
},
"max_items": 25
}'
Save the Idempotency-Key before you send, and reuse it only to retry the same request. The key needs the run scope. See Run a catalog API.
Coverage
- Category
- Commerce
- Countries
- Norway
- Languages
- Norwegian Bokmål
Limitations
- Send your own search term: without one this API reads its default search, leica m6.
- Dates are returned as the source writes them, such as 21. sep.
- Runs return each ad's location and the seller details the source shows. The sample on this page leaves them out.
Reach. A run reads until the source ends or your max_items, timeout_seconds or budget stops it.
CleanedWeb is not affiliated with Finn.no.