Skip to content

最后更新

更新日志

Dubrovnik 活动日历 API

正常只读

Dubrovnik 旅游局官方活动日历:返回指定日期范围内的所有活动,包括日期、场地和地址、价格、购票链接、类别以及主办方联系方式,支持英语或克罗地亚语。 来源: experiencedubrovnik.com.

基础 URL
https://api.maviapi.com/v1/sites/dubrovnik-events
2
端点
1 h ago
最近验证
100%
可用率 / 7 天
1752ms
p50 延迟
GET/events1 credit per call

活动

按日期窗口返回杜布罗夫尼克官方活动日历中的活动,每页 50 条,按网站原有顺序(开始时间)排列。每个活动包含开始和结束时间(带杜布罗夫尼克时区偏移的 ISO 格式,未提供时间时为日期)、场地和地址、地图坐标、价格(最低价/最高价/币种及网站原文)、免费标记、购票链接、类别、图片、主办方联系方式和描述、活动 iCalendar(.ics)文件链接(ics_url),以及 details_loaded:无法获取活动详情记录(地址、主办方、完整描述、购票链接)时为 false,相应字段为空。`total` 为该窗口内的活动总数,`has_more` 表示是否还有下一页。与窗口有重叠的活动(如已在进行的展览)也会包含在内。

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

number of days ahead, today (Dubrovnik time) included: 1 is today only; counted from `from` when given. Without days, from and to: every upcoming event

stringOptionalin query

first day of the window, YYYY-MM-DD (default today); past dates work, the calendar keeps its history

stringOptionalin query

last day of the window, YYYY-MM-DD, included; overrides `days`

integerOptionalin query

page of 50 events, starting at 1

stringOptionalin query

language of titles, categories, prices and descriptions (en falls back to Croatian where the site has no translation)

stringOptionalin query

words to search in the events' titles and descriptions

stringOptionalin query

only events of this category: its id from /categories or its English or Croatian name (Concerts, Izložbe)

