Skip to content

最后更新

更新日志

etstur.com API

部分异常只读

来自 etstur.com 的结构化数据。 来源: www.etstur.com.

基础 URL
https://api.maviapi.com/v1/sites/etstur
3
端点
1 h ago
最近验证
3715ms
p50 延迟
GET/hotels25 credits per call

搜索酒店

按目的地或地图区域及入住日期查询 Etstur 上的酒店,按网站自身排序,每页 20 条,并返回指定住客和房间数下整个住宿期间的总价(TRY)。

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

city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given)

stringOptionalin query

arrival date YYYY-MM-DD (default: 30 days from today)

stringOptionalin query

departure date YYYY-MM-DD (default: checkin + 3 nights)

integerOptionalin query

number of adults in total

integerOptionalin query

number of children in total

stringOptionalin query

comma separated ages of the children, e.g. "5,9"

integerOptionalin query

number of rooms; adults and children are spread across them

integerOptionalin query

page number, 1-based

stringOptionalin query

bounding box north latitude (with south, east, west: overrides destination and lat/lng)

stringOptionalin query

bounding box south latitude

stringOptionalin query

bounding box east longitude

stringOptionalin query

bounding box west longitude

stringOptionalin query

centre latitude of a circular area (with lng and radius_km: overrides destination)

stringOptionalin query

centre longitude of a circular area

numberOptionalin query

radius of the circular area in km

