最后更新
更新日志/restaurants5 credits per call餐厅列表
向指定位置配送的前 60 家餐厅(按所选排序方式),包含评分、菜系、地址、坐标、距离、起送价、配送费和配送时间、可用状态标记及图片;另外返回总数、已应用的菜系筛选条件和排序方式,以及该位置可选的菜系列表 available_cuisines,由 {id, name, count} 对象组成(count 为该位置该菜系的餐厅数)。
Authorization: Bearer <key> on every request.Parameters
city to deliver to (centre of the city); ignored when lat and lng are given.
latitude of the delivery point (overrides city, needs lng).
longitude of the delivery point (overrides city, needs lat).
cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza' (see the id / name of available_cuisines).
'' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first).
comma-separated extra fields of the site's vendor record to add to each row (e.g. 'chain,tag'); every row always carries all its standard fields, so names already present (e.g. 'code,id') change nothing.
Response fields
restaurants
codee.g."awhi"ide.g.125626namee.g."Eyüp Sultan Sofrası"ratinge.g.4.5review_counte.g.9621cuisinesprimary_cuisinee.g."Kebap & Türk Mutfağı"budgete.g.2addresse.g."İmrahor İlyasbey Cd. No:68, Yedikule mah"citye.g."Istanbul"latitudee.g.40.9969589longitudee.g.28.928087distance_kme.g.4.403minimum_order_amounte.g.490delivery_feee.g.0delivery_time_minutescurrencye.g."TRY"is_delivery_availablee.g.trueis_pickup_availablee.g.falseis_opene.g.truehas_online_paymente.g.falsehas_discounte.g.falselogohero_imagee.g."https://images.deliveryhero.io/image/fd-tr/LH/awhi-listing.jpg"urle.g."https://www.yemeksepeti.com/restaurant/awhi/eyup-sultan-sofrasi-awhi"totale.g.60counte.g.60location
latitudee.g.41.0082longitudee.g.28.9784citye.g."istanbul"cuisine_filtersortavailable_cuisines
ide.g.1057namee.g."Balık ve Deniz Ürünleri"counte.g.12fetched_ate.g."2026-11-27T17:43:41.431Z"agee.g.0curl "https://api.maviapi.com/v1/sites/yemeksepeti/restaurants?city=istanbul" \-H "Authorization: Bearer $MAVI_KEY"
{
"restaurants": [
{
"code": "awhi",
"id": 125626,
"name": "Eyüp Sultan Sofrası",
"rating": 4.5,
"review_count": 9621,
"cuisines": [
"Pide & Lahmacun"
],
"primary_cuisine": "Kebap & Türk Mutfağı",
"budget": 2,
"address": "İmrahor İlyasbey Cd. No:68, Yedikule mah",
"city": "Istanbul",
"latitude": 40.9969589,
"longitude": 28.928087,
"distance_km": 4.403,
"minimum_order_amount": 490,
"delivery_fee": 0,
"delivery_time_minutes": null,
"currency": "TRY",
"is_delivery_available": true,
"is_pickup_available": false,
"is_open": true,
"has_online_payment": false,
"has_discount": false,
"logo": null,
"hero_image": "https://images.deliveryhero.io/image/fd-tr/LH/awhi-listing.jpg",
"url": "https://www.yemeksepeti.com/restaurant/awhi/eyup-sultan-sofrasi-awhi"
}
],
"total": 60,
"count": 60,
"location": {
"latitude": 41.0082,
"longitude": 28.9784,
"city": "istanbul"
},
"cuisine_filter": null,
"sort": null,
"available_cuisines": [
{
"id": 1057,
"name": "Balık ve Deniz Ürünleri",
"count": 12
}
],
"fetched_at": "2026-11-27T17:43:41.431Z",
"age": 0
}Get all the data, no code
Collect every page of GET /restaurants 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 Yemeksepeti 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 Yemeksepeti API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=yemeksepeti -- npx -y '@maviapi/mcp'Import Yemeksepeti 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/yemeksepeti/openapi.json - Postman
https://api.maviapi.com/v1/apis/yemeksepeti/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
使用 Yemeksepeti API 进行开发
Yemeksepeti 是土耳其的一个外卖平台。/restaurants 针对一个城市或任意坐标回答“这里能送什么?”:评分、评价数、菜系、起送金额、配送费、距离,以及餐厅当前是否营业。/restaurant 返回一家餐厅的菜单,包含菜品和以 TRY 计的价格;/explore 在一次调用中把两者合并。
可以用它做什么
- 菜单价格跟踪
- 每周获取同一批餐厅的菜单,比较菜品价格,观察食品价格的涨幅。
- 本地竞争对手调研
- 按菜系列出某个坐标周围的餐厅,再比较评分、起送金额和配送费。
- 晚餐助手
- 让智能体找出某个位置附近正在营业的披萨店,并读取评分最高的几家的菜单。
调用前须知
- 内置城市有 Istanbul、Ankara、Izmir、Bursa、Antalya、Adana、Gaziantep 和 Konya。其他地方请传入 lat 和 lng。
- 响应中的 available_cuisines 列出该位置的菜系,以及每种菜系的餐厅数量。
- /explore 最多为 3 家餐厅附带菜单。需要更多时,用每家的代码调用 /restaurant。
- 此 API 读取公开的餐厅列表。它不会下单。
选择一个端点开始
- 餐厅列表
GET /restaurants向指定位置配送的前 60 家餐厅(按所选排序方式),包含评分、菜系、地址、坐标、距离、起送价、配送费和配送时间、可用状态标记及图片;另外返回总数、已应用的菜系筛选条件和排序方式,以及该位置可选的菜系列表 available_cuisines,由 {id, name, count} 对象组成(count 为该位置该菜系的餐厅数)。
GET /restaurants 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 city string / query 否 city to deliver to (centre of the city); ignored when lat and lng are given. 可选值: istanbul, ankara, izmir, bursa, antalya, adana, gaziantep, konya. lat string / query 否 latitude of the delivery point (overrides city, needs lng). lng string / query 否 longitude of the delivery point (overrides city, needs lat). cuisine string / query 否 cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza' (see the id / name of available_cuisines). sort string / query 否 '' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first). 可选值: , rating, delivery_time, distance, minimum_order_amount. fields string / query 否 comma-separated extra fields of the site's vendor record to add to each row (e.g. 'chain,tag'); every row always carries all its standard fields, so names already present (e.g. 'code,id') change nothing. 响应字段 字段 类型 说明 restaurants object[] restaurants[].code string restaurants[].id integer restaurants[].name string restaurants[].rating number restaurants[].review_count integer restaurants[].cuisines string[] restaurants[].primary_cuisine string restaurants[].budget integer restaurants[].address string restaurants[].city string restaurants[].latitude number restaurants[].longitude number restaurants[].distance_km number restaurants[].minimum_order_amount integer restaurants[].delivery_fee integer restaurants[].delivery_time_minutes null restaurants[].currency string restaurants[].is_delivery_available boolean restaurants[].is_pickup_available boolean restaurants[].is_open boolean restaurants[].has_online_payment boolean restaurants[].has_discount boolean restaurants[].logo null restaurants[].hero_image string restaurants[].url string total integer count integer location object location.latitude number location.longitude number location.city string cuisine_filter null sort null available_cuisines object[] available_cuisines[].id integer available_cuisines[].name string available_cuisines[].count integer fetched_at string age integer - 探索
GET /explore向指定位置配送的前 60 家餐厅(按所选排序方式),行数据与 /restaurants 相同,可选为前几条结果附加完整菜单(含价格的类别和商品),放在 `menu` 字段中;同时返回总数、位置、已应用的菜系筛选条件和排序方式,以及附加了菜单的行数(menu_enriched)。
GET /explore 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 city string / query 否 city to deliver to (centre of the city); ignored when lat and lng are given. 可选值: istanbul, ankara, izmir, bursa, antalya, adana, gaziantep, konya. lat string / query 否 latitude of the delivery point (overrides city, needs lng). lng string / query 否 longitude of the delivery point (overrides city, needs lat). cuisine string / query 否 cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza'. sort string / query 否 '' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first). 可选值: , rating, delivery_time, distance, minimum_order_amount. menu boolean / query 否 true to attach the full menu to the top results. menuCount integer / query 否 how many of the top results get their menu attached (1 to 3). 响应字段 字段 类型 说明 restaurants object[] restaurants[].code string restaurants[].id integer restaurants[].name string restaurants[].rating number restaurants[].review_count integer restaurants[].cuisines string[] restaurants[].primary_cuisine string restaurants[].budget integer restaurants[].address string restaurants[].city string restaurants[].latitude number restaurants[].longitude number restaurants[].distance_km number restaurants[].minimum_order_amount integer restaurants[].delivery_fee integer restaurants[].delivery_time_minutes null restaurants[].currency string restaurants[].is_delivery_available boolean restaurants[].is_pickup_available boolean restaurants[].is_open boolean restaurants[].has_online_payment boolean restaurants[].has_discount boolean restaurants[].logo null restaurants[].hero_image string restaurants[].url string total integer count integer location object location.latitude number location.longitude number location.city string cuisine_filter null sort null menu_enriched integer pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor null fetched_at string age integer - 餐厅
GET /restaurant/{code}单个餐厅的完整外卖菜单,包括餐厅名称、菜单名称、每日营业时间(伊斯坦布尔当地时间),以及所有类别及其下商品:id、名称、描述、图片、价格(TRY)、折扣价(无折扣时为 null)和售罄标记。
GET /restaurant/{code} 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 code string / path 是 restaurant vendor code, the `code` field from /restaurants (e.g. 'frtm'). 响应字段 字段 类型 说明 code string name string menu_name string hours object hours.start string hours.end string currency string category_count integer product_count integer categories object[] categories[].id string categories[].name string categories[].description null categories[].product_count integer categories[].products object[] categories[].products[].id string categories[].products[].name string categories[].products[].description string categories[].products[].image string categories[].products[].price integer categories[].products[].discounted_price null categories[].products[].is_sold_out boolean pagination object pagination.count integer pagination.has_more boolean pagination.next_cursor null fetched_at string age integer
将 Yemeksepeti 数据导出为 CSV
下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。
| 列表 | CSV 列 |
|---|---|
探索GET /explore | code, id, name, rating, review_count, cuisines, primary_cuisine, budget, address, city, latitude, longitude, distance_km, minimum_order_amount, delivery_fee, delivery_time_minutes, currency, is_delivery_available, is_pickup_available, is_open, has_online_payment, has_discount, logo, hero_image, url |
餐厅GET /restaurant/{code} | id, name, description, product_count, products |
嵌套的值(列表或对象)以 JSON 写入同一个单元格。 数据集和导出如何工作
Yemeksepeti API 常见问题
能获取什么数据、费用多少、如何调用。
Yemeksepeti 有官方 API 吗?
有,Yemeksepeti 提供自己的 API:Yemeksepeti Partner API(核实日期:2026-11-25)。本页的 Yemeksepeti API 与它无关,是非官方 API:它是 maviapi 针对 yemeksepeti.com 上的公开数据提供的独立托管 API,并非由 Yemeksepeti 开发、认可或支持。
Yemeksepeti API 可以获取哪些数据?
Yemeksepeti API 有 3 个端点。每个端点都返回 JSON,参数和字段见上方的文档:
- GET
/restaurants: 向指定位置配送的前 60 家餐厅(按所选排序方式),包含评分、菜系、地址、坐标、距离、起送价、配送费和配送时间、可用状态标记及图片;另外返回总数、已应用的菜系筛选条件和排序方式,以及该位置可选的菜系列表 available_cuisines,由 {id, name, count} 对象组成(count… - GET
/explore: 向指定位置配送的前 60 家餐厅(按所选排序方式),行数据与 /restaurants 相同,可选为前几条结果附加完整菜单(含价格的类别和商品),放在 `menu` 字段中;同时返回总数、位置、已应用的菜系筛选条件和排序方式,以及附加了菜单的行数(menu_enriched)。 - GET
/restaurant/{code}: 单个餐厅的完整外卖菜单,包括餐厅名称、菜单名称、每日营业时间(伊斯坦布尔当地时间),以及所有类别及其下商品:id、名称、描述、图片、价格(TRY)、折扣价(无折扣时为 null)和售罄标记。
Yemeksepeti API 的价格是多少?
调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 5 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $0.98。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。
如何调用 Yemeksepeti API?
向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /restaurants:
curl 'https://api.maviapi.com/v1/sites/yemeksepeti/restaurants' \
-H "Authorization: Bearer $MAVI_KEY"在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。
以 JSON 获取 Yemeksepeti 数据有哪些方式?
以 JSON 获取 Yemeksepeti 数据的每种方式适合不同的需求:
- Yemeksepeti Partner API: 需要写入权限、账号数据或与 Yemeksepeti 签订协议时更合适。
- 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 yemeksepeti.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
- Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
- RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
- maviapi: 本页的 Yemeksepeti API:3 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。
yemeksepeti.com 改版后会怎样?
更新会破坏我的 Yemeksepeti API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Google Maps API
来自 maps.google.com 的结构化数据。
- Kiwi.com API
搜索并比较 Kiwi.com 上的航班:返回带实时价格、航空公司、航线和起降时间的行程,还可查询地点和航线。