Skip to the text
SEDIS Partner API API reference

Partner API v1

Version 1 is an OData API for Bolagsanalys. It has been in use since 2020 and stays as it is: nothing in it changes, and no end date has been set. If you are starting something new, use version 2, which also has Fastighetsbenchmark.

Address https://api.sedis.se/partnerapi
Sign-in Basic authentication, with a user name and password from info@sedis.se
Reference The v1 reference, where you can also try the calls
OpenAPI /openapi/v1.json
curl -u "$SEDIS_USER:$SEDIS_PASSWORD" "https://api.sedis.se/partnerapi/Companies?\$top=5"

The data

Sedis collects the figures in the interim reports of listed Nordic property companies. They come in three resources.

Companies has the companies.

Field What it is
CId Sedis's id for the company
Name Its name
IsInactive true for a company that no longer reports, often because it has been bought. Its old figures are still there.
NextReportDate When the next report is expected, or null
LatestReportUri The latest report as a PDF
CountryCode Its main country, in two letters
NationalIdentificationNumber The Swedish registration number, with 16 in front

Parameters has what is measured. Names and groups are in Swedish.

Field What it is Example
PId The code of the parameter RAF11
Name Its name Uppskjuten skatt
Grp The group. The first letter of the code is the same for the whole group. Resultaträkning
Info The unit MSEK
Period Kvartal, Ackumulerat (year to date) or Rullande12Man (rolling 12 months) Kvartal

The last two digits of the code are the unit and the period. Concepts explains them, and why it matters which period you choose.

Data has the figures. This is deferred tax, in SEK million, for one company in the third quarter of 2025:

{
  "CId": "rlpxmfsj",
  "PId": "RAF11",
  "Q": 20253,
  "Figure": 415.0,
  "Txt": null,
  "Modif": "2025-10-27"
}

CId, PId and Q together point out one figure. The value is in Figure, or in Txt for the few parameters that are texts. Modif is the day Sedis last changed it.

Fetch what is new, every night

Figures arrive when the companies report, usually within two days. Sometimes a company corrects an old quarter, or Sedis adds a parameter and fills it in backwards. Ask for what has changed, and you get all of that:

curl -G -u "$SEDIS_USER:$SEDIS_PASSWORD" "https://api.sedis.se/partnerapi/Data" \
  --data-urlencode '$filter=Modif ge 2025-12-02'
  • Use ge and the day of your last run. Modif has no time of day. With gt you lose what was changed later that same day. A few figures come twice, so overwrite on CId, PId and Q.
  • One call is enough for all companies and parameters. There is no need for one per company.
  • Run it at night, and ask for compressed answers. They are about a tenth of the size.

The first time, let us send you everything as a file instead of fetching it through the API. Write to info@sedis.se.

Choose what you get

Filters are written in OData. Spaces have to be encoded in the address. --data-urlencode does it in curl, and most libraries do it for you.

You want Add to the address
Three parameters for one company and quarter /Data?$filter=CId eq 'rlpxmfsj' and Q eq 20253 and PId in ('RAF11','FM11','NAL61')
The whole balance sheet for a quarter /Data?$filter=startswith(PId,'B') and Q eq 20253
Swedish companies only /Data?$filter=Company/CountryCode eq 'SE' and Q eq 20253
Only companies that still report /Companies?$filter=IsInactive eq false
The latest quarters first, with the company in each row /Data?$filter=PId eq 'RAF11'&$orderby=Q desc,Company/Name&$expand=Company&$top=200
Rows 1,501 to 2,000 /Data?$filter=startswith(PId,'B')&$skip=1500&$top=500

You get everything that matches in one answer, unless you divide it with $top and $skip. If an answer has @odata.nextLink, there is more to fetch at that address.

Examples

All three fetch what has changed since a certain day.

Python

import os

import requests

session = requests.Session()
session.auth = (os.environ["SEDIS_USER"], os.environ["SEDIS_PASSWORD"])

url, params = "https://api.sedis.se/partnerapi/Data", {"$filter": "Modif ge 2025-12-02"}
rows = []
while url:
    answer = session.get(url, params=params, timeout=300)
    answer.raise_for_status()
    body = answer.json()
    rows += body["value"]
    url, params = body.get("@odata.nextLink"), None

print(f"{len(rows)} figures")

C#

using System.Net;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text;
using System.Text.Json.Serialization;

var login = $"{Environment.GetEnvironmentVariable("SEDIS_USER")}:{Environment.GetEnvironmentVariable("SEDIS_PASSWORD")}";
using var http = new HttpClient(new HttpClientHandler { AutomaticDecompression = DecompressionMethods.All });
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes(login)));

var rows = new List<Datum>();
string? url = "https://api.sedis.se/partnerapi/Data?$filter=" + Uri.EscapeDataString("Modif ge 2025-12-02");
while (url is not null)
{
    var answer = await http.GetFromJsonAsync<Answer>(url);
    rows.AddRange(answer!.Value);
    url = answer.NextLink;
}

Console.WriteLine($"{rows.Count} figures");

record Answer(List<Datum> Value, [property: JsonPropertyName("@odata.nextLink")] string? NextLink);
record Datum(string CId, string PId, int Q, decimal? Figure, string? Txt, DateOnly Modif);

R

library(httr)
library(jsonlite)

login <- authenticate(Sys.getenv("SEDIS_USER"), Sys.getenv("SEDIS_PASSWORD"))
answer <- GET("https://api.sedis.se/partnerapi/Data",
              query = list(`$filter` = "Modif ge 2025-12-02"), login)
stop_for_status(answer)

rows <- fromJSON(content(answer, "text", encoding = "UTF-8"))$value
cat(nrow(rows), "figures\n")

Move to version 2

There is no hurry, and the two can be used side by side. The data is the same, with clearer names.

Version 1 Version 2
Address /partnerapi/Data /v2/bolagsanalys/data
Sign-in User name and password Key in X-Api-Key
Filter $filter=CId eq 'x' and Q eq 20253 companyId=x&quarterId=20253
What is new $filter=Modif ge 2025-12-02 changedSince=2025-12-02
Rows value data, at most 500 at a time
Language Swedish English, or Swedish with lang=sv
Errors OData's format Problem Details
Version 1 Version 2
CId companyId
PId parameterCode (code in the list of parameters)
Q quarterId
Figure, Txt figure, text
Modif (a day) lastUpdatedUtc (a point in time)
Grp groupName
Info Not a field of its own. The second last digit of the code is the unit.
Period period

Next: Versions and changes