# Karp API v7 — Lexical Resource Editing

**Canonical:** https://apis.io/apis/university-of-gothenburg/karp-api/  
**Provider:** University of Gothenburg — https://apis.io/providers/university-of-gothenburg/  
**Base URL:** https://spraakbanken4.it.gu.se/karp/v7  
**Documentation:** https://ws.spraakbanken.gu.se/docs/karp

Karp API v7 — Lexical Resource Editing is one of 14 APIs that [University of Gothenburg](https://apis.io/providers/university-of-gothenburg/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Lexicography, Language Technology, Swedish, Dictionary, and Editing. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The editing and query surface over Språkbanken Text's lexical resources — entry CRUD, entry history and diff, resource permissions, field statistics, and inflection-table generation for the SAOL and SO dictionaries. Institution-operated: the OpenAPI document is served directly from spraakbanken4.it.gu.se, a University of Gothenburg host, and anonymous GET /resources/ returned HTTP 200 with 1,042,817 bytes on 2026-09-01. HOSTLESS AS PUBLISHED — the upstream servers[] entry is the relative value `/karp/v7` and there is no info.contact, so nothing in the document itself names its operator; it was attributed by the host it is served from and re-based in openapi/, with the relative original preserved in openapi/_original/.

## Operations (22)

| Method | Path | Summary |
|---|---|---|
| GET | `/entries/{resource_id}/{entry_id}/{version}` | Get entry history |
| DELETE | `/entries/{resource_id}/{entry_id}/{version}` | Delete Entry |
| GET | `/entries/{resource_id}/{entry_id}` | Get entry |
| PUT | `/entries/{resource_id}/{entry_id}` | Add Entry With Id |
| POST | `/entries/{resource_id}/{entry_id}` | Update Entry |
| GET | `/entries/create_id` | Create Id |
| PUT | `/entries/{resource_id}` | Add Entry |
| POST | `/entries/{resource_id}/preview` | Preview Entry |
| POST | `/history/diff/{resource_id}/{entry_id}` | Get Diff |
| GET | `/history/{resource_id}` | Get History |
| GET | `/query/entries/{resource_id}/{entry_ids}` | Get Entries By Id |
| GET | `/query/stats/{resources}` | Get statistics for search |
| GET | `/query/{resources}` | Search |
| GET | `/resources/permissions` | List Resource Permissions |
| GET | `/resources/` | Get All Resources |
| GET | `/resources/{resource_id}` | Get Resource By Resource Id |
| GET | `/stats/{resource_id}/{field}` | Get Field Values |
| GET | `/inflectionrules/inflection/generate_inflection_table` | Generate inflection table |
| GET | `/inflectionrules_saol15/inflection/generate_inflection_table` | Generate inflection table |
| GET | `/inflectionrules_saol15_20251202/inflection/generate_inflection_table` | Generate inflection table |
| GET | `/inflectionrules_so-frys_20260122/inflection/generate_inflection_table` | Generate inflection table |
| GET | `/salex/salex_spellcheck/spellcheck` | Spellcheck |

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/openapi/university-of-gothenburg-karp-api-openapi.yml
- **Documentation** — https://ws.spraakbanken.gu.se/docs/karp

## Other University of Gothenburg APIs (12)

- [Korp API v8 — Corpus Concordance Search](https://apis.io/apis/university-of-gothenburg/korp-api/)
- [Språkbanken Text Metadata API v3](https://apis.io/apis/university-of-gothenburg/sbx-metadata-api/)
- [Mink API v3 — Bring Your Own Corpus](https://apis.io/apis/university-of-gothenburg/mink-api/)
- [Sparv API v3 — Text Annotation Pipeline](https://apis.io/apis/university-of-gothenburg/sparv-api/)
- [Karp Search API v1 — Karps sökgränssnitt](https://apis.io/apis/university-of-gothenburg/karp-search-api/)
- [GUPEA Repository OAI-PMH 2.0 Interface](https://apis.io/apis/university-of-gothenburg/gupea-oai-pmh/)
- [GUPEA DSpace 8 REST API](https://apis.io/apis/university-of-gothenburg/gupea-dspace-rest/)
- [Shibboleth Identity Provider — SAML 2.0 Metadata](https://apis.io/apis/university-of-gothenburg/shibboleth-idp/)
- [Microsoft AD FS Identity Provider (SWAMID entity)](https://apis.io/apis/university-of-gothenburg/adfs-idp/)
- [DataCite DOI Registration (client SND.SPRKB, via the Swedish National Data Service)](https://apis.io/apis/university-of-gothenburg/datacite-registration/)
- [Crossref Membership (members 36737 and 51378)](https://apis.io/apis/university-of-gothenburg/crossref-membership/)
- [Quality of Government (QoG) Open Data](https://apis.io/apis/university-of-gothenburg/qog-data/)

## Tags

Lexicography, Language Technology, Swedish, Dictionary, Editing

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/university-of-gothenburg/karp-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/university-of-gothenburg/.
