# Korp API v8 — Corpus Concordance Search

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

Korp API v8 — Corpus Concordance Search 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. This API exposes 1 JSON Schema definition. Tagged areas include Corpus Linguistics, Search, Language Technology, Natural Language Processing, and Swedish. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 1 JSON Schema.

Språkbanken Text's corpus search engine, and the largest publicly callable surface the University of Gothenburg operates. Fourteen operations over 1,133 corpora — concordance query, sampling, frequency counts, time-series counts, log-likelihood comparison, word picture (syntactic relations) and attribute-value discovery — using the CQP query language on top of IMS Open Corpus Workbench. Institution-operated: the single declared server is https://ws.spraakbanken.gu.se/ws/korp/v8 and info.contact is sb-info@svenska.gu.se. Verified live 2026-09-01: anonymous GET /info returned HTTP 200, 25,974 bytes, listing 1,133 corpora and reporting backend version 8.2.5 against a contract that declares 8.1.0.

## Operations (14)

| Method | Path | Summary |
|---|---|---|
| GET | `/info` | General Information |
| GET | `/corpus_info` | Corpus Information |
| GET | `/query` | Concordance |
| GET | `/query_sample` | Sample Concordance |
| GET | `/count` | Statistics |
| GET | `/count_all` | Complete Statistics |
| GET | `/count_time` | Statistics Over Time |
| GET | `/timespan` | Distribution Over Time |
| GET | `/loglike` | Log-Likelihood Comparison |
| GET | `/relations` | Word Picture |
| GET | `/relations_sentences` | Word Picture Sentences |
| GET | `/lemgram_count` | Lemgram Statistics |
| GET | `/attr_values` | Attribute Values |
| GET | `/corpus_config` | Corpus Configuration for the Frontend |

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/openapi/university-of-gothenburg-korp-api-openapi.yml
- **Documentation** — https://ws.spraakbanken.gu.se/docs/korp
- **Examples** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/examples/university-of-gothenburg-korp-info-example.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/json-schema/university-of-gothenburg-korp-info.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/apis.yml

## Other University of Gothenburg APIs (12)

- [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 API v7 — Lexical Resource Editing](https://apis.io/apis/university-of-gothenburg/karp-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

Corpus Linguistics, Search, Language Technology, Natural Language Processing, Swedish

---

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