# Estonia Open Data API

> andmed.eesti.ee: 5,700+ Estonian public datasets with English titles, searchable

- Vendor: `estoniaopendataapi` · version 1.0 · category Government Data · tags estonia open data api, andmed.eesti.ee api, estonian government data api, avaandmed api, open datasets api, baltic open data api
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/estoniaopendataapi
- This document: https://apiclay.com/docs/estoniaopendataapi.md
- OpenAPI 3.1: https://apiclay.com/api/estoniaopendataapi/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `estoniaopendataapi`
- Updated: 2026-11-18

## About

## Estonia Open Data API

Estonia's national open data portal (andmed.eesti.ee): about 5,734 datasets from Estonian ministries, agencies and municipalities, most with English titles. Search the catalogue by keyword and read any dataset in full with its description, keywords, publishing organisation, categories and distributions.

Data comes from **andmed.eesti.ee** (https://andmed.eesti.ee). Every route calls the source's own public API and returns it unchanged.

Typical flow: `/datasets?search=liiklus&amp;limit=10` for a dataset `id`, then `/dataset?id=`.

### Routes

#### GET `/datasets` - Datasets
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| search | query | string | no | Keyword, e.g. `liiklus` (traffic). |
| limit | query | number | no | Datasets per page. |
| page | query | number | no | Page, from 1. |

Returns: `data`: datasets with `id`, `slug`, `title`, `titleEn`, `organization`, `access`, `createdAt` and `updatedAt`; `metadata.total` for the count.

#### GET `/dataset` - Dataset
| Param | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | Dataset `id` from `/datasets`. |

Returns: the full record: `title`, `titleEn`, `description`, `descriptionEn`, `keywords`, `organization`, `categories`, `distributions` and `datasetFiles`.

### Caveats

- Descriptions are mostly Estonian; `titleEn` and English fields are filled where the publisher gave them.
- Each dataset keeps its own licence; credit the publishing body.
- Upstream responses can change over time. Verify fields before relying on them.
- Not affiliated with or endorsed by andmed.eesti.ee.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 1 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /datasets — Datasets
- Gateway: `GET https://api.apiclay.com/v1/api/estoniaopendataapi/datasets`
- Public query params: `search` (string), `limit` (number), `page` (number)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

### GET /dataset — Dataset
- Gateway: `GET https://api.apiclay.com/v1/api/estoniaopendataapi/dataset`
- Public query params: `id` (string, required)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/estoniaopendataapi/datasets" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
