Перейти к содержимому

Публичный API v1

Каталог moldova.travel — туристические впечатления, события и пакеты туроператоров — в формате JSON на румынском и английском языках, без ключа доступа. Те же данные и те же правила публикации, что и на сайте: то, что не одобрено, не отображается нигде.

Эта страница предназначена для разработчиков — здесь описан публичный API сайта с примерами запросов и ответов. Если вы хотите спланировать поездку, начните отсюда:

Описания эндпоинтов и параметров ниже приведены на английском языке, как и документ OpenAPI: это справочный текст для разработчиков и ИИ-ассистентов.

Коротко о главном

Базовый адрес
https://moldova.travel/api/v1
Доступ
Без ключа, без аккаунта. Только GET-запросы; через API нельзя ничего записать.
Лимит запросов
60 запросов в минуту для каждого IP-адреса. При превышении лимита возвращается ответ 429 с заголовком Retry-After.
Язык
Параметр lang принимает: ro, en, ru. Без lang ответ возвращается на ro. Неопубликованный язык возвращает ошибку 400, а не контент на другом языке.
Ссылки
У каждого элемента есть url (его страница на сайте) и goUrl — отслеживаемая ссылка, ведущая к партнеру. goUrl — единственный путь к партнеру; контактные данные в API отсутствуют. Не перезаписывай и не обходи ее.
Цены
Все цены указаны в леях (MDL) и носят ориентировочный характер (indicative: true), будучи предоставлены партнером. Со 2 октября 2026 года цены и ценовые диапазоны записей, хранившихся в евро, были конвертированы в леи (19,5 лея за евро с округлением до 10 леев); формат ответа не изменился. Платформа не принимает платежи и не подтверждает бронирования.
Кеш
Ответы 200 содержат заголовок Cache-Control: public и могут кешироваться на несколько минут. Каталог обновляется редко; не запрашивай его каждую секунду.
Ошибки
Ошибки соответствуют RFC 9457 (application/problem+json), содержат постоянное поле errorCode и, при ошибках валидации, список errors по полям.

Документ OpenAPI

Машиночитаемое описание этого API для генераторов клиентов и ассистентов: openapi/v1.json

https://moldova.travel/api/v1/openapi.json

Эндпоинты

GET/api/v1/experiences

List approved experiences

One page of the experience catalog, filterable by region, category, price band, lodging and traveller type — the same filters as the website's catalog, applied by the same service. Ordered as the site orders them.

Параметры · 8
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en
region
A region's stable code, e.g. orhei — the value every item's region.code carries. An unknown code is a 400.
Пример: orhei
category
Comma-separated category tokens, OR-ed: nature, culture, gastronomy, wine, adventure, wellness, history, religious, rural-tourism, entertainment, other. An unknown token is a 400.
Пример: wine,gastronomy
price
Comma-separated price-band tokens, OR-ed: free, budget, moderate, premium, luxury, unpriced.
Пример: free,budget
audience
Comma-separated traveller-type tokens; matches experiences suited to ANY of them: families, couples, solo, groups, seniors, reduced-mobility, adults-only.
Пример: families
lodging
true keeps only places where a visitor can spend the night (guesthouses, hotels, farms with rooms); absent or false applies no filter.
Пример: true
page
1-based page number, default 1. A page past the last one is a 404 with errorCode EXPERIENCE_NOT_FOUND, EVENT_NOT_FOUND or PACKAGE_NOT_FOUND.
Пример: 2
pageSize
Items per page, 1 to 48. Default: the site's own catalog page size.
Пример: 12

Пример запроса

curl \
  "https://moldova.travel/api/v1/experiences?lang=en&category=wine&pageSize=5"
Пример ответа
{
  "items": [
    {
      "id": 12,
      "slug": "chateau-vartely-cellar-tour",
      "lang": "en",
      "name": "Château Vartely cellar tour",
      "summary": "A guided walk through the cellars followed by a tasting of five wines.",
      "category": "wine",
      "region": {
        "code": "orhei",
        "name": "Orhei and the Răut valley",
        "slug": "orhei-and-the-raut-valley"
      },
      "price": {
        "amount": 480,
        "currency": "MDL",
        "indicative": true
      },
      "priceBand": "moderate",
      "audience": [
        "couples",
        "groups"
      ],
      "durationMinutes": 120,
      "offersLodging": false,
      "image": "https://moldova.travel/media/experiences/12/cover.webp",
      "url": "https://moldova.travel/en/experiences/12-chateau-vartely-cellar-tour",
      "goUrl": "https://moldova.travel/go/e/12/api",
      "goKind": "website"
    }
  ],
  "page": 1,
  "pageSize": 12,
  "totalCount": 27,
  "totalPages": 3,
  "lang": "en"
}

GET/api/v1/experiences/{id}

One experience

Everything the experience's page shows: description, location, opening hours, seasonal notes, photos, tags, the partner's name — and goUrl, the only way to reach the partner. Contact details are deliberately absent.

Параметры · 2
id
The item's stable numeric id — the id field of a list item. Slugs are decorative and may change; ids do not.
Пример: 12
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en

