Skip to the text
SEDIS Partner API API reference

Concepts

A handful of words carry the whole API. Sedis is a Swedish product, so your colleagues may know them by their Swedish names.

Throughout the guide, a coloured line beside the text shows which product it is about: Bolagsanalys or Fastighetsbenchmark. Text without a line is about both.

The words

In this guide In the API In Sedis What it is
Company companies Bolag A listed property company in Bolagsanalys
Parameter parameters Parameter What is measured: rental income, equity ratio, market value
Property unit property-units Fastighet A property you own
Collection collections Samling A group of your property units that you have put together
Sedis object – Sedisobjekt Many owners' properties added together by Sedis, so that no single one can be recognised
Comparison area comparison-areas Jämförelseområde Your view of a Sedis object: the market you compare yourself with
Comparison object comp Jämförelseobjekt A property unit, a collection or a comparison area
Reference zone reference-zones Externa kartlager Published market data from others, such as Nils Holgersson and Cushman & Wakefield
Value data, comp-data Värde One figure: one parameter, for one thing, at one point in time

The two products do not share anything but the word parameter. RA13 exists only in Bolagsanalys and FN0 only in Fastighetsbenchmark.

Company, parameter, quarter

A figure is found by three things: companyId, parameterCode and quarterId.

The quarter is written as the year and the number of the quarter: 20253 is the third quarter of 2025. In a filter you can also write 2025Q3.

The parameter code says what is measured, and also in which unit and over which period. Rental income in SEK million has three codes:

Code period What the figure for 20253 covers
RA11 Kvartal (quarter) July to September 2025
RA12 Ackumulerat (year to date) January to September 2025
RA13 Rullande12Man (rolling 12 months) October 2024 to September 2025

The last digit is the period, as above. The digit before it is the unit: 1 is SEK million, 3 is SEK, 4 is SEK per m², 5 is m², 6 is per cent, 7 is a number of something, 8 is a factor and 9 is years. RA43 is therefore rental income per square metre over the last twelve months.

Yields and margins for a single quarter are about a quarter of what people expect, or swing with the season. When somebody asks for "the direct yield", they nearly always mean the rolling twelve months: a code that ends in 3.

Companies sometimes correct earlier quarters, and Sedis sometimes adds a parameter and fills it in backwards. An old figure can therefore change. lastUpdatedUtc says when it last did.

Your properties and the market

How the parts of Fastighetsbenchmark fit together Your property units can be grouped into your collections. Shared values from your property units and from other owners' properties are added together into Sedis objects. A comparison area is your view of a Sedis object. You compare your property units and collections with your comparison areas. Your property unitsproperty-units Sedis objectmany owners, anonymous Other owners' propertiesnever shown to you Your collectionscollections Your comparison areascomparison-areas sharedsharedyou group themyour view of itcompare
Solid boxes are what the API gives you. Dashed boxes stay inside Sedis.

Property unit. A property you own. It gets a sedisId when it is created, and that id never changes.

Collection. A group of your property units that you choose, such as Offices in Solna. Sedis calculates the same parameters for the collection as for a single property unit. You create, change and delete collections yourself.

Sedis object. Sedis adds together properties from many owners, for instance all offices in central Stockholm. A value is shown only when there are at least five properties and three owners behind it, none of them with more than 70 per cent of the market value. A Sedis object cannot be fetched.

Comparison area. Your view of a Sedis object, with the market's values. You can fetch the areas that Sedis has set up for your company.

Comparison object. The word for property units, collections and comparison areas together, comp for short. They all have a sedisId, and their values are fetched in the same way, from comp-data. That is why a comparison is easy: ask for the same parameter for your property units and for your comparison area.

Reference zone. An area in market data that others have published. Everybody sees the same zones. The API lists them, but their values are only in Sedis on the web.

SedisId

