最后更新
更新日志/hotels25 credits per call搜索酒店
按目的地或地图区域及入住日期查询 Etstur 上的酒店,按网站自身排序,每页 20 条,并返回指定住客和房间数下整个住宿期间的总价(TRY)。
Authorization: Bearer <key> on every request.Parameters
city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given)
arrival date YYYY-MM-DD (default: 30 days from today)
departure date YYYY-MM-DD (default: checkin + 3 nights)
number of adults in total
number of children in total
comma separated ages of the children, e.g. "5,9"
number of rooms; adults and children are spread across them
page number, 1-based
bounding box north latitude (with south, east, west: overrides destination and lat/lng)
bounding box south latitude
bounding box east longitude
bounding box west longitude
centre latitude of a circular area (with lng and radius_km: overrides destination)
centre longitude of a circular area
radius of the circular area in km
Response fields
destinatione.g."Antalya Otelleri"destination_sluge.g."Antalya-Otelleri"areacheckine.g."2026-12-28"checkoute.g."2026-12-31"nightse.g.3adultse.g.2childrene.g.0roomse.g.1pagee.g.1totale.g.1400total_in_covering_circlehas_moree.g.truehotels
ide.g."swr922thyt19"sluge.g."Mirage-Park-Resort"namee.g."Mirage Park Resort"latitudee.g.36.659376longitudee.g.30.558861citye.g."Antalya"districte.g."Kemer"regione.g."Akdeniz Bölgesi"countrye.g."Türkiye"location_labele.g."Kemer, Antalya"property_typechainstar_ratingscoree.g.9.1score_scalee.g.10score_labele.g."Mükemmel"review_counte.g.1541board_typee.g."ultra all inclusive"board_codee.g."UAI"board_labele.g."Ultra Her Şey Dahil"room_namee.g."Deluxe Bahçe Manzaralı"availablee.g.truetotal_pricee.g.42000price_before_discounte.g.60000discount_percente.g.30currencye.g."TRY"nightse.g.3taxes_includede.g.truefree_cancellatione.g.truepay_at_hotele.g.falsetagsphotosurle.g."https://www.etstur.com/Mirage-Park-Resort?check_in=28.12.2026&check_out=31.12.2026&adult_1=2&child_1=0"pagination
counte.g.20has_moree.g.truenext_cursore.g."WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"fetched_ate.g."2026-11-28T15:18:25.086Z"agee.g.0curl "https://api.maviapi.com/v1/sites/etstur/hotels?destination=Antalya&adults=2&children=0&rooms=1&page=1&radius_km=10" \-H "Authorization: Bearer $MAVI_KEY"
{
"destination": "Antalya Otelleri",
"destination_slug": "Antalya-Otelleri",
"area": null,
"checkin": "2026-12-28",
"checkout": "2026-12-31",
"nights": 3,
"adults": 2,
"children": 0,
"rooms": 1,
"page": 1,
"total": 1400,
"total_in_covering_circle": null,
"has_more": true,
"hotels": [
{
"id": "swr922thyt19",
"slug": "Mirage-Park-Resort",
"name": "Mirage Park Resort",
"latitude": 36.659376,
"longitude": 30.558861,
"city": "Antalya",
"district": "Kemer",
"region": "Akdeniz Bölgesi",
"country": "Türkiye",
"location_label": "Kemer, Antalya",
"property_type": null,
"chain": null,
"star_rating": null,
"score": 9.1,
"score_scale": 10,
"score_label": "Mükemmel",
"review_count": 1541,
"board_type": "ultra all inclusive",
"board_code": "UAI",
"board_label": "Ultra Her Şey Dahil",
"room_name": "Deluxe Bahçe Manzaralı",
"available": true,
"total_price": 42000,
"price_before_discount": 60000,
"discount_percent": 30,
"currency": "TRY",
"nights": 3,
"taxes_included": true,
"free_cancellation": true,
"pay_at_hotel": false,
"tags": [
"Kapalı Havuz"
],
"photos": [
"https://images.etstur.com/imgproxy/resize/800x450/files/images/hotelImages/etsrooms/263/Mirage_Park_Resort_20260901151240_3.jpg"
],
"url": "https://www.etstur.com/Mirage-Park-Resort?check_in=28.12.2026&check_out=31.12.2026&adult_1=2&child_1=0"
}
],
"pagination": {
"count": 20,
"has_more": true,
"next_cursor": "WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"
},
"fetched_at": "2026-11-28T15:18:25.086Z",
"age": 0
}Get all the data, no code
Collect every page of GET /hotels 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 etstur.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 etstur.com API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=etstur -- npx -y '@maviapi/mcp'Import etstur.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/etstur/openapi.json - Postman
https://api.maviapi.com/v1/apis/etstur/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
使用 etstur.com API 进行开发
选择一个端点开始
- 搜索酒店
GET /hotels按目的地或地图区域及入住日期查询 Etstur 上的酒店,按网站自身排序,每页 20 条,并返回指定住客和房间数下整个住宿期间的总价(TRY)。
GET /hotels 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 destination string / query 否 city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given) 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 否 number of adults in total children integer / query 否 number of children in total child_ages string / query 否 comma separated ages of the children, e.g. "5,9" rooms integer / query 否 number of rooms; adults and children are spread across them page integer / query 否 page number, 1-based north string / query 否 bounding box north latitude (with south, east, west: overrides destination and lat/lng) south string / query 否 bounding box south latitude east string / query 否 bounding box east longitude west string / query 否 bounding box west longitude lat string / query 否 centre latitude of a circular area (with lng and radius_km: overrides destination) lng string / query 否 centre longitude of a circular area radius_km number / query 否 radius of the circular area in km 响应字段 字段 类型 说明 destination string destination_slug string area null checkin string checkout string nights integer adults integer children integer rooms integer page integer total integer total_in_covering_circle null has_more boolean hotels object[] hotels[].id string hotels[].slug string hotels[].name string hotels[].latitude number hotels[].longitude number hotels[].city string hotels[].district string hotels[].region string hotels[].country string hotels[].location_label string hotels[].property_type null hotels[].chain null hotels[].star_rating null hotels[].score number hotels[].score_scale integer hotels[].score_label string hotels[].review_count integer hotels[].board_type string hotels[].board_code string hotels[].board_label string hotels[].room_name string hotels[].available boolean hotels[].total_price number hotels[].price_before_discount number hotels[].discount_percent integer hotels[].currency string hotels[].nights integer hotels[].taxes_included boolean hotels[].free_cancellation boolean hotels[].pay_at_hotel boolean hotels[].tags string[] hotels[].photos string[] hotels[].url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer - 获取酒店
GET /hotels/{hotel}单个 Etstur 酒店:介绍、地址、坐标、全部照片、设施、住客评分和评论数、入住/退房时间,以及指定日期下提供的所有房型,含餐食类型、住宿总价(TRY)和取消条款。
GET /hotels/{hotel} 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 hotel string / path 是 hotel id (e.g. swr922thyt19) or URL slug (e.g. Mirage-Park-Resort), as returned by 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 否 number of adults in total children integer / query 否 number of children in total child_ages string / query 否 comma separated ages of the children, e.g. "5,9" rooms integer / query 否 number of rooms; adults and children are spread across them 响应字段 字段 类型 说明 id string slug string name string url string description string address string location_label string city string district string area string country string latitude number longitude number star_rating null chain null score number score_scale integer score_label string review_count integer score_breakdown object score_breakdown.Oda number score_breakdown.Yüzme number score_breakdown.Hizmet number score_breakdown.Yemek number score_breakdown.Tavsiye Etme number score_breakdown.Fiyat Performans number checkin_time string checkout_time string important_info string season object season.title string season.from string season.to string themes string[] facilities object[] facilities[].name string facilities[].detail null facilities[].paid boolean facilities[].group null facility_sections object[] facility_sections[].title string facility_sections[].text string photos string[] license string checkin string checkout string nights integer cheapest_total_price number currency string room_types object[] room_types[].room_id string room_types[].room_name string room_types[].room_size_m2 integer room_types[].max_adults integer room_types[].board_type string room_types[].board_code string room_types[].board_label string room_types[].available boolean room_types[].total_price number room_types[].price_before_discount number room_types[].discount_percent integer room_types[].currency string room_types[].nights integer room_types[].taxes_included boolean room_types[].free_cancellation boolean room_types[].cancellation string room_types[].cancellation_terms string[] room_types[].cancellation_fees object[] room_types[].cancellation_fees[].from string room_types[].cancellation_fees[].to string room_types[].cancellation_fees[].fee number room_types[].cancellation_fees[].currency string room_types[].pay_at_hotel_only boolean room_types[].rooms_left integer room_types[].room_photos string[] fetched_at string age integer - 搜索酒店 V2
GET /hotels-v2按目的地或地图区域及入住日期查询 Etstur 上的酒店,每页 20 条,返回完整的行数据:每家酒店都会标明在该入住期间是否可预订,可预订时还会给出整个住宿期间的最低总价(TRY)。
GET /hotels-v2 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 destination string / query 否 city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given) 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 否 number of adults in total children integer / query 否 number of children in total child_ages string / query 否 comma separated ages of the children, e.g. "5,9" rooms integer / query 否 number of rooms; adults and children are spread across them page integer / query 否 page number, 1-based north string / query 否 bounding box north latitude (with south, east, west: overrides destination and lat/lng) south string / query 否 bounding box south latitude east string / query 否 bounding box east longitude west string / query 否 bounding box west longitude lat string / query 否 centre latitude of a circular area (with lng and radius_km: overrides destination) lng string / query 否 centre longitude of a circular area radius_km number / query 否 radius of the circular area in km 响应字段 字段 类型 说明 destination string destination_slug string area null checkin string checkout string nights integer adults integer children integer rooms integer page integer total integer has_more boolean hotels object[] hotels[].id string hotels[].slug string hotels[].name string hotels[].latitude number hotels[].longitude number hotels[].city string hotels[].district string hotels[].region string hotels[].country string hotels[].location_label string hotels[].property_type string hotels[].chain null hotels[].star_rating null hotels[].score number hotels[].score_scale integer hotels[].score_label string hotels[].review_count integer hotels[].board_type string hotels[].board_code string hotels[].board_label string hotels[].room_name string hotels[].available boolean hotels[].total_price null hotels[].price_before_discount null hotels[].discount_percent null hotels[].currency null hotels[].nights integer hotels[].taxes_included null hotels[].free_cancellation boolean hotels[].pay_at_hotel boolean hotels[].tags string[] hotels[].photos string[] hotels[].url string hotels[].unavailable_reason string hotels[].min_nights integer hotels[].property_type_label string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor string fetched_at string age integer
将 etstur.com 数据导出为 CSV
下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。
| 列表 | CSV 列 |
|---|---|
搜索酒店GET /hotels | id, slug, name, latitude, longitude, city, district, region, country, location_label, property_type, chain, star_rating, score, score_scale, score_label, review_count, board_type, board_code, board_label, room_name, available, total_price, price_before_discount, discount_percent, currency, nights, taxes_included, free_cancellation, pay_at_hotel, tags, photos, url |
搜索酒店 V2GET /hotels-v2 | id, slug, name, latitude, longitude, city, district, region, country, location_label, property_type, chain, star_rating, score, score_scale, score_label, review_count, board_type, board_code, board_label, room_name, available, total_price, price_before_discount, discount_percent, currency, nights, taxes_included, free_cancellation, pay_at_hotel, tags, photos, url, unavailable_reason, min_nights, property_type_label |
嵌套的值(列表或对象)以 JSON 写入同一个单元格。 数据集和导出如何工作
etstur.com API 常见问题
能获取什么数据、费用多少、如何调用。
etstur.com 有官方 API 吗?
这个 etstur.com API 不是官方 API。它是 maviapi 针对 etstur.com 上的公开数据提供的独立托管 API,并非由 etstur.com 开发、认可或支持。etstur.com 是否提供自己的开发者 API,请向 etstur.com 咨询。这个 API 用一个 maviapi 密钥即可调用,它的每个端点和返回的每个字段都在本页有文档说明。
etstur.com API 可以获取哪些数据?
etstur.com API 有 3 个端点。每个端点都返回 JSON,参数和字段见上方的文档:
- GET
/hotels: 按目的地或地图区域及入住日期查询 Etstur 上的酒店,按网站自身排序,每页 20 条,并返回指定住客和房间数下整个住宿期间的总价(TRY)。 - GET
/hotels/{hotel}: 单个 Etstur 酒店:介绍、地址、坐标、全部照片、设施、住客评分和评论数、入住/退房时间,以及指定日期下提供的所有房型,含餐食类型、住宿总价(TRY)和取消条款。 - GET
/hotels-v2: 按目的地或地图区域及入住日期查询 Etstur 上的酒店,每页 20 条,返回完整的行数据:每家酒店都会标明在该入住期间是否可预订,可预订时还会给出整个住宿期间的最低总价(TRY)。
etstur.com API 的价格是多少?
调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 25 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $4.90。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。
如何调用 etstur.com API?
向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /hotels:
curl 'https://api.maviapi.com/v1/sites/etstur/hotels' \
-H "Authorization: Bearer $MAVI_KEY"在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。
以 JSON 获取 etstur.com 数据有哪些方式?
以 JSON 获取 etstur.com 数据的每种方式适合不同的需求:
- 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 etstur.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
- Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
- RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
- maviapi: 本页的 etstur.com API:3 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。
etstur.com 改版后会怎样?
更新会破坏我的 etstur.com API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Songkick 演唱会 API
从 Songkick 获取任意城市在指定日期范围内即将举行的演唱会和音乐节,包含场馆、演出者、票价和购票链接。
- Google Maps API
来自 maps.google.com 的结构化数据。