最后更新
更新日志/search_hotels_in_area5 credits per call按区域搜索酒店
指定入住期间地图区域内的酒店,每页 20 家,按距区域中心由近到远排序(其次按 id)。每家酒店的字段与 search_hotels 相同,另加距中心的距离 distance_km。区域可以是矩形框(north/south/east/west,每边最长约 60 km),传入 lat 和 lng 时则为以该点为圆心、半径 radius_km 的圆形区域。新区域的首次调用需要数秒;后续分页和邻近区域会很快。
Authorization: Bearer <key> on every request.Parameters
northern latitude of the box (decimal degrees)
southern latitude of the box
eastern longitude of the box
western longitude of the box
centre latitude of a circle; with lng it replaces the box
centre longitude of a circle
circle radius in km (default 5 when lat/lng are given, at most 30)
arrival date YYYY-MM-DD (default: 30 days from today)
departure date YYYY-MM-DD (default: checkin + 3 nights)
total number of adults, spread over the rooms
comma separated ages of the children (0-17), e.g. "5,9"; they stay in the first room
number of rooms
result page, 1-based (20 hotels per page)
true keeps only hotels bookable for the stay; false also lists sold-out ones (price null)
Response fields
area
northe.g.36.7southe.g.36.55easte.g.30.62weste.g.30.5centercheckine.g."2026-12-28"checkoute.g."2026-12-31"nightse.g.3rooms_querye.g."2"total_resultse.g.15pagee.g.1page_sizee.g.20hotels
ide.g.594846sluge.g."crystal-de-luxe-comfort-collection"namee.g."Crystal De Luxe Comfort Collection"latitudee.g.36.6051139831543longitudee.g.30.5618057250977locatione.g."Antalya, Kemer, Kemer Merkez"citye.g."Antalya"districte.g."Kemer"areae.g.""property_typee.g."hotel"starse.g.5guest_scoree.g.9.8guest_score_scalee.g.10guest_score_texte.g."Mükemmel"review_counte.g.3781total_pricee.g.23184price_before_discounte.g.28980currencye.g."TRY"price_includes_taxese.g.truenightse.g.3board_typee.g."Ultimate Her Şey Dahil"boarde.g."ultra_all_inclusive"board_types_availablefree_cancellatione.g.trueavailablee.g.truephotosurle.g."https://www.jollytur.com/crystal-de-luxe-comfort-collection?Rooms=2&StartDate=2026.12.28&EndDate=2026.12.31"distance_kme.g.2.22pagination
counte.g.15has_moree.g.truenext_cursore.g."WzEsIjVjYjllYTkwIixudWxsLDAseyJwYWdlIjoyfV0"fetched_ate.g."2026-11-28T15:55:50.362Z"agee.g.0curl "https://api.maviapi.com/v1/sites/jollytur/search_hotels_in_area?north=36.7&south=36.55&east=30.62&west=30.5&adults=2&rooms=1&page=1&available_only=true" \-H "Authorization: Bearer $MAVI_KEY"
{
"area": {
"north": 36.7,
"south": 36.55,
"east": 30.62,
"west": 30.5,
"center": [
36.625
]
},
"checkin": "2026-12-28",
"checkout": "2026-12-31",
"nights": 3,
"rooms_query": "2",
"total_results": 15,
"page": 1,
"page_size": 20,
"hotels": [
{
"id": 594846,
"slug": "crystal-de-luxe-comfort-collection",
"name": "Crystal De Luxe Comfort Collection",
"latitude": 36.6051139831543,
"longitude": 30.5618057250977,
"location": "Antalya, Kemer, Kemer Merkez",
"city": "Antalya",
"district": "Kemer",
"area": "",
"property_type": "hotel",
"stars": 5,
"guest_score": 9.8,
"guest_score_scale": 10,
"guest_score_text": "Mükemmel",
"review_count": 3781,
"total_price": 23184,
"price_before_discount": 28980,
"currency": "TRY",
"price_includes_taxes": true,
"nights": 3,
"board_type": "Ultimate Her Şey Dahil",
"board": "ultra_all_inclusive",
"board_types_available": [
"Ultimate Her Şey Dahil"
],
"free_cancellation": true,
"available": true,
"photos": [
"https://cdng.jollytur.com/files/cms/media/hotel/0e4169ca-80da-414b-997a-b8062ba5a73c.jpeg"
],
"url": "https://www.jollytur.com/crystal-de-luxe-comfort-collection?Rooms=2&StartDate=2026.12.28&EndDate=2026.12.31",
"distance_km": 2.22
}
],
"pagination": {
"count": 15,
"has_more": true,
"next_cursor": "WzEsIjVjYjllYTkwIixudWxsLDAseyJwYWdlIjoyfV0"
},
"fetched_at": "2026-11-28T15:55:50.362Z",
"age": 0
}Get all the data, no code
Collect every page of GET /search_hotels_in_area 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 jollytur.com API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of jollytur.com API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=jollytur -- npx -y '@maviapi/mcp'Import jollytur.com API into Postman and other tools
How to importPaste 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/jollytur/openapi.json - Postman
https://api.maviapi.com/v1/apis/jollytur/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
使用 jollytur.com API 进行开发
选择一个端点开始
- 按区域搜索酒店
GET /search_hotels_in_area指定入住期间地图区域内的酒店,每页 20 家,按距区域中心由近到远排序(其次按 id)。每家酒店的字段与 search_hotels 相同,另加距中心的距离 distance_km。区域可以是矩形框(north/south/east/west,每边最长约 60 km),传入 lat 和 lng 时则为以该点为圆心、半径 radius_km 的圆形区域。新区域的首次调用需要数秒;后续分页和邻近区域会很快。
GET /search_hotels_in_area 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 north number / query 否 northern latitude of the box (decimal degrees) south number / query 否 southern latitude of the box east number / query 否 eastern longitude of the box west number / query 否 western longitude of the box lat string / query 否 centre latitude of a circle; with lng it replaces the box lng string / query 否 centre longitude of a circle radius_km string / query 否 circle radius in km (default 5 when lat/lng are given, at most 30) checkin string / query 否 arrival date YYYY-MM-DD (default: 30 days from today) checkout string / query 否 departure date YYYY-MM-DD (default: checkin + 3 nights) adults integer / query 否 total number of adults, spread over the rooms children_ages string / query 否 comma separated ages of the children (0-17), e.g. "5,9"; they stay in the first room rooms integer / query 否 number of rooms page integer / query 否 result page, 1-based (20 hotels per page) available_only boolean / query 否 true keeps only hotels bookable for the stay; false also lists sold-out ones (price null) 响应字段 字段 类型 说明 area object area.north number area.south number area.east number area.west number area.center number[] checkin string checkout string nights integer rooms_query string total_results integer page integer page_size integer hotels object[] hotels[].id integer hotels[].slug string hotels[].name string hotels[].latitude number hotels[].longitude number hotels[].location string hotels[].city string hotels[].district string hotels[].area string hotels[].property_type string hotels[].stars integer hotels[].guest_score number hotels[].guest_score_scale integer hotels[].guest_score_text string hotels[].review_count integer hotels[].total_price number hotels[].price_before_discount number hotels[].currency string hotels[].price_includes_taxes boolean hotels[].nights integer hotels[].board_type string hotels[].board string hotels[].board_types_available string[] hotels[].free_cancellation boolean hotels[].available boolean hotels[].photos string[] hotels[].url string hotels[].distance_km number pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer - 获取酒店
GET /get_hotel单个酒店的完整信息:简介、基本信息(客房数、面积、建筑年限)、设施、全部照片、坐标、地址、入住/退房时间、膳食类型,以及该入住期间的所有客房报价,每条报价包含总价(土耳其境内酒店为含税 TRY;境外酒店为网站所用货币,如 EUR)、膳食类型、免费取消标记、取消政策和每晚价格。境外酒店在此处不提供取消条款和每晚价格,因此这些字段为 null 或空。
GET /get_hotel 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 hotel_id string / query 否 numeric hotel id as returned by search_hotels (hotels in Türkiye/Cyprus); when given it is used instead of slug slug string / query 否 the hotel's URL name on jollytur.com, e.g. "castival-hotel" (the "slug" field of search_hotels) checkin string / query 否 arrival date YYYY-MM-DD (default: 30 days from today) checkout string / query 否 departure date YYYY-MM-DD (default: checkin + 3 nights) adults integer / query 否 total number of adults, spread over the rooms children_ages string / query 否 comma separated ages of the children (0-17), e.g. "5,9"; they stay in the first room rooms integer / query 否 number of rooms 响应字段 字段 类型 说明 id integer slug string name string property_type string stars null description string facts object facts.Alan (m2) string facts.Bina Yaşı string facts.Oda string facts.Restaurant string facts.Bar string latitude number longitude number address object address.street string address.postal_code string address.country string address.region string address.city string address.district string address.area string address.neighborhood string checkin_time string checkout_time string amenities string[] board_types string[] themes string[] photos string[] available boolean checkin string checkout string nights integer rooms_query string room_offers object[] room_offers[].room_type string room_offers[].board_type string room_offers[].board string room_offers[].total_price number room_offers[].price_before_discount number room_offers[].currency string room_offers[].price_includes_taxes boolean room_offers[].nights integer room_offers[].free_cancellation boolean room_offers[].cancellation_policy string room_offers[].notes string[] room_offers[].room_facts string[] room_offers[].room_amenities string[] room_offers[].room_description string room_offers[].nightly_prices object[] room_offers[].nightly_prices[].date string room_offers[].nightly_prices[].price number room_offers[].photos string[] url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor null fetched_at string age integer - 搜索酒店
GET /search_hotels指定入住期间某城市或地区的酒店,每页 20 家,按网站自身的顺序排列。每家酒店包含 id、名称、坐标、物业类型、星级(取自网站的星级分类,未归类时为 null)、住客评分(满分 10)和评论数、整个住宿期间的总价(土耳其境内酒店为含税 TRY;境外酒店为网站所用货币,如 EUR)、该价格对应的膳食类型(沿用网站名称)及标准化膳食代码(all_inclusive、ultra_all_inclusive、full_board、half_board、bed_and_breakfast、room_only)、免费取消标记、照片,以及带有入住日期的酒店页面 URL。
GET /search_hotels 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 destination string / query 否 city or region name, e.g. "Antalya", "Belek", "Bodrum", "Kapadokya", "Paris" checkin string / query 否 arrival date YYYY-MM-DD (default: 30 days from today) checkout string / query 否 departure date YYYY-MM-DD (default: checkin + 3 nights) adults integer / query 否 total number of adults, spread over the rooms children_ages string / query 否 comma separated ages of the children (0-17), e.g. "5,9"; they stay in the first room rooms integer / query 否 number of rooms page integer / query 否 result page, 1-based (20 hotels per page) sort string / query 否 recommended (site's suggestion), price_asc, price_desc, discount, guest_score 可选值: recommended, price_asc, price_desc, discount, guest_score. available_only boolean / query 否 true keeps only hotels bookable for the stay; false also lists sold-out ones (price null) 响应字段 字段 类型 说明 destination object destination.id integer destination.name string destination.breadcrumb string destination.path string checkin string checkout string nights integer rooms_query string total_results integer page integer page_size integer hotels object[] hotels[].id integer hotels[].slug string hotels[].name string hotels[].latitude number hotels[].longitude number hotels[].location string hotels[].city string hotels[].district string hotels[].area string hotels[].property_type string hotels[].stars integer hotels[].guest_score number hotels[].guest_score_scale integer hotels[].guest_score_text string hotels[].review_count integer hotels[].total_price number hotels[].price_before_discount number hotels[].currency string hotels[].price_includes_taxes boolean hotels[].nights integer hotels[].board_type string hotels[].board string hotels[].board_types_available string[] hotels[].free_cancellation boolean hotels[].available boolean hotels[].photos string[] hotels[].url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer
将 jollytur.com 数据导出为 CSV
下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。
| 列表 | CSV 列 |
|---|---|
按区域搜索酒店GET /search_hotels_in_area | id, slug, name, latitude, longitude, location, city, district, area, property_type, stars, guest_score, guest_score_scale, guest_score_text, review_count, total_price, price_before_discount, currency, price_includes_taxes, nights, board_type, board, board_types_available, free_cancellation, available, photos, url, distance_km |
获取酒店GET /get_hotel | room_type, board_type, board, total_price, price_before_discount, currency, price_includes_taxes, nights, free_cancellation, cancellation_policy, notes, room_facts, room_amenities, room_description, nightly_prices, photos |
搜索酒店GET /search_hotels | id, slug, name, latitude, longitude, location, city, district, area, property_type, stars, guest_score, guest_score_scale, guest_score_text, review_count, total_price, price_before_discount, currency, price_includes_taxes, nights, board_type, board, board_types_available, free_cancellation, available, photos, url |
嵌套的值(列表或对象)以 JSON 写入同一个单元格。 数据集和导出如何工作
jollytur.com API 常见问题
能获取什么数据、费用多少、如何调用。
jollytur.com 有官方 API 吗?
这个 jollytur.com API 不是官方 API。它是 maviapi 针对 jollytur.com 上的公开数据提供的独立托管 API,并非由 jollytur.com 开发、认可或支持。jollytur.com 是否提供自己的开发者 API,请向 jollytur.com 咨询。这个 API 用一个 maviapi 密钥即可调用,它的每个端点和返回的每个字段都在本页有文档说明。
jollytur.com API 可以获取哪些数据?
jollytur.com API 有 3 个端点。每个端点都返回 JSON,参数和字段见上方的文档:
- GET
/search_hotels_in_area: 指定入住期间地图区域内的酒店,每页 20 家,按距区域中心由近到远排序(其次按 id)。 - GET
/get_hotel: 单个酒店的完整信息:简介、基本信息(客房数、面积、建筑年限)、设施、全部照片、坐标、地址、入住/退房时间、膳食类型,以及该入住期间的所有客房报价,每条报价包含总价(土耳其境内酒店为含税 TRY;境外酒店为网站所用货币,如 EUR)、膳食类型、免费取消标记、取消政策和每晚价格。 - GET
/search_hotels: 指定入住期间某城市或地区的酒店,每页 20 家,按网站自身的顺序排列。
jollytur.com API 的价格是多少?
调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 5 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $0.98。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。
如何调用 jollytur.com API?
向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /search_hotels_in_area:
curl 'https://api.maviapi.com/v1/sites/jollytur/search_hotels_in_area' \
-H "Authorization: Bearer $MAVI_KEY"在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。
以 JSON 获取 jollytur.com 数据有哪些方式?
以 JSON 获取 jollytur.com 数据的每种方式适合不同的需求:
- 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 jollytur.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
- Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
- RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
- maviapi: 本页的 jollytur.com API:3 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。
jollytur.com 改版后会怎样?
更新会破坏我的 jollytur.com API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Songkick 演唱会 API
从 Songkick 获取任意城市在指定日期范围内即将举行的演唱会和音乐节,包含场馆、演出者、票价和购票链接。
- Google Maps API
来自 maps.google.com 的结构化数据。