Skip to content

最后更新

更新日志

tatilsepeti.com API

部分异常只读

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

基础 URL
https://api.maviapi.com/v1/sites/tatilsepeti
2
端点
1 h ago
最近验证
4557ms
p50 延迟
GET/search_hotels5 credits per call

搜索酒店

按目的地文本或地图区域查找指定入住期间的酒店,每页 30 条。

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

city, region, district or hotel name, in Türkiye or abroad (e.g. Kemer, Bodrum, Paris, Batum, Limak Limra); a hotel name returns that one hotel

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

adults per room (1-6)

stringOptionalin query

ages of the children in each room, comma separated (e.g. "5,9"); empty for none

integerOptionalin query

number of rooms with this occupancy (1-4); hotels in Türkiye are sold one room per booking, so more than 1 room is for abroad destinations

integerOptionalin query

result page, 1-based

stringOptionalin query

map area north edge latitude; with south, east and west it replaces destination (Türkiye and North Cyprus hotels)

stringOptionalin query

map area south edge latitude

stringOptionalin query

map area east edge longitude

stringOptionalin query

map area west edge longitude

stringOptionalin query

centre latitude of a circular map area; with lng it replaces destination (Türkiye and North Cyprus hotels)

stringOptionalin query

centre longitude of a circular map area

numberOptionalin query

radius of the circular map area in km (used with lat/lng)

stringOptionalin query

only this kind of property, for destinations in Türkiye (otel, hotel, apart, pansiyon, butikotel = boutique hotel, ozelbelgeli = specially licensed, tatilkoyu = holiday village, kirsalturizmtesisi = rural tourism); the rows then carry it as property_type. Empty for all kinds

destinationstringe.g."Kemer, Antalya"
destination_typestringe.g."region"
checkinstringe.g."2026-12-28"
checkoutstringe.g."2026-12-31"
nightsintegere.g.3
adultsintegere.g.2
children_agesstring[]
roomsintegere.g.1
pageintegere.g.1
page_sizeintegere.g.30
totalintegere.g.90
hotelsobject[]26 fields
idintegere.g.24
namestringe.g."Limak Limra Hotel Resort"
slugstringe.g."limak-limra-hotel-resort"
domesticbooleane.g.true
latitudenumbere.g.36.567712
longitudenumbere.g.30.577672
property_typenull
starsnull
review_scorenumbere.g.8.9
review_scaleintegere.g.10
review_countintegere.g.54
board_typestringe.g."Ultra Herşey Dahil"
total_pricenumbere.g.32970
currencystringe.g."TRY"
price_per_nightnumbere.g.10990
old_pricenumbere.g.42000
discount_ratenumbere.g.21.5
free_cancellationnull
sold_outbooleane.g.false
availability_notenull
campaignstringe.g."Son Dakika Fırsatı %21 İndirim + 9 Taksit"
regionstringe.g."Antalya - Kemer | Kiriş"
themestringe.g."Çocuklu Aile"
featuresstring[]
photosstring[]
urlstringe.g."https://www.tatilsepeti.com/limak-limra-hotel-resort?ara=oda:2;tarih:28.12.2026,31.12.2026"
paginationobject3 fields
countintegere.g.30
has_morebooleane.g.true
next_cursorstringe.g."WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"
fetched_atstringe.g."2026-11-28T15:36:07.194Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/tatilsepeti/search_hotels?destination=Kemer&adults=2&rooms=1&page=1&radius_km=10
Request
curl "https://api.maviapi.com/v1/sites/tatilsepeti/search_hotels?destination=Kemer&adults=2&rooms=1&page=1&radius_km=10" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.4 KB
{
  "destination": "Kemer, Antalya",
  "destination_type": "region",
  "checkin": "2026-12-28",
  "checkout": "2026-12-31",
  "nights": 3,
  "adults": 2,
  "children_ages": [
    null
  ],
  "rooms": 1,
  "page": 1,
  "page_size": 30,
  "total": 90,
  "hotels": [
    {
      "id": 24,
      "name": "Limak Limra Hotel Resort",
      "slug": "limak-limra-hotel-resort",
      "domestic": true,
      "latitude": 36.567712,
      "longitude": 30.577672,
      "property_type": null,
      "stars": null,
      "review_score": 8.9,
      "review_scale": 10,
      "review_count": 54,
      "board_type": "Ultra Herşey Dahil",
      "total_price": 32970,
      "currency": "TRY",
      "price_per_night": 10990,
      "old_price": 42000,
      "discount_rate": 21.5,
      "free_cancellation": null,
      "sold_out": false,
      "availability_note": null,
      "campaign": "Son Dakika Fırsatı %21 İndirim + 9 Taksit",
      "region": "Antalya - Kemer | Kiriş",
      "theme": "Çocuklu Aile",
      "features": [
        "Aquapark"
      ],
      "photos": [
        "https://cdn.tatilsepeti.com/Files/Images/Tesis/00024/450x300/tsr00024638874981943083423.jpg"
      ],
      "url": "https://www.tatilsepeti.com/limak-limra-hotel-resort?ara=oda:2;tarih:28.12.2026,31.12.2026"
    }
  ],
  "pagination": {
    "count": 30,
    "has_more": true,
    "next_cursor": "WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"
  },
  "fetched_at": "2026-11-28T15:36:07.194Z",
  "age": 0
}