queryobject5 fields
fromstringe.g."2026-11-27"
tonull
langstringe.g."en"
qnull
categorynull
totalintegere.g.146
pageintegere.g.1
pagesintegere.g.3
per_pageintegere.g.50
has_morebooleane.g.true
repeatsstringe.g."Each row is one dated record of the calendar. An event the site schedules on several days (a show running daily) comes as one row per day, each with its own id; an exhibition or festival the site lists as one continuous run is a single row with multi_day: true and its first and last day in start and end."
eventsobject[]19 fields
idstringe.g."8141"
urlstringe.g."https://experiencedubrovnik.com/en/dogadanja/8141-faust-vrancic-machinae-novae"
titlestringe.g."Faust Vrančić – Machinae novae"
startstringe.g."2026-09-11T19:00:00+02:00"
endstringe.g."2027-01-19T20:00:00+01:00"
all_daybooleane.g.false
multi_daybooleane.g.true
venuestringe.g."Kontrapogon TUP"
locationobject4 fields
namestringe.g."Kontrapogon TUP"
addressstringe.g."Sv. Križa 3, 20 000 Dubrovnik"
latnull
lngnull
priceobject4 fields
minintegere.g.0
maxintegere.g.0
currencynull
textstringe.g."Free"
freebooleane.g.true
ticket_urlnull
imagestringe.g."https://experiencedubrovnik.com/tzevents/public/images/tzdevents/submissions/33/20260909_095947_a07b5344.jpg"
categorystringe.g."Exhibitions"
category_idstringe.g."24"
organizerobject3 fields
websitestringe.g."https://tmnt.hr/hr-hr/"
emailstringe.g."ravnatelj@cdmodubrovnik.hr"
phonestringe.g."0994322042"
descriptionstringe.g."The exhibition of the Technical Museum Nikola Tesla \"Faust Vrančić - Machinae novae\" will open this Friday, September 11, 2026 at 7:00 PM in the Kontrapogon TUP space in Dubrovnik. The exhibition is organized by the Dubrovnik Libraries, UTD Ragusa and the Technical Museum Nikola Tesla.\n\nThe exhibition is dedicated to Faust Vrančić, one of the most important Croatian Renaissance innovators, constructors and technical writers. The centerpiece of the exhibition is his monumental work Machinae novae (New Machines), published in Venice in 1615. In this book, Vrančić depicted 56 different devices and technical constructions in 49 etchings, accompanied by descriptions in several languages. Among the constructions shown are bridges, mills, presses and various devices for lifting loads, and the depiction of a parachute, or \"flying man\" (Homo volans), is particularly famous.\n\nThe exhibition presents Vrančić's ideas through enlarged views of illustrations from Machinae novae, models made according to his designs, video projections and other exhibition materials. A special place is given to books and publications related to Vrančić and his work, which highlights the importance of his written legacy and books as a means of disseminating technical knowledge. Visitors will thus be able to learn not only about Vrančić's constructions and inventions, but also the way in which he recorded, presented and conveyed his technical ideas to a European audience. The exhibition connects the history of technology, science, culture and the history of books and shows how innovative Vrančić's ideas were for their time.\n\nEducational programmes, workshops, lectures and organised tours are planned for the duration of the exhibition, with a special emphasis on primary and secondary school students. The aim is to introduce young people to Vrančić's life and work, the history of technical heritage and to stimulate interest in science, technology and creative thinking. The educational program will be implemented in collaboration with the Technical Museum Nikola Tesla, Museum of Modern Art Dubrovnik, Center for Children, Youth and Family Dubrovnik, and the The City of Dubrovnik Association of Technical Culture.\n\nThe exhibition's visit to Dubrovnik is the result of the collaboration between the Dubrovnik Libraries, the Ragusa Technical University, and the Technical Museum Nikola Tesla, and represents an opportunity to bring the valuable Croatian scientific and technical heritage closer to the Dubrovnik audience and visitors to the city."
ics_urlstringe.g."https://experiencedubrovnik.com/tzevents/public/api/calendar/8141.ics"
details_loadedbooleane.g.true
paginationobject3 fields
countintegere.g.50
has_morebooleane.g.true
next_cursorstringe.g."WzEsIjBlNzgzMjc4IixudWxsLDAseyJwYWdlIjoyfV0"
fetched_atstringe.g."2026-11-27T10:09:47.671Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/dubrovnik-events/events?page=1&lang=en
Request
curl "https://api.maviapi.com/v1/sites/dubrovnik-events/events?page=1&lang=en" \
-H "Authorization: Bearer $MAVI_KEY"
Example4.3 KB
{
  "query": {
    "from": "2026-11-27",
    "to": null,
    "lang": "en",
    "q": null,
    "category": null
  },
  "total": 146,
  "page": 1,
  "pages": 3,
  "per_page": 50,
  "has_more": true,
  "repeats": "Each row is one dated record of the calendar. An event the site schedules on several days (a show running daily) comes as one row per day, each with its own id; an exhibition or festival the site lists as one continuous run is a single row with multi_day: true and its first and last day in start and end.",
  "events": [
    {
      "id": "8141",
      "url": "https://experiencedubrovnik.com/en/dogadanja/8141-faust-vrancic-machinae-novae",
      "title": "Faust Vrančić – Machinae novae",
      "start": "2026-09-11T19:00:00+02:00",
      "end": "2027-01-19T20:00:00+01:00",
      "all_day": false,
      "multi_day": true,
      "venue": "Kontrapogon TUP",
      "location": {
        "name": "Kontrapogon TUP",
        "address": "Sv. Križa 3, 20 000 Dubrovnik",
        "lat": null,
        "lng": null
      },
      "price": {
        "min": 0,
        "max": 0,
        "currency": null,
        "text": "Free"
      },
      "free": true,
      "ticket_url": null,
      "image": "https://experiencedubrovnik.com/tzevents/public/images/tzdevents/submissions/33/20260909_095947_a07b5344.jpg",
      "category": "Exhibitions",
      "category_id": "24",
      "organizer": {
        "website": "https://tmnt.hr/hr-hr/",
        "email": "ravnatelj@cdmodubrovnik.hr",
        "phone": "0994322042"
      },
      "description": "The exhibition of the Technical Museum Nikola Tesla \"Faust Vrančić - Machinae novae\" will open this Friday, September 11, 2026 at 7:00 PM in the Kontrapogon TUP space in Dubrovnik. The exhibition is organized by the Dubrovnik Libraries, UTD Ragusa and the Technical Museum Nikola Tesla.\n\nThe exhibition is dedicated to Faust Vrančić, one of the most important Croatian Renaissance innovators, constructors and technical writers. The centerpiece of the exhibition is his monumental work Machinae novae (New Machines), published in Venice in 1615. In this book, Vrančić depicted 56 different devices and technical constructions in 49 etchings, accompanied by descriptions in several languages. Among the constructions shown are bridges, mills, presses and various devices for lifting loads, and the depiction of a parachute, or \"flying man\" (Homo volans), is particularly famous.\n\nThe exhibition presents Vrančić's ideas through enlarged views of illustrations from Machinae novae, models made according to his designs, video projections and other exhibition materials. A special place is given to books and publications related to Vrančić and his work, which highlights the importance of his written legacy and books as a means of disseminating technical knowledge. Visitors will thus be able to learn not only about Vrančić's constructions and inventions, but also the way in which he recorded, presented and conveyed his technical ideas to a European audience. The exhibition connects the history of technology, science, culture and the history of books and shows how innovative Vrančić's ideas were for their time.\n\nEducational programmes, workshops, lectures and organised tours are planned for the duration of the exhibition, with a special emphasis on primary and secondary school students. The aim is to introduce young people to Vrančić's life and work, the history of technical heritage and to stimulate interest in science, technology and creative thinking. The educational program will be implemented in collaboration with the Technical Museum Nikola Tesla, Museum of Modern Art Dubrovnik, Center for Children, Youth and Family Dubrovnik, and the The City of Dubrovnik Association of Technical Culture.\n\nThe exhibition's visit to Dubrovnik is the result of the collaboration between the Dubrovnik Libraries, the Ragusa Technical University, and the Technical Museum Nikola Tesla, and represents an opportunity to bring the valuable Croatian scientific and technical heritage closer to the Dubrovnik audience and visitors to the city.",
      "ics_url": "https://experiencedubrovnik.com/tzevents/public/api/calendar/8141.ics",
      "details_loaded": true
    }
  ],
  "pagination": {
    "count": 50,
    "has_more": true,
    "next_cursor": "WzEsIjBlNzgzMjc4IixudWxsLDAseyJwYWdlIjoyfV0"
  },
  "fetched_at": "2026-11-27T10:09:47.671Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /events into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.

Use Dubrovnik 活动日历 API from Claude, ChatGPT and your coding tools

Add this URL as a custom connector and sign in to maviapi. Nothing to install.

How to connect
https://mcp.maviapi.com/mcp

Or run it locally, with each endpoint of Dubrovnik 活动日历 API as its own tool:

claude mcp add maviapi -e MAVIAPI_TOOLS=dubrovnik-events -- npx -y '@maviapi/mcp'

Import Dubrovnik 活动日历 API into Postman and other tools

How to import

Paste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.

  • OpenAPI 3.1
    https://api.maviapi.com/v1/apis/dubrovnik-events/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/dubrovnik-events/postman.json

The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.

使用 Dubrovnik 活动日历 API 进行开发

选择一个端点开始

  • 活动 GET /events

    按日期窗口返回杜布罗夫尼克官方活动日历中的活动,每页 50 条,按网站原有顺序(开始时间)排列。每个活动包含开始和结束时间(带杜布罗夫尼克时区偏移的 ISO 格式,未提供时间时为日期)、场地和地址、地图坐标、价格(最低价/最高价/币种及网站原文)、免费标记、购票链接、类别、图片、主办方联系方式和描述、活动 iCalendar(.ics)文件链接(ics_url),以及 details_loaded:无法获取活动详情记录(地址、主办方、完整描述、购票链接)时为 false,相应字段为空。`total` 为该窗口内的活动总数,`has_more` 表示是否还有下一页。与窗口有重叠的活动(如已在进行的展览)也会包含在内。

    GET /events 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    daysstring / query否number of days ahead, today (Dubrovnik time) included: 1 is today only; counted from `from` when given. Without days, from and to: every upcoming event
    fromstring / query否first day of the window, YYYY-MM-DD (default today); past dates work, the calendar keeps its history
    tostring / query否last day of the window, YYYY-MM-DD, included; overrides `days`
    pageinteger / query否page of 50 events, starting at 1
    langstring / query否language of titles, categories, prices and descriptions (en falls back to Croatian where the site has no translation) 可选值: en, hr.
    qstring / query否words to search in the events' titles and descriptions
    categorystring / query否only events of this category: its id from /categories or its English or Croatian name (Concerts, Izložbe)
    响应字段
    字段类型说明
    queryobject
    query.fromstring
    query.tonull
    query.langstring
    query.qnull
    query.categorynull
    totalinteger
    pageinteger
    pagesinteger
    per_pageinteger
    has_moreboolean
    repeatsstring
    eventsobject[]
    events[].idstring
    events[].urlstring
    events[].titlestring
    events[].startstring
    events[].endstring
    events[].all_dayboolean
    events[].multi_dayboolean
    events[].venuestring
    events[].locationobject
    events[].location.namestring
    events[].location.addressstring
    events[].location.latnull
    events[].location.lngnull
    events[].priceobject
    events[].price.mininteger
    events[].price.maxinteger
    events[].price.currencynull
    events[].price.textstring
    events[].freeboolean
    events[].ticket_urlnull
    events[].imagestring
    events[].categorystring
    events[].category_idstring
    events[].organizerobject
    events[].organizer.websitestring
    events[].organizer.emailstring
    events[].organizer.phonestring
    events[].descriptionstring
    events[].ics_urlstring
    events[].details_loadedboolean
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • 类别 GET /categories

    返回杜布罗夫尼克活动日历的类别,每个类别包含 id、英文名称(name)、克罗地亚语和英语名称以及 URL 别名。将 id 或名称作为 `category` 传给 /events。

    GET /categories 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    qstring / query否only categories whose English or Croatian name, alias or id contains this text (case-insensitive)
    响应字段
    字段类型说明
    totalinteger
    categoriesobject[]
    categories[].idstring
    categories[].namestring
    categories[].name_hrstring
    categories[].name_enstring
    categories[].aliasstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger

将 Dubrovnik 活动日历 数据导出为 CSV

下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。

列表CSV 列
活动GET /eventsid, url, title, start, end, all_day, multi_day, venue, location, price, free, ticket_url, image, category, category_id, organizer, description, ics_url, details_loaded
类别GET /categoriesid, name, name_hr, name_en, alias

嵌套的值(列表或对象)以 JSON 写入同一个单元格。 数据集和导出如何工作

Dubrovnik 活动日历 API 常见问题

能获取什么数据、费用多少、如何调用。

Dubrovnik 活动日历 有官方 API 吗?

这个 Dubrovnik 活动日历 API 不是官方 API。它是 maviapi 针对 experiencedubrovnik.com 上的公开数据提供的独立托管 API,并非由 Dubrovnik 活动日历 开发、认可或支持。Dubrovnik 活动日历 是否提供自己的开发者 API,请向 Dubrovnik 活动日历 咨询。这个 API 用一个 maviapi 密钥即可调用,它的每个端点和返回的每个字段都在本页有文档说明。

Dubrovnik 活动日历 API 可以获取哪些数据?

Dubrovnik 活动日历 API 有 2 个端点。每个端点都返回 JSON,参数和字段见上方的文档:

  • GET /events: 按日期窗口返回杜布罗夫尼克官方活动日历中的活动,每页 50 条,按网站原有顺序(开始时间)排列。
  • GET /categories: 返回杜布罗夫尼克活动日历的类别,每个类别包含 id、英文名称(name)、克罗地亚语和英语名称以及 URL 别名。

Dubrovnik 活动日历 API 的价格是多少?

调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 1 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $0.20。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。

如何调用 Dubrovnik 活动日历 API?

向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /events:

cURL
curl 'https://api.maviapi.com/v1/sites/dubrovnik-events/events' \
  -H "Authorization: Bearer $MAVI_KEY"

在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。

以 JSON 获取 Dubrovnik 活动日历 数据有哪些方式?

以 JSON 获取 Dubrovnik 活动日历 数据的每种方式适合不同的需求:

  • 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 experiencedubrovnik.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
  • Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
  • RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
  • maviapi: 本页的 Dubrovnik 活动日历 API:2 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。

experiencedubrovnik.com 改版后会怎样?

您的代码不需要改动。experiencedubrovnik.com 修改页面时,maviapi 会让 Dubrovnik 活动日历 API 保持可用,您继续调用同样的端点,并得到本页文档所述结构的 JSON。它当前的运行状况见状态页,变更记录见它的更新日志。

更新会破坏我的 Dubrovnik 活动日历 API 集成吗?

不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。

  • Tripadvisor API

    来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…

  • Google Maps API

    来自 maps.google.com 的结构化数据。

  • Kiwi.com API

    搜索并比较 Kiwi.com 上的航班:返回带实时价格、航空公司、航线和起降时间的行程,还可查询地点和航线。