Пример запроса

curl \
  "https://moldova.travel/api/v1/experiences/12?lang=en"
Пример ответа
{
  "id": 12,
  "slug": "chateau-vartely-cellar-tour",
  "lang": "en",
  "name": "Château Vartely cellar tour",
  "description": "The tour starts in the fermentation hall and ends in the barrel cellar, where five wines are tasted with local cheese. Booking is through the winery's own site.",
  "descriptionMarkdown": "",
  "category": "wine",
  "region": {
    "code": "orhei",
    "name": "Orhei and the Răut valley",
    "slug": "orhei-and-the-raut-valley"
  },
  "partner": {
    "id": 4,
    "name": "Château Vartely"
  },
  "partnerDescription": "A family winery in the Orhei hills, open since 2004.",
  "location": {
    "latitude": 47.383,
    "longitude": 28.816
  },
  "price": {
    "amount": 480,
    "currency": "MDL",
    "indicative": true
  },
  "priceBand": "moderate",
  "services": [
    {
      "name": "Winery tour",
      "priceMdl": 150
    },
    {
      "name": "Tasting of five wines",
      "priceMdl": 280
    }
  ],
  "audience": [
    "couples",
    "groups"
  ],
  "durationMinutes": 120,
  "offersLodging": false,
  "openingHoursState": "scheduled",
  "openingHours": [
    {
      "day": "saturday",
      "opens": "10:00",
      "closes": "18:00"
    },
    {
      "day": "sunday",
      "opens": "10:00",
      "closes": "16:00"
    }
  ],
  "openingHoursNote": null,
  "availabilityNotes": [
    {
      "status": "seasonal-open",
      "note": "Cellar tours run from April to October.",
      "from": "2026-04-01",
      "to": "2026-10-31"
    }
  ],
  "images": [
    "https://moldova.travel/media/experiences/12/cover.webp"
  ],
  "tags": [
    "wine",
    "tasting",
    "cellar"
  ],
  "url": "https://moldova.travel/en/experiences/12-chateau-vartely-cellar-tour",
  "goUrl": "https://moldova.travel/go/e/12/api",
  "goKind": "website",
  "lastModifiedUtc": "2026-05-02T09:30:00Z"
}

GET/api/v1/events

List upcoming events

Approved events that have not yet ended, soonest first. Cancelled events are never listed; a cancelled event's detail still answers, flagged isCancelled.

Параметры · 3
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en
page
1-based page number, default 1. A page past the last one is a 404 with errorCode EXPERIENCE_NOT_FOUND, EVENT_NOT_FOUND or PACKAGE_NOT_FOUND.
Пример: 2
pageSize
Items per page, 1 to 48. Default: the site's own catalog page size.
Пример: 12

Пример запроса

curl \
  "https://moldova.travel/api/v1/events?lang=ro"
Пример ответа
{
  "items": [
    {
      "id": 3,
      "slug": "opera-butuceni",
      "lang": "ro",
      "title": "Opera Butuceni",
      "summary": "Festival de operă în aer liber, în peisajul Orheiului Vechi.",
      "venue": "Butuceni, Orheiul Vechi",
      "startsAtUtc": "2026-08-15T16:00:00Z",
      "endsAtUtc": "2026-08-15T21:00:00Z",
      "region": {
        "code": "orhei",
        "name": "Orhei și Valea Răutului",
        "slug": "orhei-si-valea-rautului"
      },
      "ticketPriceMdl": 150,
      "image": "https://moldova.travel/media/events/3/cover.webp",
      "url": "https://moldova.travel/ro/events/3-opera-butuceni",
      "goUrl": "https://moldova.travel/go/ev/3/api"
    }
  ],
  "page": 1,
  "pageSize": 12,
  "totalCount": 5,
  "totalPages": 1,
  "lang": "ro"
}

GET/api/v1/events/{id}

One event

The event's full description, venue and GPS location, dates (UTC — display in Europe/Chisinau), photos and organising partner.

Параметры · 2
id
The item's stable numeric id — the id field of a list item. Slugs are decorative and may change; ids do not.
Пример: 12
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en

Пример запроса

curl \
  "https://moldova.travel/api/v1/events/3?lang=en"
Пример ответа
{
  "id": 3,
  "slug": "opera-butuceni",
  "lang": "en",
  "title": "Opera Butuceni",
  "description": "An open-air opera festival staged in the Orheiul Vechi landscape. Bring a blanket; the performance starts at sunset.",
  "descriptionMarkdown": "",
  "venue": "Butuceni, Orheiul Vechi",
  "location": {
    "latitude": 47.305,
    "longitude": 28.965
  },
  "startsAtUtc": "2026-08-15T16:00:00Z",
  "endsAtUtc": "2026-08-15T21:00:00Z",
  "region": {
    "code": "orhei",
    "name": "Orhei and the Răut valley",
    "slug": "orhei-and-the-raut-valley"
  },
  "ticketPriceMdl": 150,
  "partner": {
    "id": 4,
    "name": "Orheiul Vechi Cultural Reserve"
  },
  "isCancelled": false,
  "images": [
    "https://moldova.travel/media/events/3/cover.webp"
  ],
  "url": "https://moldova.travel/en/events/3-opera-butuceni",
  "goUrl": "https://moldova.travel/go/ev/3/api",
  "lastModifiedUtc": "2026-06-01T08:00:00Z"
}