Get all the data, no code

Collect every page of GET /search_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 tatilsepeti.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 tatilsepeti.com API as its own tool:

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

Import tatilsepeti.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/tatilsepeti/openapi.json
  • Postman
    https://api.maviapi.com/v1/apis/tatilsepeti/postman.json

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

使用 tatilsepeti.com API 进行开发

选择一个端点开始

  • 搜索酒店 GET /search_hotels

    按目的地文本或地图区域查找指定入住期间的酒店,每页 30 条。

    GET /search_hotels 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    destinationstring / query否city, region, district or hotel name, in Türkiye or abroad (e.g. Kemer, Bodrum, Paris, Batum, Limak Limra); a hotel name returns that one hotel
    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否adults per room (1-6)
    children_agesstring / query否ages of the children in each room, comma separated (e.g. "5,9"); empty for none
    roomsinteger / query否number of rooms with this occupancy (1-4); hotels in Türkiye are sold one room per booking, so more than 1 room is for abroad destinations
    pageinteger / query否result page, 1-based
    northstring / query否map area north edge latitude; with south, east and west it replaces destination (Türkiye and North Cyprus hotels)
    southstring / query否map area south edge latitude
    eaststring / query否map area east edge longitude
    weststring / query否map area west edge longitude
    latstring / query否centre latitude of a circular map area; with lng it replaces destination (Türkiye and North Cyprus hotels)
    lngstring / query否centre longitude of a circular map area
    radius_kmnumber / query否radius of the circular map area in km (used with lat/lng)
    property_typestring / query否only this kind of property, for destinations in Türkiye (otel, hotel, apart, pansiyon, butikotel = boutique hotel, ozelbelgeli = specially licensed, tatilkoyu = holiday village, kirsalturizmtesisi = rural tourism); the rows then carry it as property_type. Empty for all kinds 可选值: , otel, hotel, apart, pansiyon, butikotel, ozelbelgeli, tatilkoyu, kirsalturizmtesisi.
    响应字段
    字段类型说明
    destinationstring
    destination_typestring
    checkinstring
    checkoutstring
    nightsinteger
    adultsinteger
    children_agesstring[]
    roomsinteger
    pageinteger
    page_sizeinteger
    totalinteger
    hotelsobject[]
    hotels[].idinteger
    hotels[].namestring
    hotels[].slugstring
    hotels[].domesticboolean
    hotels[].latitudenumber
    hotels[].longitudenumber
    hotels[].property_typenull
    hotels[].starsnull
    hotels[].review_scorenumber
    hotels[].review_scaleinteger
    hotels[].review_countinteger
    hotels[].board_typestring
    hotels[].total_pricenumber
    hotels[].currencystring
    hotels[].price_per_nightnumber
    hotels[].old_pricenumber
    hotels[].discount_ratenumber
    hotels[].free_cancellationnull
    hotels[].sold_outboolean
    hotels[].availability_notenull
    hotels[].campaignstring
    hotels[].regionstring
    hotels[].themestring
    hotels[].featuresstring[]
    hotels[].photosstring[]
    hotels[].urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursorstring
    fetched_atstring
    ageinteger
  • 酒店详情 GET /hotel_detail

    返回单个酒店及其房型和餐食方案,价格按指定入住期间计算。

    GET /hotel_detail 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    hotelstring / query否hotel id (e.g. 24 or 345341) or slug from the hotel's URL (e.g. limak-limra-hotel-resort, sheraton-batumi-gurcistan-yd-345341)
    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否adults per room (1-6)
    children_agesstring / query否ages of the children in each room, comma separated (e.g. "5,9"); empty for none
    roomsinteger / query否number of rooms with this occupancy (1-4); hotels in Türkiye are sold one room per booking, so more than 1 room is for abroad hotels
    响应字段
    字段类型说明
    idinteger
    namestring
    slugstring
    domesticboolean
    latitudenumber
    longitudenumber
    property_typenull
    starsnull
    review_scorenumber
    review_scalenumber
    review_sourcestring
    review_countinteger
    regionstring
    addressstring
    descriptionstring
    checkin_timestring
    checkout_timestring
    board_typesstring[]
    board_typestring
    total_pricenumber
    currencystring
    price_per_nightnumber
    old_pricenumber
    free_cancellationboolean
    sold_outboolean
    amenitiesstring[]
    factsobject
    facts.Hava Alanına Uzaklığıstring
    facts.Kurulu Alanstring
    facts.Şehir Merkezine Uzaklıkstring
    facts.Plajstring
    facts.Denize Uzaklığıstring
    facts.İskelestring
    facts.Sahil Uzunluğustring
    facts.Kum Özelliğistring
    facts.Otel Yapım Yılıstring
    facts.Otel Kapasitesistring
    facts.Otel Yenileme Tarihistring
    facts.Otelin Havalimanına Uzaklığıstring
    photosstring[]
    checkinstring
    checkoutstring
    nightsinteger
    adultsinteger
    children_agesstring[]
    roomsinteger
    rooms_offeredobject[]
    rooms_offered[].roomstring
    rooms_offered[].board_typestring
    rooms_offered[].total_pricenumber
    rooms_offered[].currencystring
    rooms_offered[].price_per_nightnumber
    rooms_offered[].old_pricenumber
    rooms_offered[].discountstring
    rooms_offered[].availableboolean
    rooms_offered[].free_cancellationboolean
    rooms_offered[].free_cancellation_notestring
    rooms_offered[].cancellation_policynull
    rooms_offered[].capacitystring
    rooms_offered[].room_featuresstring[]
    rooms_offered[].offersstring[]
    rooms_offered[].photostring
    urlstring
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger

