Opendata Audit WebAPI

Welcome to the opendata audit project. Every day, all metadatasets from opendata.swiss are audited, allowing FSO experts and data producers to monitor and correct any missing or faulty metadata. Audit scores respect the Metadata Quality Assessment Methodology developed by the data.europa.eu consortium.

API

API call Description Output Sample
/organisation-list Return all available organisation identifiers.
[
    "oevch",
    "agis_service_center",
    "stadt-luzern",
    "kanton-thurgau",
    "lausanne",
    …
]                       
/detailed-organisation-list A list of organisation with additional information for display purposes.
[
    {
        "display_name": {
            "fr": "Office fédéral de la statistique OFS",
            "de": "Bundesamt für Statistik BFS",
            "en": "Federal Statistical Office FSO",
            "it": "Ufficio federale di statistica UST"
        },
        "description": {
            "fr": "L'OFS est le centre de compétence de la statistique publique suisse. Il produit des informations statistiques sur la population, l'économie, la société, la formation et la recherche, le territoire et l'environnement. Ces informations servent à la formation de l’opinion publique. Elles sont un outil de planification et de gouvernance dans tous les domaines de l’action politique et contribuent au bon fonctionnement de notre État moderne et démocratique.",
            "de": "Das BFS ist das nationale Kompetenzzentrum der öffentlichen Statistik der Schweiz. Es produziert und publiziert statistische Informationen über den Stand und die Entwicklung von Bevölkerung, Wirtschaft, Gesellschaft, Bildung, Forschung, Raum und Umwelt. Diese Informationen dienen der Meinungsbildung in der Bevölkerung sowie der Planung und Steuerung von zentralen Politikbereichen. Sie leisten einen wichtigen Beitrag für einen modernen, demokratischen Staat.",
            "en": "The FSO is Switzerland's national competence centre for official statistics. It produces and publishes statistical information on the status and development of the population, economy, society, education, research, territory and the environment. This information is used for opinion building among the population and for the planning and management of key policy areas. They make an important contribution to a modern, democratic state.",
            "it": "L’UST è il centro di competenza nazionale per la statistica pubblica della Svizzera. Produce e pubblica informazioni statistiche sullo stato e sull'evoluzione della popolazione, dell'economia, della società, della formazione, della ricerca, del territorio e dell'ambiente. Queste informazioni servono alla formazione dell'opinione pubblica nonché alla pianificazione e alla gestione in ambiti politici di centrale importanza. Forniscono un importante contributo per uno Stato moderno e democratico."
        },
        "image_display_url": "https://ckan.opendata.swiss/uploads/group/BFS_08_web.jpg",
        "package_count": 2938,
        "name": "bundesamt-fur-statistik-bfs"
    },
    …
]                       
/organisation/<identifier> Return an organisation's full audit with additional information for display purposes.
{
    "display_name": { "fr": "...", "en": "...", "de": "...", "it": "..." },
    "description": { "fr": "...", "en": "...", "de": "...", "it": "..." },
    "image_display_url": "https://ckan.opendata.swiss/uploads/group/2021-06-15-141435.0184872021-05-28-081216.196765EnviDat.png",
    "total_score": 240,
    "findability": { "keywords": 0.55, ..., },
    "accessibility": { "download_url": 0.99, ..., },
    "reusability": { "license": 0.751, ..., },
    "contextuality": { "rights": 1, ..., },
    "interoperability": { "format": 0.934, ..., }
}                      
/organisation/<identifier>/overview Return an organisation's score for each of its five categories.
{
    "dataStatus": "18.11.2024",
    "organisation": "envidat",
    "data": [
        {
            "key": "overview",
            "value": [
                { "key": "findability", "values": 60},
                { "key": "accessibility", "values": 50 },
                { "key": "reusability", "values": 60 },
                { "key": "contextuality", "values": 20 },
                { "key": "interoperability", "values": 50 }]
        }
    ]
}                   
/organisation/<identifier>/findability Return an organisation's findability audit and score.
{
    "dataStatus": "23.10.2024",
    "organisation": "oevch",
    "data": {
        "keywords": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "categories": [
            {"category": "Yes", "value": 0}, 
            {"category": "No", "value": 100}],
        "geo_search": [
            {"category": "Yes", "value": 99.1}, 
            {"category": "No", "value": 0.9}],
        "time_search": [
            {"category": "Yes", "value": 42.5}, 
            {"category": "No", "value": 57.5}],
        "score": 58
    }
}                       
/organisation/<identifier>/accessibility Return an organisation's accessibility audit and score.
{
    "dataStatus": "18.11.2024",
    "organisation": "envidat",
    "data": {
        "access_url_status_frequency": [
            { "code": "200", "value": 55.1 },
            { "code": "302", "value": 44.9 }],
        "download_url": [
            { "category": "Yes", "value": 0 },
            { "category": "No", "value": 100 }],
        "download_url_status_frequency": [],
        "score": 50
    }
}                       
/organisation/<identifier>/reusability Return an organisation's reusability audit and score.
{
    "dataStatus": "23.10.2024",
    "organisation": "oevch",
    "data": {
        "license": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "license_vocabulary": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "access_restriction": [
            {"category": "Yes", "value": 0}, 
            {"category": "No", "value": 100}],
        "access_restriction_vocabulary": [
            {"category": "Yes", "value": 0}, 
            {"category": "No", "value": 100}],
        "contact_point": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "publisher": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "score": 60
    }
}                       
/organisation/<identifier>/contextuality Return an organisation's contextuality audit and score.
{
    "dataStatus": "23.10.2024",
    "organisation": "oevch",
    "data": {
        "rights": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "file_size": [
            {"category": "Yes", "value": 93.4}, 
            {"category": "No", "value": 6.6}],
        "issue_date": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "modification_date": [
            {"category": "Yes", "value": 100}, 
            {"category": "No", "value": 0}],
        "score": 19
    }
}                       
/organisation/<identifier>/interoperability Return an organisation's interoperability audit and score.
{
    "dataStatus": "23.10.2024",
    "organisation": "oevch",
    "data": {
        "format": [
            {"category": "Yes", "value": 93.4}, 
            {"category": "No", "value": 6.6}],
        "media_type": [
            {"category": "Yes", "value": 89.6}, 
            {"category": "No", "value": 10.4}],
        "controlled_vocabulary": [
            {"category": "Yes", "value": 89.6}, 
            {"category": "No", "value": 10.4}],
        "non_proprietary": [
            {"category": "Yes", "value": 73.6}, 
            {"category": "No", "value": 26.4}],
        "machine_readable": [
            {"category": "Yes", "value": 20.8}, 
            {"category": "No", "value": 79.2}],
        "dcat_ap_compliance": [
            {"category": "Yes", "value": 0}, 
            {"category": "No", "value": 100}],
        "score": 55
    }
}                       
/status Return the status of the latest data audit.
{
    "status": "OK",
    "message": "",
    "last_update": "13.03.2025",
    "last_update_ok": "13.03.2025",
    "version": 0.7,
    "version_last_update": "13.03.2025"
}                     
/version Return the current data-updater version.
{
    "version": 0.7,
    "version_last_update": "13.03.2025"
}