FINN for builders: how to get your listings into your own app or site, and when you need Dealer Hub

Disclaimer: Die Inhalte, die du auf dieser Seite siehst, wurden mit Hilfe von KI übersetzt. Wenn du Feedback zur Übersetzung hast, kontaktiere uns bitte.

Key takeaways:

  1. There is no public FINN API. You can only read ads you own, with a paid key ordered by the advertiser through their FINN salesperson.

  2. The API returns Atom feeds in XML with ad data in finn:adata. Fetch it server-side, store the result, and never call FINN from the browser.

  3. Sync on a schedule, key every record by the FINN ad ID, and unpublish anything that is no longer in the feed.

  4. To publish vehicle ads to FINN you need Vend Dealer Hub, not the read API. Real estate, jobs and Torget have their own routes.

If you build with Lovable, Claude Code or Cursor and want your FINN ads inside your own app or site, you can, but only for ads you own: there is no public FINN API. The advertiser orders a paid API key through their FINN salesperson, and your server then reads the ads as Atom/XML feeds, stores them and refreshes them on a schedule. Publishing ads to FINN is a different thing: for cars, boats and other vehicles that goes through Vend Dealer Hub.

Before we start: three questions

  1. Which ad category? Cars, boats, real estate, jobs or Torget. It decides which search you call, and which route you need if you also want to publish.
  2. What is your stack? A Lovable app on Supabase, a Next.js app from Claude Code, Webflow, WordPress? You need somewhere to run server code and somewhere to store the ads.
  3. How many ads? A handful, or thousands? That decides paging, image handling and how often you sync.

What is actually possible with FINN?

  • Read your own ads: yes. FINN's REST API gives access to search, filtering and fetching of FINN ads, but FINN is clear that you only get access to ad data you own (FINN help centre: API).
  • Read other people's ads: no. FINN's FAQ says third parties cannot get access because the advertiser owns the ad. There is no demo key and no open-data API (finn.no/api/faq). Do not let your AI tool talk you into scraping.
  • Publish ads to FINN: yes, through other routes. See "When do you need Dealer Hub?" below.

How do you get access?

  1. The advertiser (the dealer, the estate agency, the company that owns the ads) contacts their FINN customer contact and asks for API access. It needs an access agreement, and FINN says these products cost money. FINN does not publish a price.
  2. If a developer or agency builds it, the advertiser still makes the request. FINN then sends the key to both.
  3. You get a key and the advertiser's orgId. The orgId is FINN's own ID, not the Norwegian organisation number.
  4. A new key can take about an hour to activate. A 403 means the key does not work (yet). Questions go to [email protected].

What does the data look like?

From FINN's docs (getting started, search docs):

  • Base URL: https://cache.api.finn.no/iad/. The service document at /iad/ lists the available searches.
  • Auth: the header x-FINN-apikey: <key>.
  • A search URL looks like https://cache.api.finn.no/iad/search/realestate-homes?orgId=<your_orgId>. Use the search for your own category.
  • The response is an Atom feed (XML) extended with OpenSearch and FINN namespaces. Each ad is an Atom entry, and the ad data sits in finn:adata.
  • The API is hypermedia-driven: follow the first, previous, next and last links to page. rows is capped at 1000 and page at 50. Going past that returns 200 OK with no more results.
  • FINN prefers "graceful degradation over versioning", so check the changelog now and then. The docs pages still say © 2022, so verify details against a real response.

A minimal server-side fetch in TypeScript

Derived from FINN's docs, not executed. We could not run it without a key, and the fields inside finn:adata differ per category, so the code keeps that part raw for you to map after you have seen a real response. It uses fast-xml-parser; any XML parser works.

// Derived from FINN's API docs (finn.no/api), not executed.
// Server-side only: the API key must never reach the browser.
import { XMLParser } from "fast-xml-parser";

const BASE = "https://cache.api.finn.no/iad";
const API_KEY = process.env.FINN_API_KEY ?? "";
const ORG_ID = process.env.FINN_ORG_ID ?? ""; // FINN's orgId, not the organisasjonsnummer

const parser = new XMLParser({ ignoreAttributes: false, attributeNamePrefix: "@_" });

const asArray = (v: any): any[] => (v == null ? [] : Array.isArray(v) ? v : [v]);
const text = (v: any): string =>
  typeof v === "object" && v !== null ? String(v["#text"] ?? "") : String(v ?? "");

export type FinnListing = {
  id: string;      // Atom entry id: your sync key
  title: string;
  url?: string;    // link rel="alternate"
  updated: string;
  adata: unknown;  // raw finn:adata, map it after inspecting a real response
};

async function getFeed(url: string) {
  const res = await fetch(url, { headers: { "x-FINN-apikey": API_KEY } });
  if (res.status === 403) {
    throw new Error("FINN rejected the key (403). New keys can take about an hour to activate.");
  }
  if (!res.ok) throw new Error(`FINN API error ${res.status}`);
  return parser.parse(await res.text()).feed;
}

// searchKey: the search for your category, from the service document at /iad/
export async function fetchOwnListings(searchKey: string): Promise<FinnListing[]> {
  const out: FinnListing[] = [];
  let next: string | undefined =
    `${BASE}/search/${searchKey}?orgId=${encodeURIComponent(ORG_ID)}`;
  let pages = 0;
  while (next && pages < 50) { // FINN caps paging at page=50
    const feed = await getFeed(next);
    for (const e of asArray(feed?.entry)) {
      const alt = asArray(e.link).find((l) => l["@_rel"] === "alternate");
      out.push({
        id: text(e.id),
        title: text(e.title),
        url: alt?.["@_href"],
        updated: text(e.updated),
        adata: e["finn:adata"],
      });
    }
    next = asArray(feed?.link).find((l) => l["@_rel"] === "next")?.["@_href"];
    pages++;
  }
  return out;
}

