Brønnøysundregistrene Partiregisteret API

Operasjoner mot partiregisteret

GitHub OpenAPI

Operations 1

GET /partiregisteret/api/lastned/csv Last ned totalbestand av enheter fra partiregisteret i csv format #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/brreg-no:brreg-no-partiregisteret-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

brreg-no-partiregisteret-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Brreg No Partiregisteret API
  version: 2.0.0
  contact:
    email: opendata@brreg.no
  license:
    name: Norsk lisens for offentlige data (NLOD)
    url: https://data.norge.no/nlod/no/2.0
  x-logo:
    url: https://scf.brreg.no/bilder/brreg_logo.svg
    altText: Brønnøysundregistrene, snarvei til fremsiden
    href: https://data.brreg.no/enhetsregisteret/oppslag
  description: 'Operations tagged partiregisteret across 2 of this provider''s published API definitions: brreg-no-enhetsregisteret-openapi.json, brreg-no-enhetsregisteret-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://data.brreg.no
  description: Server
security: []
tags:
- name: partiregisteret
  x-displayName: Partiregisteret
  description: Operasjoner mot partiregisteret
paths:
  /partiregisteret/api/lastned/csv:
    get:
      tags:
      - partiregisteret
      operationId: lastnedPartiregisteretCsv
      x-codeSamples:
      - label: Default
        lang: shell
        source: curl 'https://data.brreg.no/partiregisteret/api/lastned/csv' -X GET -J -O
      responses:
        '200':
          description: '200'
        '404':
          description: '404'
        '500':
          description: '500'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerError'
      description: '|Beskrivelser av felter i rekkefølge |

        |-----------------------------------------------------|

        | Organisasjonsnummer til enheten |

        | Registrert og vernet partinavn |

        | Enhetens organisasjonsform |

        | Enhetens forretningsadresse |

        | Postnummer forretningsadresse |

        | Kommunenummer forretningsadresse |

        | Kommunenavn forretningsadresse |

        | Land forretningsadresse |

        | Enhetens postadresse |

        | Postnummer postadresse |

        | Poststed postadresse |

        | Land postadresse |'
      summary: Last ned totalbestand av enheter fra partiregisteret i csv format
    servers:
    - url: https://data.brreg.no
      description: Server
components:
  schemas:
    InternalServerError:
      type: object
      additionalProperties: false
      properties:
        timestamp:
          type: string
          example: 2024-01-05T07:36:21.523+0000
          description: Tidspunkter for når feilen oppstod
        status:
          type: number
          example: 500
          description: HTTP status koden
        error:
          type: string
          example: Internal Server Error
          description: Feilmelding
        message:
          type: string
          example: Internal Server Error
          description: Utdypende feilmelding
        path:
          type: string
          example: /enhetsregisteret/api/enheter
          description: Url sti som feilet
        trace:
          type: string
          example: b94669c0-425a-4b6c-ab30-504de8d9c127
          description: Send denne koden til oss for at vi skal lettere finne igjen feilen i våre logger
      required:
      - timestamp
      - status
      - error
      - message
      - path
      - trace
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- brreg-no-enhetsregisteret-openapi.json
- brreg-no-enhetsregisteret-openapi.yml