Aleva open data
Swedish public data as read-only tools: registries, statistics, domains, transport, energy.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen describe_endpoint
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"data": {
"url": "https://api.aleva.se/mcp"
}
}
}Puntos de conexión remotos
https://api.aleva.se/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (40)
🟢air_passengers_monthly(cursor, limit, month, month_gte, month_lte)
Air passengers in Sweden per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); passengers (bigint); domestic (bigint); international (bigint); movements (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"month": {
"description": "Month (equals)",
"format": "date",
"type": "string"
},
"month_gte": {
"description": "Month (at least)",
"format": "date",
"type": "string"
},
"month_lte": {
"description": "Month (at most)",
"format": "date",
"type": "string"
}
},
"additionalProperties": false
}🟢airport_passengers(airport, airport_prefix, cursor, limit, year, ...)
Passengers per airport and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); airport (varchar); passengers (bigint); movements (bigint); international_share (double); months (bigint): Months reported (the current year is partial).
Esquema de entrada
{
"type": "object",
"properties": {
"airport": {
"description": "Airport (as reported, upper case) (equals)",
"type": "string"
},
"airport_prefix": {
"description": "Airport (as reported, upper case) (starts with)",
"type": "string"
},
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢consumer_prices(cursor, limit, measure_code, measure_code_in, month, ...)
Consumer price index per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date): First day of the month; measure_code (varchar): 00000807 index, 00000804 12-month change, 00000806 monthly change; measure (varchar); value (double).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"measure_code": {
"description": "00000807 index, 00000804 12-month change, 00000806 monthly change (equals)",
"type": "string"
},
"measure_code_in": {
"description": "00000807 index, 00000804 12-month change, 00000806 monthly change (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"month": {
"description": "Month (first day) (equals)",
"format": "date",
"type": "string"
},
"month_gte": {
"description": "Month (first day) (at least)",
"format": "date",
"type": "string"
},
"month_lte": {
"description": "Month (first day) (at most)",
"format": "date",
"type": "string"
}
},
"additionalProperties": false
}🟢court_rulings(court_code, court_code_in, cursor, decided_on, decided_on_gte, ...)
Published court rulings. Returns a list of records; pass next_cursor to get the next page. Fields: id (varchar); decided_on (date); published_at (timestamptz); court_code (varchar); court (varchar); kind (varchar): REFERAT (case report), DOM_ELLER_BESLUT (judgment or decision), ...; type (varchar); case_numbers (varchar); reference (varchar): Case report number, e.g. NJA 2026:12; keywords (varchar); laws (varchar): Provisions cited; summary (varchar).
Esquema de entrada
{
"type": "object",
"properties": {
"court_code": {
"description": "HDO Supreme Court, HFD Supreme Administrative Court, ... (equals)",
"type": "string"
},
"court_code_in": {
"description": "HDO Supreme Court, HFD Supreme Administrative Court, ... (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"decided_on": {
"description": "Decision day (equals)",
"format": "date",
"type": "string"
},
"decided_on_gte": {
"description": "Decision day (at least)",
"format": "date",
"type": "string"
},
"decided_on_lte": {
"description": "Decision day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 500,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢court_rulings_by_court(cursor, limit)
Rulings per court. Returns a list of records; pass next_cursor to get the next page. Fields: court_code (varchar); court (varchar); rulings (bigint); latest (date).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢debt_restructuring(cursor, limit, month, month_gte, month_lte)
Debt restructuring applications per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); applications (bigint); women (bigint); men (bigint); eservice_share (double): Share filed via the e-service.
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"month": {
"description": "Month (equals)",
"format": "date",
"type": "string"
},
"month_gte": {
"description": "Month (at least)",
"format": "date",
"type": "string"
},
"month_lte": {
"description": "Month (at most)",
"format": "date",
"type": "string"
}
},
"additionalProperties": false
}🟢debt_restructuring_by_age(cursor, limit, year, year_gte, year_lte)
Debt restructuring per year and age. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); age_group (varchar); applications (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢describe_endpoint(tool)
The fields, parameters, licence, sources and freshness of one data tool.
Esquema de entrada
{
"type": "object",
"properties": {
"tool": {
"description": "A tool name from tools/list or search_catalogue",
"type": "string"
}
},
"required": [
"tool"
],
"additionalProperties": false
}🟢domain_lookup(name)
One domain in the latest zone. Returns one record, or an error when there is no match. Fields: domain (varchar): Domain name, lower-case; tld (varchar): se or nu; nameservers (varchar[]): NS host names; glue_v4 (varchar[]): In-zone glue A records; glue_v6 (varchar[]): In-zone glue AAAA records; has_ds (boolean): DNSSEC signed delegation; ds_algorithms (integer[]): DNSSEC algorithm numbers; serial (bigint): Zone serial the row comes from; fetched_at (timestamptz): When the zone was transferred. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"name": {
"description": "Domain name, e.g. example.se",
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
}🟢domains_dropped(cursor, date, limit, tld, tld_in)
Dropped .se and .nu domains on a date. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day the change was seen (Europe/Stockholm); domain (varchar); tld (varchar); prev_nameservers (varchar[]): Name servers before the change; prev_has_ds (boolean); serial (bigint): Serial the change was seen in; detected_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (Europe/Stockholm), YYYY-MM-DD (equals)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"tld": {
"description": "Zone: se or nu (equals)",
"type": "string"
},
"tld_in": {
"description": "Zone: se or nu (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"date"
],
"additionalProperties": false
}🟢domains_expiring(cursor, label_length, label_length_lte, limit, release_at, ...)
Domains about to be released. Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar); release_at (date): Day it can be registered again (from 04:00 UTC), unless renewed first; days_left (integer): Days from the list's date to the release date; label_length (integer): Characters before the dot; in_zone (boolean): Still delegated in the latest zone snapshot. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"label_length": {
"description": "Characters before the dot (equals)",
"type": "integer"
},
"label_length_lte": {
"description": "Characters before the dot (at most)",
"type": "integer"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"release_at": {
"description": "Release day (equals)",
"format": "date",
"type": "string"
},
"release_at_gte": {
"description": "Release day (at least)",
"format": "date",
"type": "string"
},
"release_at_lte": {
"description": "Release day (at most)",
"format": "date",
"type": "string"
},
"tld": {
"description": "Zone: se or nu (equals)",
"type": "string"
},
"tld_in": {
"description": "Zone: se or nu (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢domains_new(cursor, date, limit, tld, tld_in)
New .se and .nu domains on a date. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day the change was seen (Europe/Stockholm); domain (varchar); tld (varchar); nameservers (varchar[]): Name servers after the change (empty when removed); has_ds (boolean); serial (bigint): Serial the change was seen in; detected_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (Europe/Stockholm), YYYY-MM-DD (equals)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"tld": {
"description": "Zone: se or nu (equals)",
"type": "string"
},
"tld_in": {
"description": "Zone: se or nu (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"date"
],
"additionalProperties": false
}🟢domains_valuable(cursor, days_left_gte, days_left_lte, limit, possible_trademark, ...)
Domains about to be released, with a value score. Returns a list of records; pass next_cursor to get the next page. Fields: domain (varchar); tld (varchar); release_at (date): Day it can be registered again (from 04:00 UTC), unless renewed first; days_left (integer); length (integer): Characters before the dot; score (integer): 0-100; higher is shorter, cleaner and closer to real words; word_sv (boolean); word_en (boolean); compound (boolean); possible_trademark (boolean): Contains a well-known brand: probably not usable; reasons_sv (varchar): Why, in Swedish; reasons_en (varchar): Why, in English. Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0 SALDO, Språkbanken Text (University of Gothenburg), CC BY 4.0 Word list from SCOWL, copyright Kevin Atkinson (wordlist.aspell.net)
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"days_left_gte": {
"description": "Days until release (at least)",
"type": "integer"
},
"days_left_lte": {
"description": "Days until release (at most)",
"type": "integer"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"possible_trademark": {
"description": "Contains a well-known brand (equals)",
"type": "boolean"
},
"release_at": {
"description": "Release day (equals)",
"format": "date",
"type": "string"
},
"release_at_gte": {
"description": "Release day (at least)",
"format": "date",
"type": "string"
},
"release_at_lte": {
"description": "Release day (at most)",
"format": "date",
"type": "string"
},
"score_gte": {
"description": "Minimum score (at least)",
"type": "integer"
},
"tld": {
"description": "se or nu (equals)",
"type": "string"
}
},
"additionalProperties": false
}🟢electricity_balance(cursor, limit, year, year_gte, year_lte)
Electricity production and use per year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); series (varchar); twh (double).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢electricity_forecast(cursor, limit, series, series_in, year, ...)
Electricity production per source with forecast. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); series (varchar): Power source; twh (double).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"series": {
"description": "Power source (equals)",
"type": "string"
},
"series_in": {
"description": "Power source (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢foods(cursor, energy_kcal_gte, energy_kcal_lte, fibre_g_gte, fibre_g_lte, ...)
Foods and nutrients per 100 g. Returns a list of records; pass next_cursor to get the next page. Fields: food_id (integer); name (varchar); kind (varchar); energy_kcal (double); protein_g (double); fat_g (double); saturated_fat_g (double); carbohydrates_g (double); sugars_g (double); fibre_g (double); salt_g (double); iron_mg (double); calcium_mg (double); vitamin_c_mg (double); vitamin_d_ug (double). Attribution required when the data is shown: Source: Livsmedelsverket's food composition database, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"energy_kcal_gte": {
"description": "kcal per 100 g (at least)",
"type": "number"
},
"energy_kcal_lte": {
"description": "kcal per 100 g (at most)",
"type": "number"
},
"fibre_g_gte": {
"description": "Fibre per 100 g (at least)",
"type": "number"
},
"fibre_g_lte": {
"description": "Fibre per 100 g (at most)",
"type": "number"
},
"food_id": {
"description": "Food number (equals)",
"type": "integer"
},
"food_id_in": {
"description": "Food number (any of)",
"items": {
"type": "integer"
},
"maxItems": 50,
"type": "array"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"name": {
"description": "Name or its beginning, lower case (equals)",
"type": "string"
},
"name_prefix": {
"description": "Name or its beginning, lower case (starts with)",
"type": "string"
},
"protein_g_gte": {
"description": "Protein per 100 g (at least)",
"type": "number"
},
"protein_g_lte": {
"description": "Protein per 100 g (at most)",
"type": "number"
}
},
"additionalProperties": false
}🟢guest_nights(cursor, limit, month, month_gte, month_lte, ...)
Guest nights per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); origin (varchar): Sverige or Utland; nights (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"month": {
"description": "Month (equals)",
"format": "date",
"type": "string"
},
"month_gte": {
"description": "Month (at least)",
"format": "date",
"type": "string"
},
"month_lte": {
"description": "Month (at most)",
"format": "date",
"type": "string"
},
"origin": {
"description": "Sverige or Utland (equals)",
"type": "string"
}
},
"additionalProperties": false
}🟢guest_nights_by_country(cursor, limit, year, year_gte, year_lte)
Foreign guest nights per country and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); country (varchar); nights (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"required": [
"year"
],
"additionalProperties": false
}🟢guest_nights_by_county(county_code, county_code_in, cursor, limit, year, ...)
Guest nights per county and year. Returns a list of records; pass next_cursor to get the next page. Fields: year (integer); county_code (varchar); county (varchar); nights (bigint); foreign_share (double).
Esquema de entrada
{
"type": "object",
"properties": {
"county_code": {
"description": "County code (equals)",
"type": "string"
},
"county_code_in": {
"description": "County code (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢house_prices(cursor, limit, region_code, region_code_in, year, ...)
House price index. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar); region (varchar); year (integer); index (double): 1981 = 100.
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"region_code": {
"description": "00 Sweden, 0010 Greater Stockholm, ... (equals)",
"type": "string"
},
"region_code_in": {
"description": "00 Sweden, 0010 Greater Stockholm, ... (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢job_ads(cursor, date, date_gte, date_lte, dimension, ...)
Open job ads per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); dimension (varchar): total, remote, occupation-field, region or municipality; concept_id (varchar): JobTech taxonomy id; code (varchar): County or municipality code; term (varchar); ads (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"dimension": {
"description": "total, remote, occupation-field, region or municipality (equals)",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"dimension"
],
"additionalProperties": false
}🟢job_ads_national(cursor, date, date_gte, date_lte, limit)
Open job ads in Sweden per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); ads (bigint); remote (bigint); remote_share (double).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢medicine_shortages(atc_code, atc_code_prefix, cursor, limit, ongoing, ...)
Medicine shortages. Returns a list of records; pass next_cursor to get the next page. Fields: shortage_id (varchar); npl_pack_id (varchar); product (varchar); package (varchar); substances (varchar); atc_code (varchar); atc_group (varchar): ATC main group (A alimentary tract, N nervous system, ...); holder (varchar): Marketing authorisation holder; starts (date); ends_forecast (date); ended (date); ongoing (boolean); last_updated (date). Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"atc_code": {
"description": "ATC code or its beginning (equals)",
"type": "string"
},
"atc_code_prefix": {
"description": "ATC code or its beginning (starts with)",
"type": "string"
},
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"ongoing": {
"description": "Still ongoing (equals)",
"type": "boolean"
},
"starts": {
"description": "First day (equals)",
"format": "date",
"type": "string"
},
"starts_gte": {
"description": "First day (at least)",
"format": "date",
"type": "string"
},
"starts_lte": {
"description": "First day (at most)",
"format": "date",
"type": "string"
}
},
"additionalProperties": false
}🟢medicine_shortages_by_group(cursor, limit)
Ongoing shortages per ATC group. Returns a list of records; pass next_cursor to get the next page. Fields: atc_group (varchar); packages (bigint); products (bigint). Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢medicine_shortages_monthly(cursor, limit, month, month_gte, month_lte)
New medicine shortages per month. Returns a list of records; pass next_cursor to get the next page. Fields: month (date); shortages (bigint): Shortages that started; packages (bigint): Packages affected. Attribution required when the data is shown: Contains data from Läkemedelsverket, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"month": {
"description": "Month (equals)",
"format": "date",
"type": "string"
},
"month_gte": {
"description": "Month (at least)",
"format": "date",
"type": "string"
},
"month_lte": {
"description": "Month (at most)",
"format": "date",
"type": "string"
}
},
"additionalProperties": false
}🟢municipal_figures(cursor, kpi, kpi_in, limit, municipality_id, ...)
Key figures per municipality and year (Kolada). Returns a list of records; pass next_cursor to get the next page. Fields: kpi (varchar): Kolada key figure id; kpi_title (varchar); municipality_id (varchar); municipality (varchar); municipality_type (varchar): K municipality, L region; year (integer); value (double). Attribution required when the data is shown: Source: Kolada (RKA), CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"kpi": {
"description": "Kolada key figure id, e.g. N00900 (equals)",
"type": "string"
},
"kpi_in": {
"description": "Kolada key figure id, e.g. N00900 (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"municipality_id": {
"description": "Municipality or region id (equals)",
"type": "string"
},
"municipality_id_in": {
"description": "Municipality or region id (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"required": [
"kpi"
],
"additionalProperties": false
}🟢municipal_figures_latest(cursor, kpi, kpi_in, limit, municipality_id, ...)
Key figures per municipality, latest year. Returns a list of records; pass next_cursor to get the next page. Fields: kpi (varchar); kpi_title (varchar); municipality_id (varchar); municipality (varchar); municipality_type (varchar); year (integer); value (double). Attribution required when the data is shown: Source: Kolada (RKA), CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"kpi": {
"description": "Kolada key figure id (equals)",
"type": "string"
},
"kpi_in": {
"description": "Kolada key figure id (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"municipality_id": {
"description": "Id (equals)",
"type": "string"
},
"municipality_id_in": {
"description": "Id (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"municipality_type": {
"description": "K municipality, L region (equals)",
"type": "string"
}
},
"required": [
"kpi"
],
"additionalProperties": false
}🟢party_agreement(cursor, limit, party, party_in)
How often the parties vote alike. Returns a list of records; pass next_cursor to get the next page. Fields: party (varchar); other_party (varchar); votes (bigint): Votes where both parties voted yes or no; same (bigint); share (double). Attribution required when the data is shown: Source: Sveriges riksdag
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"party": {
"description": "Party, e.g. S (equals)",
"type": "string"
},
"party_in": {
"description": "Party, e.g. S (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢party_attendance(cursor, limit, riksmote, riksmote_in)
Votes and absence per party. Returns a list of records; pass next_cursor to get the next page. Fields: party (varchar): - is members without a party; riksmote (varchar): Session, e.g. 2025/26; votes (bigint); absent_share (double); abstain_share (double). Attribution required when the data is shown: Source: Sveriges riksdag
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"riksmote": {
"description": "Session, e.g. 2025/26 (equals)",
"type": "string"
},
"riksmote_in": {
"description": "Session, e.g. 2025/26 (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢population(cursor, level, limit, region_code, region_code_in, ...)
Population per region and year. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar): 00 Sweden, 2 digits county, 4 digits municipality; region (varchar); level (varchar); year (integer); population (bigint).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"level": {
"description": "country, county or municipality (equals)",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"region_code": {
"description": "00 Sweden, 2 digits county, 4 digits municipality (equals)",
"type": "string"
},
"region_code_in": {
"description": "00 Sweden, 2 digits county, 4 digits municipality (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"year": {
"description": "Year (equals)",
"type": "integer"
},
"year_gte": {
"description": "Year (at least)",
"type": "integer"
},
"year_lte": {
"description": "Year (at most)",
"type": "integer"
}
},
"additionalProperties": false
}🟢population_latest(cursor, level, limit, region_code, region_code_in)
Population in the latest year and change. Returns a list of records; pass next_cursor to get the next page. Fields: region_code (varchar); region (varchar); level (varchar); year (integer): Latest year; population (bigint): Population in the latest year; first_year (integer); change_pct (double): Change since first_year, percent.
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"level": {
"description": "country, county or municipality (equals)",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"region_code": {
"description": "Region code (equals)",
"type": "string"
},
"region_code_in": {
"description": "Region code (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢riksbank_rates(cursor, date, date_gte, date_lte, limit, ...)
Policy rate and exchange rates per day. Returns a list of records; pass next_cursor to get the next page. Fields: series (varchar): SECBREPOEFF policy rate, SEKEURPMI, SEKUSDPMI, SEKGBPPMI; description (varchar); date (date); value (double). Attribution required when the data is shown: Source: Sveriges riksbank, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"series": {
"description": "SECBREPOEFF policy rate, SEKEURPMI, SEKUSDPMI, SEKGBPPMI (equals)",
"type": "string"
},
"series_in": {
"description": "SECBREPOEFF policy rate, SEKEURPMI, SEKUSDPMI, SEKGBPPMI (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"series"
],
"additionalProperties": false
}🟢search_catalogue(query)
Find datasets and the tools that query them by words in their names, descriptions and fields (Swedish or English).
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"description": "What to look for, e.g. 'population per kommun'",
"type": "string"
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢stats_dnssec(cursor, date, date_gte, date_lte, limit, ...)
DNSSEC adoption per zone and day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date): Day of the snapshot (Europe/Stockholm); tld (varchar); domains (bigint); signed (bigint): Domains with a DS record; share_signed (double); ecdsa_p256 (bigint): Signed with algorithm 13 (ECDSA P-256); rsa_sha256 (bigint): Signed with algorithm 8 (RSA/SHA-256). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"tld": {
"description": "Zone: se or nu (equals)",
"type": "string"
},
"tld_in": {
"description": "Zone: se or nu (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢stats_nameservers(cursor, domains_gte, limit, operator, operator_prefix, ...)
Name server operators and market share. Returns a list of records; pass next_cursor to get the next page. Fields: tld (varchar); operator (varchar): Registered domain of the name server hosts, e.g. loopia.se; domains (bigint): Domains with at least one name server at this operator; share (double): domains / all domains in the zone; serial (bigint); fetched_at (timestamptz). Attribution required when the data is shown: Contains data from the Swedish Internet Foundation (Internetstiftelsen), licensed under CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"domains_gte": {
"description": "Minimum number of domains (at least)",
"type": "integer"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"operator": {
"description": "Operator (registered domain of the NS hosts) (equals)",
"type": "string"
},
"operator_prefix": {
"description": "Operator (registered domain of the NS hosts) (starts with)",
"type": "string"
},
"tld": {
"description": "Zone: se or nu (equals)",
"type": "string"
},
"tld_in": {
"description": "Zone: se or nu (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢swestr(cursor, date, date_gte, date_lte, limit)
Swestr per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); rate (double): Percent; pctl12_5 (double): 12.5th percentile of the transactions' rates; pctl87_5 (double): 87.5th percentile; volume_msek (double): Transaction volume, SEK million; transactions (integer). Attribution required when the data is shown: Source: Sveriges riksbank, CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢train_punctuality(arrivals_gte, cursor, date, date_gte, date_lte, ...)
Train punctuality per station and day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); station (varchar): Location signature; station_name (varchar); arrivals (bigint); canceled (bigint); on_time (bigint): At most 5 minutes late; on_time_share (double): Share on time among cancelled and reported arrivals; avg_delay_min (double): Average delay, early counted as 0.
Esquema de entrada
{
"type": "object",
"properties": {
"arrivals_gte": {
"description": "Minimum arrivals (at least)",
"type": "integer"
},
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"station": {
"description": "Location signature, e.g. Cst (equals)",
"type": "string"
},
"station_in": {
"description": "Location signature, e.g. Cst (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}🟢train_punctuality_daily(cursor, date, date_gte, date_lte, limit)
Train punctuality in Sweden per day. Returns a list of records; pass next_cursor to get the next page. Fields: date (date); arrivals (bigint); canceled (bigint); on_time_share (double); avg_delay_min (double).
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
}
},
"additionalProperties": false
}🟢weather_history(cursor, date, date_gte, date_lte, limit, ...)
Weather per hour and station. Returns a list of records; pass next_cursor to get the next page. Fields: station_id (varchar): SMHI station id; station (varchar); parameter (varchar): 1 temperature, 4 wind speed, 6 humidity, 7 precipitation; unit (varchar); observed_at (timestamptz); date (date): Day (Europe/Stockholm); value (double); quality (varchar): G checked, Y suspect (latest-hour data is not quality-controlled). Attribution required when the data is shown: Contains data from SMHI (Swedish Meteorological and Hydrological Institute), CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"date": {
"description": "Day (equals)",
"format": "date",
"type": "string"
},
"date_gte": {
"description": "Day (at least)",
"format": "date",
"type": "string"
},
"date_lte": {
"description": "Day (at most)",
"format": "date",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"parameter": {
"description": "Parameter (equals)",
"type": "string"
},
"parameter_in": {
"description": "Parameter (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"station_id": {
"description": "SMHI station id (equals)",
"type": "string"
},
"station_id_in": {
"description": "SMHI station id (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"required": [
"station_id"
],
"additionalProperties": false
}🟢weather_now(cursor, limit, parameter, parameter_in, station_id, ...)
Current weather per SMHI station. Returns a list of records; pass next_cursor to get the next page. Fields: station_id (varchar): SMHI station id; station (varchar); latitude (double); longitude (double); parameter (varchar): 1 temperature, 4 wind speed, 6 humidity, 7 precipitation; parameter_name (varchar); unit (varchar); observed_at (timestamptz); value (double); quality (varchar): G checked, Y suspect (latest-hour data is not quality-controlled). Attribution required when the data is shown: Contains data from SMHI (Swedish Meteorological and Hydrological Institute), CC BY 4.0
Esquema de entrada
{
"type": "object",
"properties": {
"cursor": {
"description": "next_cursor from the previous result, for the next page",
"type": "string"
},
"limit": {
"default": 25,
"description": "How many rows to return",
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"parameter": {
"description": "1 temperature, 4 wind, 6 humidity, 7 precipitation (equals)",
"type": "string"
},
"parameter_in": {
"description": "1 temperature, 4 wind, 6 humidity, 7 precipitation (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"station_id": {
"description": "SMHI station id (equals)",
"type": "string"
},
"station_id_in": {
"description": "SMHI station id (any of)",
"items": {
"type": "string"
},
"maxItems": 50,
"type": "array"
}
},
"additionalProperties": false
}Comunidad
Evidencia