destinationstringe.g."Antalya Otelleri"
destination_slugstringe.g."Antalya-Otelleri"
areanull
checkinstringe.g."2026-12-28"
checkoutstringe.g."2026-12-31"
nightsintegere.g.3
adultsintegere.g.2
childrenintegere.g.0
roomsintegere.g.1
pageintegere.g.1
totalintegere.g.1400
total_in_covering_circlenull
has_morebooleane.g.true
hotelsobject[]33 fields
idstringe.g."swr922thyt19"
slugstringe.g."Mirage-Park-Resort"
namestringe.g."Mirage Park Resort"
latitudenumbere.g.36.659376
longitudenumbere.g.30.558861
citystringe.g."Antalya"
districtstringe.g."Kemer"
regionstringe.g."Akdeniz Bölgesi"
countrystringe.g."Türkiye"
location_labelstringe.g."Kemer, Antalya"
property_typenull
chainnull
star_ratingnull
scorenumbere.g.9.1
score_scaleintegere.g.10
score_labelstringe.g."Mükemmel"
review_countintegere.g.1541
board_typestringe.g."ultra all inclusive"
board_codestringe.g."UAI"
board_labelstringe.g."Ultra Her Şey Dahil"
room_namestringe.g."Deluxe Bahçe Manzaralı"
availablebooleane.g.true
total_pricenumbere.g.42000
price_before_discountnumbere.g.60000
discount_percentintegere.g.30
currencystringe.g."TRY"
nightsintegere.g.3
taxes_includedbooleane.g.true
free_cancellationbooleane.g.true
pay_at_hotelbooleane.g.false
tagsstring[]
photosstring[]
urlstringe.g."https://www.etstur.com/Mirage-Park-Resort?check_in=28.12.2026&check_out=31.12.2026&adult_1=2&child_1=0"
paginationobject3 fields
countintegere.g.20
has_morebooleane.g.true
next_cursorstringe.g."WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"
fetched_atstringe.g."2026-11-28T15:18:25.086Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/etstur/hotels?destination=Antalya&adults=2&children=0&rooms=1&page=1&radius_km=10
Request
curl "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"
Example1.7 KB
{
  "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.

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

Or 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 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/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 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    destinationstring / query否city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given)
    checkinstring / query否arrival date YYYY-MM-DD (default: 30 days from today)
    checkoutstring / query否departure date YYYY-MM-DD (default: checkin + 3 nights)
    adultsinteger / query否number of adults in total
    childreninteger / query否number of children in total
    child_agesstring / query否comma separated ages of the children, e.g. "5,9"
    roomsinteger / query否number of rooms; adults and children are spread across them
    pageinteger / query否page number, 1-based
    northstring / query否bounding box north latitude (with south, east, west: overrides destination and lat/lng)
    southstring / query否bounding box south latitude
    eaststring / query否bounding box east longitude
    weststring / query否bounding box west longitude
    latstring / query否centre latitude of a circular area (with lng and radius_km: overrides destination)
    lngstring / query否centre longitude of a circular area
    radius_kmnumber / query否radius of the circular area in km
    响应字段
    字段类型说明
    destinationstring
    destination_slugstring
    areanull
    checkinstring
    checkoutstring
    nightsinteger
    adultsinteger
    childreninteger
    roomsinteger
    pageinteger
    totalinteger
    total_in_covering_circlenull
    has_moreboolean
    hotelsobject[]
    hotels[].idstring
    hotels[].slugstring
    hotels[].namestring
    hotels[].latitudenumber
    hotels[].longitudenumber
    hotels[].citystring
    hotels[].districtstring
    hotels[].regionstring
    hotels[].countrystring
    hotels[].location_labelstring
    hotels[].property_typenull
    hotels[].chainnull
    hotels[].star_ratingnull
    hotels[].scorenumber
    hotels[].score_scaleinteger
    hotels[].score_labelstring
    hotels[].review_countinteger
    hotels[].board_typestring
    hotels[].board_codestring
    hotels[].board_labelstring
    hotels[].room_namestring
    hotels[].availableboolean
    hotels[].total_pricenumber
    hotels[].price_before_discountnumber
    hotels[].discount_percentinteger
    hotels[].currencystring
    hotels[].nightsinteger
    hotels[].taxes_includedboolean
    hotels[].free_cancellationboolean
    hotels[].pay_at_hotelboolean
    hotels[].tagsstring[]
    hotels[].photosstring[]
    hotels[].urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • 获取酒店 GET /hotels/{hotel}

    单个 Etstur 酒店:介绍、地址、坐标、全部照片、设施、住客评分和评论数、入住/退房时间,以及指定日期下提供的所有房型,含餐食类型、住宿总价(TRY)和取消条款。

    GET /hotels/{hotel} 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    hotelstring / path是hotel id (e.g. swr922thyt19) or URL slug (e.g. Mirage-Park-Resort), as returned by search_hotels
    checkinstring / query否arrival date YYYY-MM-DD (default: 30 days from today)
    checkoutstring / query否departure date YYYY-MM-DD (default: checkin + 3 nights)
    adultsinteger / query否number of adults in total
    childreninteger / query否number of children in total
    child_agesstring / query否comma separated ages of the children, e.g. "5,9"
    roomsinteger / query否number of rooms; adults and children are spread across them
    响应字段
    字段类型说明
    idstring
    slugstring
    namestring
    urlstring
    descriptionstring
    addressstring
    location_labelstring
    citystring
    districtstring
    areastring
    countrystring
    latitudenumber
    longitudenumber
    star_ratingnull
    chainnull
    scorenumber
    score_scaleinteger
    score_labelstring
    review_countinteger
    score_breakdownobject
    score_breakdown.Odanumber
    score_breakdown.Yüzmenumber
    score_breakdown.Hizmetnumber
    score_breakdown.Yemeknumber
    score_breakdown.Tavsiye Etmenumber
    score_breakdown.Fiyat Performansnumber
    checkin_timestring
    checkout_timestring
    important_infostring
    seasonobject
    season.titlestring
    season.fromstring
    season.tostring
    themesstring[]
    facilitiesobject[]
    facilities[].namestring
    facilities[].detailnull
    facilities[].paidboolean
    facilities[].groupnull
    facility_sectionsobject[]
    facility_sections[].titlestring
    facility_sections[].textstring
    photosstring[]
    licensestring
    checkinstring
    checkoutstring
    nightsinteger
    cheapest_total_pricenumber
    currencystring
    room_typesobject[]
    room_types[].room_idstring
    room_types[].room_namestring
    room_types[].room_size_m2integer
    room_types[].max_adultsinteger
    room_types[].board_typestring
    room_types[].board_codestring
    room_types[].board_labelstring
    room_types[].availableboolean
    room_types[].total_pricenumber
    room_types[].price_before_discountnumber
    room_types[].discount_percentinteger
    room_types[].currencystring
    room_types[].nightsinteger
    room_types[].taxes_includedboolean
    room_types[].free_cancellationboolean
    room_types[].cancellationstring
    room_types[].cancellation_termsstring[]
    room_types[].cancellation_feesobject[]
    room_types[].cancellation_fees[].fromstring
    room_types[].cancellation_fees[].tostring
    room_types[].cancellation_fees[].feenumber
    room_types[].cancellation_fees[].currencystring
    room_types[].pay_at_hotel_onlyboolean
    room_types[].rooms_leftinteger
    room_types[].room_photosstring[]
    fetched_atstring
    ageinteger
  • 搜索酒店 V2 GET /hotels-v2

    按目的地或地图区域及入住日期查询 Etstur 上的酒店,每页 20 条,返回完整的行数据:每家酒店都会标明在该入住期间是否可预订,可预订时还会给出整个住宿期间的最低总价(TRY)。

    GET /hotels-v2 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    destinationstring / query否city, district or region text, e.g. Antalya, Bodrum, Kapadokya (ignored when a map area is given)
    checkinstring / query否arrival date YYYY-MM-DD (default: 30 days from today)
    checkoutstring / query否departure date YYYY-MM-DD (default: checkin + 3 nights)
    adultsinteger / query否number of adults in total
    childreninteger / query否number of children in total
    child_agesstring / query否comma separated ages of the children, e.g. "5,9"
    roomsinteger / query否number of rooms; adults and children are spread across them
    pageinteger / query否page number, 1-based
    northstring / query否bounding box north latitude (with south, east, west: overrides destination and lat/lng)
    southstring / query否bounding box south latitude
    eaststring / query否bounding box east longitude
    weststring / query否bounding box west longitude
    latstring / query否centre latitude of a circular area (with lng and radius_km: overrides destination)
    lngstring / query否centre longitude of a circular area
    radius_kmnumber / query否radius of the circular area in km
    响应字段
    字段类型说明
    destinationstring
    destination_slugstring
    areanull
    checkinstring
    checkoutstring
    nightsinteger
    adultsinteger
    childreninteger
    roomsinteger
    pageinteger
    totalinteger
    has_moreboolean
    hotelsobject[]
    hotels[].idstring
    hotels[].slugstring
    hotels[].namestring
    hotels[].latitudenumber
    hotels[].longitudenumber
    hotels[].citystring
    hotels[].districtstring
    hotels[].regionstring
    hotels[].countrystring
    hotels[].location_labelstring
    hotels[].property_typestring
    hotels[].chainnull
    hotels[].star_ratingnull
    hotels[].scorenumber
    hotels[].score_scaleinteger
    hotels[].score_labelstring
    hotels[].review_countinteger
    hotels[].board_typestring
    hotels[].board_codestring
    hotels[].board_labelstring
    hotels[].room_namestring
    hotels[].availableboolean
    hotels[].total_pricenull
    hotels[].price_before_discountnull
    hotels[].discount_percentnull
    hotels[].currencynull
    hotels[].nightsinteger
    hotels[].taxes_includednull
    hotels[].free_cancellationboolean
    hotels[].pay_at_hotelboolean
    hotels[].tagsstring[]
    hotels[].photosstring[]
    hotels[].urlstring
    hotels[].unavailable_reasonstring
    hotels[].min_nightsinteger
    hotels[].property_type_labelstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger

将 etstur.com 数据导出为 CSV

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

列表CSV 列
搜索酒店GET /hotelsid, 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-v2id, 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
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 修改页面时,maviapi 会让 etstur.com API 保持可用,您继续调用同样的端点,并得到本页文档所述结构的 JSON。它当前的运行状况见状态页,变更记录见它的更新日志。

更新会破坏我的 etstur.com API 集成吗?

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

  • Tripadvisor API

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

  • Songkick 演唱会 API

    从 Songkick 获取任意城市在指定日期范围内即将举行的演唱会和音乐节,包含场馆、演出者、票价和购票链接。

  • Google Maps API

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