The sync around it is plain logic:

// Not executed. Pseudocode around fetchOwnListings().
const listings = await fetchOwnListings("<your-search-key>");
const seen = new Set(listings.map((l) => l.id));

for (const l of listings) {
  await upsertByFinnId(l);      // insert new, update changed (compare l.updated)
}
for (const stored of await listStoredFinnIds()) {
  if (!seen.has(stored)) await unpublish(stored); // sold or removed on FINN
}

One warning: only unpublish when the fetch finished without errors. If FINN returns an error halfway, an empty or partial list would otherwise take your whole stock offline.

Caching, scheduling and images

  • Never call FINN per page view. Fetch on a schedule, store the ads in your own database or CMS, and serve pages from there. Your site stays fast and keeps working if FINN is slow.
  • Pick a schedule that fits your stock. Our Nordic Boats integration runs every 4 hours. Run it as a cron job, a scheduled function (for example a Supabase Edge Function on a schedule in a Lovable project), or an n8n workflow.
  • Keep the key secret. Store it as a server-side secret or environment variable, never in frontend code or a public repo.
  • Images: decide whether you copy them into your own storage or show them from the source, and resize them for your layout. Check your agreement with FINN for what you may do with the data.
  • Log and alert. Record each run, how many ads came back, and failures. A silent sync that stopped a week ago is the most common problem.

A brief you can paste into your AI tool

Build a server-side FINN.no sync for my app.

Facts (from finn.no/api, do not invent anything beyond this):
- Only my own ads are available. Base URL https://cache.api.finn.no/iad/
- Auth header: x-FINN-apikey. Key in env var FINN_API_KEY, orgId in FINN_ORG_ID.
- Search URL: /iad/search/<searchKey>?orgId=<orgId>. My category: <cars/boats/...>
- Response: Atom XML with OpenSearch + FINN namespaces. Each ad is an entry;
  ad data in finn:adata. Paging via link rel="next". Max rows=1000, page=50.
- 403 = key not working (new keys take about an hour).

Requirements:
- Runs only on the server (scheduled function / cron), every <N> hours. Never in the browser.
- Store ads in table finn_listings keyed by the FINN entry id.
- Upsert new/changed ads; unpublish ads missing from a COMPLETE fetch only.
- Keep the raw finn:adata; show me one real response before mapping fields.
- Log every run (count, errors) and alert me on failure.
- No scraping, no client-side API calls, no key in the frontend.

When do you need Dealer Hub?

The FINN API above only reads. If your app should create, update or renew ads on FINN, you need a different route per category:

  • Cars, boats, machinery and other vehicles: the Vend Dealer Hub Ad API. You register your app with Vend, authenticate with OAuth 2.0 client credentials, and each dealer must pick your app as a "Trusted DMS Integration". It has no extra cost for dealers. See the Dealer Hub developer portal and our guide Vend Dealer Hub or your own integration?
  • Real estate: the old XML import closed on 01.09.2026. Brokers' systems use the new JSON import API, and companies publishing their own listings are pointed to MeglerHub (integrator docs).
  • Jobs: ATS systems still send XML based on FINN's DTDs.
  • Torget shops: Store Hub Connect, which takes a product feed from your shop or system.

When to bring in a developer

Getting a first response from FINN into your app is doable with an AI tool. Bring in a developer when:

  • the app goes live for customers and stale or missing ads cost you sales,
  • you need images, sold ads and errors handled reliably, with alerts,
  • you also want to publish to FINN through Dealer Hub, or sync several systems,
  • you are not sure the key and the data are handled safely in what the AI generated.

Rocksoft is a software company with teams in Poland and Norwegian-speaking staff, building integrations and custom software for companies in Norway and across Europe. We built the FINN to Webflow sync for Nordic Boats, which fetches their boats every 4 hours with no manual work. See how we connect AI-built apps to real systems, our FINN integration page, or get a code audit of what you have built. Also useful: Connecting a vibe-coded app to real systems and the checklist before an integration goes live.

Read next

FAQ

Is there a public FINN API?

No. The FINN API only gives access to ads you own, with an access agreement and a key. Third parties cannot get access to other people's ads.

Can I get a test or demo key?

No. FINN says there is no demo key. You need a real key ordered by the advertiser.

Is the FINN API JSON?

No. The search API returns Atom feeds in XML with OpenSearch and FINN namespaces. Parse it on your server and store it in whatever format your app uses.

Can I call the FINN API from my Lovable frontend?

You should not. The key would be visible to anyone. Call FINN from a server function on a schedule, and let the frontend read from your own database.

How many ads can I fetch?

Requests are capped at rows=1000 and page=50. Beyond that FINN returns 200 OK with no more results.

Can my app post ads to FINN?

Not through the read API. For vehicles use the Vend Dealer Hub Ad API, for real estate the JSON import API, for jobs the ATS XML import, and for Torget shops Store Hub Connect.

Why does the API return 403?

The key does not work. A new key can take about an hour to activate. Also check that you pass the right orgId.