# Sparv API v3 — Text Annotation Pipeline

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

Sparv API v3 — Text Annotation Pipeline 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 Language Technology, Natural Language Processing, Annotation, Pipeline, and Batch. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

Sparv is Språkbanken Text's annotation pipeline exposed as a job-submission web service: upload a corpus, generate a makefile, run the pipeline, poll status, download the annotated result. Institution-operated: declared servers are ws.spraakbanken.gu.se/ws/sparv/v3 (production) and /ws/sparvlabb/v3 (lab), contact sb-info@svenska.gu.se, MIT licence. Verified live 2026-09-01: anonymous GET /ping returned HTTP 200 {"message": "PONG", "time": 0.0041}. v2 is still answering on the same host with no published deprecation date.

## Operations (13)

| Method | Path | Summary |
|---|---|---|
| GET | `/` | Default query |
| POST | `/` | Default query |
| GET | `/schema` | Schema |
| GET | `/makefile` | Makefile |
| GET | `/join` | Join |
| GET | `/status` | Status |
| GET | `/ping` | Ping backend |
| POST | `/upload` | File upload |
| GET | `/download` | File download |
| GET | `/cleanup` | Cleanup |
| GET | `/cleanup/errors` | Cleanup errors |
| GET | `/cleanup/forceone` | Cleanup one build |
| GET | `/cleanup/forceall` | Cleanup all builds |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/openapi/university-of-gothenburg-sparv-api-openapi.yml
- **Documentation** — https://ws.spraakbanken.gu.se/docs/sparv
- **Examples** — https://raw.githubusercontent.com/api-evangelist/university-of-gothenburg/refs/heads/main/examples/university-of-gothenburg-sparv-ping-example.json

## 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/)
- [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

Language Technology, Natural Language Processing, Annotation, Pipeline, Batch

---

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