最后更新
更新日志/search_hotels5 credits per call搜索酒店
按目的地文本或地图区域查找指定入住期间的酒店,每页 30 条。
Authorization: Bearer <key> on every request.Parameters
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
arrival date YYYY-MM-DD (default: 30 days from today)
departure date YYYY-MM-DD (default: checkin + 3 nights)
adults per room (1-6)
ages of the children in each room, comma separated (e.g. "5,9"); empty for none
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
result page, 1-based
map area north edge latitude; with south, east and west it replaces destination (Türkiye and North Cyprus hotels)
map area south edge latitude
map area east edge longitude
map area west edge longitude
centre latitude of a circular map area; with lng it replaces destination (Türkiye and North Cyprus hotels)
centre longitude of a circular map area
radius of the circular map area in km (used with lat/lng)
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
Response fields
destinatione.g."Kemer, Antalya"destination_typee.g."region"checkine.g."2026-12-28"checkoute.g."2026-12-31"nightse.g.3adultse.g.2children_agesroomse.g.1pagee.g.1page_sizee.g.30totale.g.90hotels
ide.g.24namee.g."Limak Limra Hotel Resort"sluge.g."limak-limra-hotel-resort"domestice.g.truelatitudee.g.36.567712longitudee.g.30.577672property_typestarsreview_scoree.g.8.9review_scalee.g.10review_counte.g.54board_typee.g."Ultra Herşey Dahil"total_pricee.g.32970currencye.g."TRY"price_per_nighte.g.10990old_pricee.g.42000discount_ratee.g.21.5free_cancellationsold_oute.g.falseavailability_notecampaigne.g."Son Dakika Fırsatı %21 İndirim + 9 Taksit"regione.g."Antalya - Kemer | Kiriş"themee.g."Çocuklu Aile"featuresphotosurle.g."https://www.tatilsepeti.com/limak-limra-hotel-resort?ara=oda:2;tarih:28.12.2026,31.12.2026"pagination
counte.g.30has_moree.g.truenext_cursore.g."WzEsIjBjNmYwZjFlIixudWxsLDAseyJwYWdlIjoyfV0"fetched_ate.g."2026-11-28T15:36:07.194Z"agee.g.0curl "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"
{
"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.
https://mcp.maviapi.com/mcpOr 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 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/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 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 destination string / 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 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 否 adults per room (1-6) children_ages string / query 否 ages of the children in each room, comma separated (e.g. "5,9"); empty for none rooms integer / 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 page integer / query 否 result page, 1-based north string / query 否 map area north edge latitude; with south, east and west it replaces destination (Türkiye and North Cyprus hotels) south string / query 否 map area south edge latitude east string / query 否 map area east edge longitude west string / query 否 map area west edge longitude lat string / query 否 centre latitude of a circular map area; with lng it replaces destination (Türkiye and North Cyprus hotels) lng string / query 否 centre longitude of a circular map area radius_km number / query 否 radius of the circular map area in km (used with lat/lng) property_type string / 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. 响应字段 字段 类型 说明 destination string destination_type string checkin string checkout string nights integer adults integer children_ages string[] rooms integer page integer page_size integer total integer hotels object[] hotels[].id integer hotels[].name string hotels[].slug string hotels[].domestic boolean hotels[].latitude number hotels[].longitude number hotels[].property_type null hotels[].stars null hotels[].review_score number hotels[].review_scale integer hotels[].review_count integer hotels[].board_type string hotels[].total_price number hotels[].currency string hotels[].price_per_night number hotels[].old_price number hotels[].discount_rate number hotels[].free_cancellation null hotels[].sold_out boolean hotels[].availability_note null hotels[].campaign string hotels[].region string hotels[].theme string hotels[].features 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 /hotel_detail返回单个酒店及其房型和餐食方案,价格按指定入住期间计算。
GET /hotel_detail 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 hotel string / 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) 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 否 adults per room (1-6) children_ages string / query 否 ages of the children in each room, comma separated (e.g. "5,9"); empty for none rooms integer / 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 响应字段 字段 类型 说明 id integer name string slug string domestic boolean latitude number longitude number property_type null stars null review_score number review_scale number review_source string review_count integer region string address string description string checkin_time string checkout_time string board_types string[] board_type string total_price number currency string price_per_night number old_price number free_cancellation boolean sold_out boolean amenities string[] facts object facts.Hava Alanına Uzaklığı string facts.Kurulu Alan string facts.Şehir Merkezine Uzaklık string facts.Plaj string facts.Denize Uzaklığı string facts.İskele string facts.Sahil Uzunluğu string facts.Kum Özelliği string facts.Otel Yapım Yılı string facts.Otel Kapasitesi string facts.Otel Yenileme Tarihi string facts.Otelin Havalimanına Uzaklığı string photos string[] checkin string checkout string nights integer adults integer children_ages string[] rooms integer rooms_offered object[] rooms_offered[].room string rooms_offered[].board_type string rooms_offered[].total_price number rooms_offered[].currency string rooms_offered[].price_per_night number rooms_offered[].old_price number rooms_offered[].discount string rooms_offered[].available boolean rooms_offered[].free_cancellation boolean rooms_offered[].free_cancellation_note string rooms_offered[].cancellation_policy null rooms_offered[].capacity string rooms_offered[].room_features string[] rooms_offered[].offers string[] rooms_offered[].photo string url string pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor null fetched_at string age integer
将 tatilsepeti.com 数据导出为 CSV
下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。
| 列表 | CSV 列 |
|---|---|
搜索酒店GET /search_hotels | id, 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_detail | room, 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 '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 API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Songkick 演唱会 API
从 Songkick 获取任意城市在指定日期范围内即将举行的演唱会和音乐节,包含场馆、演出者、票价和购票链接。
- Google Maps API
来自 maps.google.com 的结构化数据。