Skip to main content
Språkbanken Text is a department within Språkbanken.

Web API

With the API, you can use Mink on the command-line or in scripts.

Read the documentation at: https://ws.spraakbanken.gu.se/docs/mink

Note that you must authenticate each HTTP request with a JSON Web Token (JWT, read more at https://jwt.io/):

  1. In the browser, log in at https://spraakbanken.gu.se/mink
  2. Open https://sp.spraakbanken.gu.se/auth/jwt to download the token in plain text
  3. Use the token in the request header as: Authorization: Bearer <token>
  4. The token is valid for a few hours. When it expires, repeat these steps.