{"openapi":"3.0.0","info":{"title":"FINN.no Norway Real Estate Listings","version":"1.0.0","description":"Norwegian property listings from FINN.no across homes for sale, rentals, leisure properties and new developments, one row per entity."},"servers":[{"url":"https://ah-finn-no.opendata.best/s/finn-no"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search FINN.no Norwegian real estate listings","description":"Query Norwegian sale, rental and project property listings by location, keyword and property attributes.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"location":{"type":"string","description":"Location. Enter a Norwegian place name, such as Oslo or Bergen, or a FINN location code such as 0.20061.","example":"Oslo"},"channel":{"type":"string","enum":["sale","rent","projects","leisure","leisure_plots","plot","commercial","abroad","planned","office","torget","car","mc","boat","caravan","job","nybrukt"],"description":"Channel. Choose the FINN category to collect. Office profiles require officeUrl or profile URLs in detailUrls; Nybrukt collects refurbished electronics.","default":"sale","example":"sale"},"q":{"type":"string","description":"Search query. Search words for the selected FINN category. A keyword without a location uses Oslo."},"detailUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Collect specific FINN ad URLs instead of running the usual search. Enter one URL per line, such as https://www.finn.no/realestate/homes/ad.html?finnkode=123456789."},"officeUrl":{"type":"string","description":"Office URL. FINN broker or company profile URL. Set channel to office; officeUrl or profile URLs in detailUrls are required for that channel."},"maxPages":{"type":"integer","minimum":1,"maximum":100,"description":"Max pages. Search-page setting from 1 to 100. Collection may expand this setting to reach maxResults, so it is not a strict one-page limit.","default":1,"example":1},"fetchAllPages":{"type":"boolean","description":"Fetch all pages. Continue through available search pages while staying within maxResults. This does not guarantee that every matching ad is available.","default":false},"feed":{"type":"boolean","description":"Feed enumeration. Read recent feed entries for the torget or job channel instead of a regular search.","default":false},"enumerateMode":{"type":"string","enum":["sitemap","seed_pool","bare_id","map","mapBbox","mapLayers"],"description":"Discover listing URLs. Discover ads from a sitemap, a saved collection of URLs or a map area. The bare_id option is not available as a dedicated collection path; use detailUrls for known ads."},"revealPhones":{"type":"boolean","description":"Include available vehicle phone numbers. Request available phone numbers for vehicle ads. Numbers that are not publicly provided remain unavailable.","default":false},"appsgwService":{"type":"string","description":"FINN data service. Choose a FINN data service, such as location_autocomplete, company_profile or messaging_ad_store. Supply the matching term or identifier in the fields below."},"appsgwTerm":{"type":"string","description":"Service search term. Search term for suggestion services, or job-title text for supported occupation services."},"appsgwId":{"type":"string","description":"Service identifier. One identifier for the selected service: an ad, organization, postal area, occupation or agent identifier."},"appsgwIds":{"type":"array","items":{"type":"string"},"description":"Service identifiers. List of ad identifiers for messaging_ad_store."},"appsgwLimit":{"type":"integer","minimum":1,"maximum":100,"description":"Suggestion limit. Maximum suggestions requested from a suggestion service, from 1 to 100. Leave empty to use its default; maxResults still limits delivered rows."},"nybruktCategory":{"type":"string","description":"Nybrukt category. Refurbished-electronics category with channel set to nybrukt: mobil, nettbrett, smartklokke, lyd or laptop. These mean phones, tablets, smartwatches, audio and laptops."},"nybruktProduct":{"type":"string","description":"Nybrukt product slug. Product slug with channel set to nybrukt, for example apple,iphone-14. Returns available reseller or product-variant rows."},"nybruktExpandVariants":{"type":"boolean","description":"Expand Nybrukt variants. For a Nybrukt category, expand products into available reseller-variant rows. Off by default; each delivered variant counts as one billed row.","default":false,"example":false},"mapBbox":{"type":"string","description":"Map area coordinates. Map area as min_lon,min_lat,max_lon,max_lat. If omitted for map discovery, the default covers southern Norway."},"mapZoom":{"type":"integer","minimum":3,"maximum":16,"description":"Map zoom. Map zoom level from 3 to 16. The default is 10.","default":10},"mapLayers":{"type":"array","items":{"type":"string"},"description":"Map layers. FINN map-layer identifiers to include. Leave empty to use the available public-search layers."},"priceFrom":{"type":"integer","minimum":0,"description":"Price from (NOK). Minimum price in Norwegian kroner for supported search channels."},"priceTo":{"type":"integer","minimum":0,"description":"Price to (NOK). Maximum price in Norwegian kroner for supported search channels."},"priceCollectiveFrom":{"type":"integer","minimum":0,"description":"Collective price from. Minimum collective price in Norwegian kroner, where this property filter is supported."},"priceCollectiveTo":{"type":"integer","minimum":0,"description":"Collective price to. Maximum collective price in Norwegian kroner, where this property filter is supported."},"areaFrom":{"type":"integer","minimum":0,"description":"Area from (m²). Minimum property area in square metres."},"areaTo":{"type":"integer","minimum":0,"description":"Area to (m²). Maximum property area in square metres."},"plotAreaFrom":{"type":"integer","minimum":0,"description":"Plot area from (m²). Minimum plot area in square metres."},"plotAreaTo":{"type":"integer","minimum":0,"description":"Plot area to (m²). Maximum plot area in square metres."},"minBedrooms":{"type":"integer","minimum":0,"maximum":20,"description":"Min bedrooms. Minimum number of bedrooms, from 0 to 20."},"propertyType":{"type":"string","description":"Property type. FINN property category ID or label, such as 3 or leilighet for apartments."},"ownershipType":{"type":"string","description":"Ownership type. FINN ownership category ID or label, such as 3 or selveier for freehold ownership."},"constructionYearFrom":{"type":"integer","description":"Construction year from. Earliest construction year to include, from 1800 to 2100."},"constructionYearTo":{"type":"integer","description":"Construction year to. Latest construction year to include, from 1800 to 2100."},"published":{"type":"string","description":"Published filter. FINN recency-filter value. This is not an automatically advancing date range."},"videoType":{"type":"string","description":"Video type. FINN video-filter value, where supported by the selected property category."},"sort":{"type":"string","enum":["PUBLISHED_DESC","PRICE_ASC","PRICE_DESC","PRICE_ASKING_ASC","PRICE_ASKING_DESC","PRICE_SQM_ASC","PRICE_SQM_DESC","AREA_PROM_ASC","AREA_PROM_DESC"],"description":"Sort. Choose the ordering of search results. Unrecognized values are ignored rather than failing the request."},"enrichDetails":{"type":"boolean","description":"Enrich details. Add available listing details, including viewing information, facilities, photos and contact fields. Enabled by default; field availability varies by ad.","default":true},"enrichOffice":{"type":"boolean","description":"Enrich office. Add available office information to a listing row. Off by default; a published office link is required for additional profile details.","default":false},"enrichAreaProfile":{"type":"boolean","description":"Enrich area profile. Add available area-profile information to enrichment.areaProfile. Off by default; unavailable information may include an error description.","default":false},"enrichOwnershipHistory":{"type":"boolean","description":"Enrich ownership history. Add available property ownership-history information to enrichment.ownershipHistory. Off by default; coverage varies by ad.","default":false},"enrichNeighborhood":{"type":"boolean","description":"Enrich neighborhood. Add available neighborhood information to enrichment.neighborhood. Off by default; coverage varies by ad.","default":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"location":"Oslo","channel":"sale","enrichDetails":true,"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"name":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"},"status":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"authority":{"nullable":true,"type":"string"},"phones":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"nullable":true},"type":{"nullable":true,"type":"string"},"e164":{"nullable":true}},"additionalProperties":true}},"emails":{"nullable":true,"type":"array","items":{"type":"object","properties":{"value":{"nullable":true,"type":"string"},"type":{"nullable":true,"type":"string"}},"additionalProperties":true}},"address":{"nullable":true,"properties":{"street":{"nullable":true,"type":"string"},"unit":{"nullable":true,"type":"string"},"locality":{"nullable":true,"type":"string"},"region":{"nullable":true,"type":"string"},"postalCode":{"nullable":true,"type":"string"},"country":{"nullable":true,"type":"string"},"full":{"nullable":true,"type":"string"}},"additionalProperties":true},"geo":{"nullable":true,"type":"object","properties":{"lat":{"nullable":true,"type":"number"},"lng":{"nullable":true,"type":"number"},"accuracy":{"nullable":true,"type":"number"}},"additionalProperties":true},"person":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"role":{"nullable":true,"type":"string"}},"additionalProperties":true},"org":{"nullable":true,"type":"object","properties":{"name":{"nullable":true,"type":"string"},"id":{"nullable":true},"registrationNumber":{"nullable":true},"phone":{"nullable":true,"type":"string"},"email":{"nullable":true,"type":"string"},"homePage":{"nullable":true,"type":"string"}},"additionalProperties":true},"web":{"nullable":true,"type":"object","properties":{"website":{"nullable":true,"type":"string"},"socials":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"leadSource":{"nullable":true,"type":"string"},"leadReveal":{"nullable":true,"type":"string"},"leadAbsences":{"nullable":true,"type":"object","additionalProperties":{"type":"string"}},"finnkode":{"nullable":true,"type":"string"},"listingId":{"nullable":true,"type":"string"},"listingUrl":{"nullable":true,"type":"string"},"channel":{"nullable":true,"type":"string"},"listingType":{"nullable":true,"type":"string"},"sellerType":{"nullable":true,"type":"string"},"integrityToken":{"nullable":true,"type":"string"},"phoneCallbackUrl":{"nullable":true,"type":"string"},"phoneNumberCallbackUrl":{"nullable":true,"type":"string"},"contactType":{"nullable":true,"type":"string"},"messagingUrl":{"nullable":true,"type":"string"},"dealerProfileUrl":{"nullable":true,"type":"string"},"dealerLogo":{"nullable":true,"type":"string"},"dealerRegistrationUrl":{"nullable":true,"type":"string"},"sitemapSeed":{"nullable":true,"type":"string"},"phoneRevealRoute":{"nullable":true,"type":"string"},"dealerName":{"nullable":true,"type":"string"},"dealerPhone":{"nullable":true,"type":"string"},"dealerEmail":{"nullable":true,"type":"string"},"organisationName":{"nullable":true,"type":"string"},"price":{"nullable":true},"priceDisplay":{"nullable":true},"description":{"nullable":true,"type":"string"},"year":{"nullable":true},"mileage":{"nullable":true},"mileageUnit":{"nullable":true,"type":"string"},"vin":{"nullable":true,"type":"string"},"registrationNumber":{"nullable":true,"type":"string"},"imageUrl":{"nullable":true,"type":"string"},"imageUrls":{"nullable":true,"type":"array","items":{}},"make":{"nullable":true,"type":"string"},"model":{"nullable":true,"type":"string"},"modelSpec":{"nullable":true,"type":"string"},"fuel":{"nullable":true,"type":"string"},"transmission":{"nullable":true,"type":"string"},"tradeType":{"nullable":true,"type":"string"},"mainSearchKey":{"nullable":true,"type":"string"},"timestamp":{"nullable":true},"scrapedAt":{"nullable":true,"type":"string"},"sourceLayer":{"nullable":true,"type":"string"},"contentDepth":{"nullable":true,"type":"string"},"bedrooms":{"nullable":true},"rooms":{"nullable":true},"areaSqm":{"nullable":true},"propertyType":{"nullable":true,"type":"string"},"ownershipType":{"nullable":true,"type":"string"},"facilities":{"nullable":true,"type":"array","items":{}},"viewings":{"nullable":true,"type":"array","items":{}},"agentName":{"nullable":true,"type":"string"},"officeName":{"nullable":true,"type":"string"},"officeUrl":{"nullable":true,"type":"string"},"labels":{"nullable":true,"type":"array","items":{}},"extras":{"nullable":true,"type":"array","items":{}},"flags":{"nullable":true,"type":"array","items":{}},"url":{"nullable":true,"type":"string"},"dataType":{"nullable":true,"type":"string"},"brand":{"nullable":true,"type":"string"},"source":{"nullable":true,"type":"string"},"updated":{"nullable":true,"type":"string"},"published":{"nullable":true,"type":"string"},"enrichment":{"nullable":true,"type":"object"},"raw":{"nullable":true,"type":"object"},"service":{"nullable":true,"type":"string"},"serviceDataJson":{"nullable":true,"type":"string"},"httpStatus":{"nullable":true,"type":"number"},"value":{"nullable":true},"code":{"nullable":true},"average":{"nullable":true,"type":"number"},"median":{"nullable":true,"type":"number"},"lowerQuartile":{"nullable":true,"type":"number"},"upperQuartile":{"nullable":true,"type":"number"},"numberOfEmploymentsWithEarnings":{"nullable":true,"type":"number"},"updatedAt":{"nullable":true,"type":"string"},"count":{"nullable":true,"type":"number"},"totalCount":{"nullable":true,"type":"number"},"subject":{"nullable":true,"type":"string"},"image":{"nullable":true,"type":"string"},"vertical":{"nullable":true,"type":"string"},"trackingCategory":{"nullable":true,"type":"string"},"segment":{"nullable":true,"type":"string"},"isOwner":{"nullable":true,"type":"boolean"},"disclaimer":{"nullable":true,"type":"string"},"seller_id":{"nullable":true,"type":"string"},"seller_name":{"nullable":true,"type":"string"},"seller_logo":{"nullable":true,"type":"string"},"seller_description":{"nullable":true,"type":"string"},"product_id":{"nullable":true},"productId":{"nullable":true},"sku":{"nullable":true,"type":"string"},"gtin":{"nullable":true},"variant_id":{"nullable":true,"type":"string"},"variantId":{"nullable":true,"type":"string"},"variantSpecification":{"nullable":true,"type":"object","additionalProperties":true},"condition":{"nullable":true,"type":"string"},"storage":{"nullable":true,"type":"string"},"colour":{"nullable":true,"type":"string"},"battery_health_pct":{"nullable":true},"reseller_variant_id":{"nullable":true,"type":"string"},"reseller_lowest_price":{"nullable":true,"type":"number"},"reseller_count_on_hand":{"nullable":true,"type":"number"},"shipping_price_ore":{"nullable":true,"type":"number"},"lowest_price":{"nullable":true,"type":"number"},"price_currency":{"nullable":true,"type":"string"},"url_slug":{"nullable":true,"type":"string"},"available_discounts":{"nullable":true,"type":"array","items":{}},"categories":{"nullable":true,"type":"array","items":{}},"images":{"nullable":true,"type":"array","items":{}},"model_id":{"nullable":true},"bodyType":{"nullable":true,"type":"string"},"fuelConsumption":{"nullable":true},"wheelDrive":{"nullable":true,"type":"string"},"owners":{"nullable":true},"co2Emissions":{"nullable":true},"equipment":{"nullable":true,"type":"array","items":{}},"warranty":{"nullable":true,"type":"string"},"damages":{"nullable":true,"type":"array","items":{}},"repairs":{"nullable":true,"type":"array","items":{}},"servicePlanFollowed":{"nullable":true},"firstRegistration":{"nullable":true,"type":"string"},"salesForm":{"nullable":true,"type":"string"},"rightToExchange":{"nullable":true},"exteriorColor":{"nullable":true,"type":"string"},"doors":{"nullable":true},"seats":{"nullable":true},"bootSize":{"nullable":true},"maxTrailerWeight":{"nullable":true},"weight":{"nullable":true},"engine":{"nullable":true,"additionalProperties":true},"modelAndMake":{"nullable":true,"type":"string"},"orgId":{"nullable":true},"dealerAddress":{"nullable":true,"additionalProperties":true},"tradeTypeLabel":{"nullable":true,"type":"string"},"category":{"nullable":true,"additionalProperties":true},"subCategory":{"nullable":true,"additionalProperties":true},"adType":{"nullable":true,"type":"string"},"docType":{"nullable":true,"type":"string"},"series":{"nullable":true,"type":"string"},"registrationClass":{"nullable":true,"type":"string"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: listingId, title, url, totalPrice."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}