Documentation
Build on Swedish procurement data.
Swedish public procurement data, as JSON over a REST API or through an AI assistant over MCP.
Updated
What the data is
Fentlig collects Swedish public procurement: the notices buyers publish, the contracting authorities behind them, award results and contracts, the tender documents, and the requirements and award criteria extracted from those documents. The data is in Swedish.
Two ways in
REST API
JSON over HTTPS at https://api.fentlig.se, with an API key. Included in the Koncern plan. Reading a single notice needs no key.
MCP server
For AI assistants that support MCP. Add https://mcp.fentlig.se/mcp as a connector and sign in with your Fentlig account. Included in every plan.
Your first call
Fetching one notice is open to anyone, with no key. Listing and searching need a key.
curl "https://api.fentlig.se/v1/notices?slug=frukt-gronsaker-och-potatis-20eea2cdb1"Guides
- Getting startedThe base URL, a first call that needs no key, the response envelope, filtering, and how to address a notice.
- AuthenticationWhich plan includes the REST API, getting a key, what each scope covers, and what 401 and 403 mean.
- Rate limitsThe per-key, anonymous and assistant budgets, the headers that report them, and how to handle a 429.
- Coverage and attributionWhere the data comes from, what the published set contains and leaves out, and the attribution required when you republish it.
- MCP serverConnect an AI assistant such as Claude or ChatGPT over the Model Context Protocol: one URL, sign in, nothing to install. Included in every plan.
- Versioning and changesWhat stays stable inside /v1 and on the MCP server, what counts as a breaking change, how you hear about one, and the list of changes.
- Privacy, terms and supportWhat Fentlig stores when an AI assistant or an API key is used, where the binding terms are, and how to reach support.
Endpoint reference
Every operation with its parameters, response fields and failures. The OpenAPI document is at https://api.fentlig.se/openapi.json.
Errors
Every failure is an RFC 9457 problem document, and its type links to the page explaining that error. Read the error reference.
Support
Questions about the API or the MCP server go to info@fentlig.se.