将 tatilsepeti.com 数据导出为 CSV

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

列表CSV 列
搜索酒店GET /search_hotelsid, name, slug, domestic, latitude, longitude, property_type, stars, review_score, review_scale, review_count, board_type, total_price, currency, price_per_night, old_price, discount_rate, free_cancellation, sold_out, availability_note, campaign, region, theme, features, photos, url
酒店详情GET /hotel_detailroom, board_type, total_price, currency, price_per_night, old_price, discount, available, free_cancellation, free_cancellation_note, cancellation_policy, capacity, room_features, offers, photo

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

tatilsepeti.com API 常见问题

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

tatilsepeti.com 有官方 API 吗?

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

tatilsepeti.com API 可以获取哪些数据?

tatilsepeti.com API 有 2 个端点。每个端点都返回 JSON,参数和字段见上方的文档:

  • GET /search_hotels: 按目的地文本或地图区域查找指定入住期间的酒店,每页 30 条。
  • GET /hotel_detail: 返回单个酒店及其房型和餐食方案,价格按指定入住期间计算。

tatilsepeti.com API 的价格是多少?

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

如何调用 tatilsepeti.com API?

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

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

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

以 JSON 获取 tatilsepeti.com 数据有哪些方式?

以 JSON 获取 tatilsepeti.com 数据的每种方式适合不同的需求:

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

tatilsepeti.com 改版后会怎样?

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

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

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

  • Tripadvisor API

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

  • Songkick 演唱会 API

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

  • Google Maps API

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