GET/api/v1/packages

List published tour packages

Packages that tour operators have published and whose company an ANTRIM administrator has approved, newest first.

Параметры · 3
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en
page
1-based page number, default 1. A page past the last one is a 404 with errorCode EXPERIENCE_NOT_FOUND, EVENT_NOT_FOUND or PACKAGE_NOT_FOUND.
Пример: 2
pageSize
Items per page, 1 to 48. Default: the site's own catalog page size.
Пример: 12

Пример запроса

curl \
  "https://moldova.travel/api/v1/packages?lang=en"
Пример ответа
{
  "items": [
    {
      "id": 1,
      "slug": "three-days-of-wine-and-monasteries",
      "lang": "en",
      "title": "Three days of wine and monasteries",
      "summary": "Cricova, Orheiul Vechi and two family wineries, with a driver-guide.",
      "partner": {
        "id": 4,
        "name": "Moldova Discovery Tours"
      },
      "price": {
        "amount": 7610,
        "currency": "MDL",
        "indicative": true
      },
      "publishedAtUtc": "2026-04-20T12:00:00Z",
      "url": "https://moldova.travel/en/packages/1-three-days-of-wine-and-monasteries",
      "goUrl": "https://moldova.travel/go/p/4/api/package"
    }
  ],
  "page": 1,
  "pageSize": 12,
  "totalCount": 9,
  "totalPages": 1,
  "lang": "en"
}

GET/api/v1/packages/{id}

One tour package

The package as the operator approved it: full description, indicative price, the operator's name and the tracked goUrl to reach them.

Параметры · 2
id
The item's stable numeric id — the id field of a list item. Slugs are decorative and may change; ids do not.
Пример: 12
lang
ISO 639-1 code of a published language: ro, en or ru. Default ro. Any other code — including a language the platform models but has not published — is a 400 naming the published set, never a fallback.
Пример: en

Пример запроса

curl \
  "https://moldova.travel/api/v1/packages/1?lang=en"
Пример ответа
{
  "id": 1,
  "slug": "three-days-of-wine-and-monasteries",
  "lang": "en",
  "title": "Three days of wine and monasteries",
  "description": "Day 1: Cricova cellars and Chișinău old town. Day 2: Orheiul Vechi, Curchi monastery and a village lunch. Day 3: two family wineries in the Codru hills. Price per person, two sharing, transport and tastings included.",
  "descriptionMarkdown": "",
  "partner": {
    "id": 4,
    "name": "Moldova Discovery Tours"
  },
  "price": {
    "amount": 7610,
    "currency": "MDL",
    "indicative": true
  },
  "publishedAtUtc": "2026-04-20T12:00:00Z",
  "url": "https://moldova.travel/en/packages/1-three-days-of-wine-and-monasteries",
  "goUrl": "https://moldova.travel/go/p/4/api/package",
  "lastModifiedUtc": "2026-04-20T12:00:00Z",
  "stops": [
    {
      "name": "Chișinău — old centre",
      "location": {
        "latitude": 47.0245,
        "longitude": 28.8323
      },
      "url": null
    },
    {
      "name": "Cricova",
      "location": {
        "latitude": 47.1363,
        "longitude": 28.8578
      },
      "url": "https://moldova.travel/en/experiences/12-cricova"
    },
    {
      "name": "Orheiul Vechi",
      "location": {
        "latitude": 47.3015,
        "longitude": 28.9807
      },
      "url": null
    }
  ],
  "plan": null
}

Ошибки

400 при некорректном запросе (неопубликованный язык, неизвестный фильтр, страница за пределами диапазона), 404 для несуществующего элемента или страницы, 429 при превышении лимита. Тело ответа всегда представляет собой объект problem+json с полем errorCode.

Пример: неизвестный фильтр
{
  "title": "Invalid request",
  "status": 400,
  "detail": "One or more fields failed validation.",
  "instance": "/api/v1/experiences",
  "errorCode": "VALIDATION_FAILED",
  "errors": [
    {
      "field": "category",
      "message": "Unknown category token. Use the `category` values items carry, e.g. wine, gastronomy, rural-tourism."
    }
  ]
}
Пример: несуществующий элемент
{
  "title": "Not found",
  "status": 404,
  "detail": "No approved experience has id 999.",
  "instance": "/api/v1/experiences/999",
  "errorCode": "EXPERIENCE_NOT_FOUND"
}

Условия использования

Контент опубликован ANTRIM и ее партнерами. Ты можешь отображать и распространять данные со ссылкой на moldova.travel, сохраняя goUrl без изменений в качестве ссылки на партнера, а цены — как ориентировочные. API предоставляется «как есть», без гарантий доступности.

Для ИИ-ассистентов

Если ты используешь ChatGPT или Claude, API не нужен: подключи MCP-сервер и запроси маршрут.