Skip to content

最后更新

更新日志

Yemeksepeti API

正常只读

查找 Yemeksepeti(Delivery Hero 旗下的土耳其外卖平台)上的餐厅,浏览菜单和价格。 来源: www.yemeksepeti.com.

基础 URL
https://api.maviapi.com/v1/sites/yemeksepeti
3
端点
1 h ago
最近验证
100%
可用率 / 7 天
778ms
p50 延迟
GET/restaurants5 credits per call

餐厅列表

向指定位置配送的前 60 家餐厅(按所选排序方式),包含评分、菜系、地址、坐标、距离、起送价、配送费和配送时间、可用状态标记及图片;另外返回总数、已应用的菜系筛选条件和排序方式,以及该位置可选的菜系列表 available_cuisines,由 {id, name, count} 对象组成(count 为该位置该菜系的餐厅数)。

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

city to deliver to (centre of the city); ignored when lat and lng are given.

stringOptionalin query

latitude of the delivery point (overrides city, needs lng).

stringOptionalin query

longitude of the delivery point (overrides city, needs lat).

stringOptionalin query

cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza' (see the id / name of available_cuisines).

stringOptionalin query

'' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first).

stringOptionalin 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.

restaurantsobject[]25 fields
codestringe.g."awhi"
idintegere.g.125626
namestringe.g."Eyüp Sultan Sofrası"
ratingnumbere.g.4.5
review_countintegere.g.9621
cuisinesstring[]
primary_cuisinestringe.g."Kebap & Türk Mutfağı"
budgetintegere.g.2
addressstringe.g."İmrahor İlyasbey Cd. No:68, Yedikule mah"
citystringe.g."Istanbul"
latitudenumbere.g.40.9969589
longitudenumbere.g.28.928087
distance_kmnumbere.g.4.403
minimum_order_amountintegere.g.490
delivery_feeintegere.g.0
delivery_time_minutesnull
currencystringe.g."TRY"
is_delivery_availablebooleane.g.true
is_pickup_availablebooleane.g.false
is_openbooleane.g.true
has_online_paymentbooleane.g.false
has_discountbooleane.g.false
logonull
hero_imagestringe.g."https://images.deliveryhero.io/image/fd-tr/LH/awhi-listing.jpg"
urlstringe.g."https://www.yemeksepeti.com/restaurant/awhi/eyup-sultan-sofrasi-awhi"
totalintegere.g.60
countintegere.g.60
locationobject3 fields
latitudenumbere.g.41.0082
longitudenumbere.g.28.9784
citystringe.g."istanbul"
cuisine_filternull
sortnull
available_cuisinesobject[]3 fields
idintegere.g.1057
namestringe.g."Balık ve Deniz Ürünleri"
countintegere.g.12
fetched_atstringe.g."2026-11-27T17:43:41.431Z"
ageintegere.g.0
Try itLive
GET
https://api.maviapi.com/v1/sites/yemeksepeti/restaurants?city=istanbul
Request
curl "https://api.maviapi.com/v1/sites/yemeksepeti/restaurants?city=istanbul" \
-H "Authorization: Bearer $MAVI_KEY"
Example1.3 KB
{
  "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.

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

Or 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 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/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 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    citystring / query否city to deliver to (centre of the city); ignored when lat and lng are given. 可选值: istanbul, ankara, izmir, bursa, antalya, adana, gaziantep, konya.
    latstring / query否latitude of the delivery point (overrides city, needs lng).
    lngstring / query否longitude of the delivery point (overrides city, needs lat).
    cuisinestring / query否cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza' (see the id / name of available_cuisines).
    sortstring / query否'' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first). 可选值: , rating, delivery_time, distance, minimum_order_amount.
    fieldsstring / 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.
    响应字段
    字段类型说明
    restaurantsobject[]
    restaurants[].codestring
    restaurants[].idinteger
    restaurants[].namestring
    restaurants[].ratingnumber
    restaurants[].review_countinteger
    restaurants[].cuisinesstring[]
    restaurants[].primary_cuisinestring
    restaurants[].budgetinteger
    restaurants[].addressstring
    restaurants[].citystring
    restaurants[].latitudenumber
    restaurants[].longitudenumber
    restaurants[].distance_kmnumber
    restaurants[].minimum_order_amountinteger
    restaurants[].delivery_feeinteger
    restaurants[].delivery_time_minutesnull
    restaurants[].currencystring
    restaurants[].is_delivery_availableboolean
    restaurants[].is_pickup_availableboolean
    restaurants[].is_openboolean
    restaurants[].has_online_paymentboolean
    restaurants[].has_discountboolean
    restaurants[].logonull
    restaurants[].hero_imagestring
    restaurants[].urlstring
    totalinteger
    countinteger
    locationobject
    location.latitudenumber
    location.longitudenumber
    location.citystring
    cuisine_filternull
    sortnull
    available_cuisinesobject[]
    available_cuisines[].idinteger
    available_cuisines[].namestring
    available_cuisines[].countinteger
    fetched_atstring
    ageinteger
  • 探索 GET /explore

    向指定位置配送的前 60 家餐厅(按所选排序方式),行数据与 /restaurants 相同,可选为前几条结果附加完整菜单(含价格的类别和商品),放在 `menu` 字段中;同时返回总数、位置、已应用的菜系筛选条件和排序方式,以及附加了菜单的行数(menu_enriched)。

    GET /explore 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    citystring / query否city to deliver to (centre of the city); ignored when lat and lng are given. 可选值: istanbul, ankara, izmir, bursa, antalya, adana, gaziantep, konya.
    latstring / query否latitude of the delivery point (overrides city, needs lng).
    lngstring / query否longitude of the delivery point (overrides city, needs lat).
    cuisinestring / query否cuisine filter, a numeric cuisine id or a name such as 'Burger' or 'Pizza'.
    sortstring / query否'' (site default), 'rating' (highest first), 'delivery_time', 'distance' (nearest first) or 'minimum_order_amount' (lowest first). 可选值: , rating, delivery_time, distance, minimum_order_amount.
    menuboolean / query否true to attach the full menu to the top results.
    menuCountinteger / query否how many of the top results get their menu attached (1 to 3).
    响应字段
    字段类型说明
    restaurantsobject[]
    restaurants[].codestring
    restaurants[].idinteger
    restaurants[].namestring
    restaurants[].ratingnumber
    restaurants[].review_countinteger
    restaurants[].cuisinesstring[]
    restaurants[].primary_cuisinestring
    restaurants[].budgetinteger
    restaurants[].addressstring
    restaurants[].citystring
    restaurants[].latitudenumber
    restaurants[].longitudenumber
    restaurants[].distance_kmnumber
    restaurants[].minimum_order_amountinteger
    restaurants[].delivery_feeinteger
    restaurants[].delivery_time_minutesnull
    restaurants[].currencystring
    restaurants[].is_delivery_availableboolean
    restaurants[].is_pickup_availableboolean
    restaurants[].is_openboolean
    restaurants[].has_online_paymentboolean
    restaurants[].has_discountboolean
    restaurants[].logonull
    restaurants[].hero_imagestring
    restaurants[].urlstring
    totalinteger
    countinteger
    locationobject
    location.latitudenumber
    location.longitudenumber
    location.citystring
    cuisine_filternull
    sortnull
    menu_enrichedinteger
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger
  • 餐厅 GET /restaurant/{code}

    单个餐厅的完整外卖菜单,包括餐厅名称、菜单名称、每日营业时间(伊斯坦布尔当地时间),以及所有类别及其下商品:id、名称、描述、图片、价格(TRY)、折扣价(无折扣时为 null)和售罄标记。

    GET /restaurant/{code} 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    codestring / path是restaurant vendor code, the `code` field from /restaurants (e.g. 'frtm').
    响应字段
    字段类型说明
    codestring
    namestring
    menu_namestring
    hoursobject
    hours.startstring
    hours.endstring
    currencystring
    category_countinteger
    product_countinteger
    categoriesobject[]
    categories[].idstring
    categories[].namestring
    categories[].descriptionnull
    categories[].product_countinteger
    categories[].productsobject[]
    categories[].products[].idstring
    categories[].products[].namestring
    categories[].products[].descriptionstring
    categories[].products[].imagestring
    categories[].products[].priceinteger
    categories[].products[].discounted_pricenull
    categories[].products[].is_sold_outboolean
    paginationobject
    pagination.countinteger
    pagination.has_moreboolean
    pagination.next_cursornull
    fetched_atstring
    ageinteger

将 Yemeksepeti 数据导出为 CSV

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

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

更新会破坏我的 Yemeksepeti API 集成吗?

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

  • Tripadvisor API

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

  • Google Maps API

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

  • Kiwi.com API

    搜索并比较 Kiwi.com 上的航班:返回带实时价格、航空公司、航线和起降时间的行程,还可查询地点和航线。