sedisId is the id of everything in Fastighetsbenchmark: v4ZIL9NafVo is one. Sedis makes it up at random when the thing is created, and it never changes or comes back for something else.

  • Upper and lower case matter. v4ZIL9NafVo and v4zil9nafvo are two different ids. Many databases and spreadsheets treat them as the same, so check that a join or a lookup in yours tells them apart.
  • It is a text of at most 14 characters. Do not read anything into it or expect a certain length.
  • It is safe to use as it is in an address, a file name or a JSON key: only the letters a to z, digits and underscore, and never a digit first.

Companies in Bolagsanalys have a companyId of the same kind.

Values and value dates

A value belongs to one sedisId, one parameterCode and one valueDate. The value date is the last day of the period, and today always 31 December. Rents, costs and net operating income cover the twelve months that end on that day. Market value and area are as they were on that day.

Values for quarters and half-years are on their way. When they come, a property unit can have several value dates in one year. Filter on valueDate rather than assuming one row per year.

Check the unit. Every parameter has one, in unit. Amounts are in thousands of SEK (kSEK): a market value of SEK 412 million is 412000.

The first letter of the code decides the type, and dataType says it in clear text:

Code starts with dataType Read the value from
B boolean boolean
D date date
E enum enum, with value and name
anything else decimal figure
[
  {
    "sedisId": "v4ZIL9NafVo", "parameterCode": "FN0", "valueDate": "2025-12-31",
    "dataType": "decimal", "figure": 412000
  },
  {
    "sedisId": "v4ZIL9NafVo", "parameterCode": "EA0", "valueDate": "2025-12-31",
    "dataType": "enum", "figure": 1, "enum": { "value": 1, "name": "Management" }
  }
]

Base values and calculated values

Some parameters are base data that you report: market value, rents, areas, costs (isBaseData: true). The others are calculated by Sedis from them, such as direct return VE0 and total return VG0. You can only write base data.

When a base value changes, the calculated values that depend on it are removed at once and come back when they have been worked out again. Until then calculation.status on the property unit or the collection is pending; after that it is current. A calculated value is therefore sometimes missing, but never out of date.

Shared values

When Sedis has reviewed and published the values of a value date, they are shared: they count in the Sedis objects that others compare themselves with. Nobody sees your property, but your figures are part of the average. That is why a shared value cannot be changed without Sedis having a look first. Write data has the details.

What you can see

You reach your own company's data and nobody else's. The company is decided by your key or your sign-in, never by anything in the call, and the rule sits in the database layer below every call.

If you ask for a sedisId that belongs to another customer, the answer is 404 Not Found, exactly as if it did not exist.

In Bolagsanalys you see the companies and the years that your company has in Sedis.

An example: our offices against Stockholm

How has the total return of our offices been, compared with the market in central Stockholm, over ten years? That is four calls.

1. Find the comparison area.

curl -H "X-Api-Key: $SEDIS_API_KEY" \
  "https://api.sedis.se/v2/fastighetsbenchmark/comparison-areas?nameContains=CBD%20Stockholm"

2. Find your offices in it. belongsToComparisonAreaSedisId gives your own property units inside the area. Property types have Swedish names; Kontor is office.

curl -H "X-Api-Key: $SEDIS_API_KEY" \
  "https://api.sedis.se/v2/fastighetsbenchmark/property-units?belongsToComparisonAreaSedisId=kR4tQ9wLmE2&propertyTypeName=Kontor"

3. Find the parameter. Among the rows is VG0, Total return, in per cent.

curl -H "X-Api-Key: $SEDIS_API_KEY" \
  "https://api.sedis.se/v2/fastighetsbenchmark/parameters?nameContains=total%20return"

4. Fetch the values for your offices and the area in one call.

curl -H "X-Api-Key: $SEDIS_API_KEY" \
  "https://api.sedis.se/v2/fastighetsbenchmark/comp-data?sedisIdIn=v4ZIL9NafVo,pR7m2KdQ0z,kR4tQ9wLmE2&parameterCode=VG0&fromDate=2016-12-31"

If you want one line for all your offices instead of one per property unit, create a collection and ask for its sedisId.

Next: Read data