GREP API v201906
GREP is Norway's national database for subjects, curricula, and educational programmes within primary and secondary education (grunnopplæringen), maintained by the Norwegian Directorate for Education and Training (Udir). It contains all approved curricula under the Knowledge Promotion reform (Kunnskapsløftet), along with code lists and reference data on subjects taught in primary school and upper secondary education, including assessment arrangements and information related to certificates and diplomas. The API exposes this structured educational reference data via a documented OpenAPI interface, allowing systems to look up official subject codes, curriculum details, and related educational metadata programmatically rather than through manual lookup.Grep er den nasjonale databasen for fag, læreplaner og opplæringstilbud i grunnopplæringen.Alle fastsatte læreplaner i Kunnskapsløftet legges inn i Grep.I tillegg finnes kodeverk og informasjon om fag i grunnskole og videregående opplæring (vgo), inkludert vurderingsordninger, samt fag- og vitnem...
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data schema (40 fields)
| Field | Type | Description |
|---|---|---|
| kode | string | Code identifying the element.Code identifying the element. |
| version | string | Version identifier of the element or dataset.Version identifier of the element or dataset. |
| format | string | Requested or returned data format.Requested or returned data format. |
| type | string | Type category of the element.Type category of the element. |
| status | string | Current status of the element.Current status of the element. |
| fagtype | string | Type of subject.Type of subject. |
| tidspunkt | string (date-time) | Timestamp for the query or event.Timestamp for the query or event. |
| filter | string | Filter applied to the search or query.Filter applied to the search or query. |
| gammel | string | Identifier or value for the old (previous) element.Identifier or value for the old (previous) element. |
| ny | string | Identifier or value for the new element.Identifier or value for the new element. |
| uriBase | string | Unique URI identifying the element.Elementets Uri |
| urlDataBase | string | URL linking to further information about the element.Url til utfyllende informasjon om elementet |
| listeTypeBaseBase | string | Base list type of the element.Base list type of the element. |
| grepTypeBaseBase | string | Base Grep type of the element.Base Grep type of the element. |
| tittelBaseReferanse | string | Name of the element.Elementets navn |
| titlerEksamensformSøkResultat | array<object> | List of names for the element.Elementets navn |
| endretEksamensformSøkResultat | string (date-time) | Date and time the element was last changed.Når elementet sist ble endret |
| grepTypeEksamensformSøkResultat | string | Type of the element within Grep.Elementets type i Grep |
| listeTypeEksamensformSøkResultat | string | List type of the element.List type of the element. |
| psiEksamensformSøkResultat | string | Unique identifier of the element across KL06 data.Elementets id. Denne er unik på tvers av data i KL06 |
| rekkefølgeEksamensformSøkResultat | integer (int32) | Ordering number of the exam form.Eksamensformens rekkefølge |
| kortformEksamensformSøkResultat | array<object> | Short form of the element's name.Kortform |
| språknivåFagkodeSøkResultat | object | Language level associated with the subject code.Language level associated with the subject code. |
| fagkategoriFagområderSøkResultat | array<object> | Subject category the element belongs to.Tilhører fagkategori |
| gyldigFraHjelpedataMedKortformSøkResultat | string (date-time) | Date from which the element is valid.Gyldig fra |
| gyldigTilHjelpedataMedKortformSøkResultat | string (date-time) | Date until which the element is valid.Gyldig til |
| læreplanKjerneelementerSøkResultat | object | Associated curriculum.Associated curriculum. |
| nøkkelKodeverkverdi | string | Key of the code value.Key of the code value. |
| beskrivelseKodeverkverdi | object | Description of the code value.Description of the code value. |
| gammelLæreplanKompetansemålDifferanse | object | The previous version of the curriculum being compared.The previous version of the curriculum being compared. |
| nyLæreplanKompetansemålDifferanse | object | The new version of the curriculum being compared.The new version of the curriculum being compared. |
| fjernetKompetansemålKompetansemålDifferanse | array<object> | Competence goals removed between curriculum versions.Competence goals removed between curriculum versions. |
| fellesKompetansemålKompetansemålDifferanse | array<object> | Competence goals shared between curriculum versions.Competence goals shared between curriculum versions. |
| nyeKompetansemålKompetansemålDifferanse | array<object> | Competence goals newly added in the curriculum version.Competence goals newly added in the curriculum version. |
| kanKnyttesTilFagMerkelappSøkResultat | boolean | Whether this tag can be linked to a subject.Om denne merkelappen kan knyttes til fag |
| kanKnyttesTilLæreplanMerkelappSøkResultat | boolean | Whether this tag can be linked to a curriculum.Om denne merkelappen kan knyttes til læreplan |
| kanKnyttesTilProgramOmrådeMerkelappSøkResultat | boolean | Whether this tag can be linked to program areas.Om denne merkelappen kan knyttes til programområder |
| opplæringsnivåMerknadSøkResultat | array<object> | Education level(s) associated with the note.Merknadens opplæringsnivå |
| dokumenttypeMerknadSøkResultat | array<object> | Document type(s) associated with the note.Merknadens dokumenttyper |
| merknadsTypeMerknadSøkResultat | string | Type of note or remark.Hvilken type merknad |
Schema captured from openapi 4 days ago.
Verification Status
Using the API
Configuration
- Base URL
- https://data.udir.no/kl06/swagger/ui/index#
- Format
- openapi
License
Terms stated by the source (not a recognized license):
https://www.udir.no
Query examples
curl -s 'https://data.udir.no/swagger/docs/201906' -H 'Accept: application/json'Machine-readable API description (use it to generate clients).
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and quality tier.